260806_01_ENH: Agent Harness 연동 추가
This commit is contained in:
@@ -33,3 +33,11 @@ npm run dev
|
||||
npm run typecheck
|
||||
npm run build
|
||||
```
|
||||
|
||||
## Agent Harness
|
||||
|
||||
- 프로젝트 ID: `__AGENT_PROJECT_ID__`
|
||||
- 프로젝트 유형: `__AGENT_PROJECT_TYPE__`
|
||||
- 권위 원본: `.agent/profile.yml`, `.agent/project.md`
|
||||
|
||||
`AGENTS.md`와 `CLAUDE.md`는 중앙 Agent Harness가 합성합니다. 두 파일을 직접 수정하지 않습니다.
|
||||
|
||||
18
templates/base/_agent/profile.yml
Normal file
18
templates/base/_agent/profile.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
schema_version: 1
|
||||
|
||||
project:
|
||||
id: __AGENT_PROJECT_ID__
|
||||
name: __AGENT_PROJECT_NAME_YAML__
|
||||
type: __AGENT_PROJECT_TYPE__
|
||||
layer: frontend
|
||||
legacy: false
|
||||
|
||||
stack:
|
||||
- typescript
|
||||
- react
|
||||
- nextjs
|
||||
|
||||
shared_contracts:
|
||||
consumes:
|
||||
- kri-front-common
|
||||
- kri-ui-registry
|
||||
9
templates/base/_agent/project.md
Normal file
9
templates/base/_agent/project.md
Normal file
@@ -0,0 +1,9 @@
|
||||
## Generated Next.js Repository Rules
|
||||
|
||||
- This frontend application was generated by `@kri/create-next-app`.
|
||||
- Keep the generated Next.js routing, server/client boundary, authentication, environment, state, query, and application-shell conventions unless an approved task changes them.
|
||||
- Prefer shadcn and approved KRI UI Registry components over new local primitives when a suitable component exists.
|
||||
- Do not create new TypeScript type or interface names ending in `Dto` or `DTO`.
|
||||
- Consume shared frontend behavior from `@kri/common` and the KRI UI Registry instead of copying provider implementations into this repository.
|
||||
- `AGENTS.md` and `CLAUDE.md` are central-harness generated outputs. Never edit them directly; update `.agent/profile.yml` or `.agent/project.md` and recompose.
|
||||
- Run `npm run typecheck` and `npm run build` after relevant source or configuration changes.
|
||||
4
templates/base/_gitattributes
Normal file
4
templates/base/_gitattributes
Normal file
@@ -0,0 +1,4 @@
|
||||
/AGENTS.md text eol=lf
|
||||
/CLAUDE.md text eol=lf
|
||||
/.agent/*.md text eol=lf
|
||||
/.agent/*.yml text eol=lf
|
||||
Reference in New Issue
Block a user