lee-spec-kit 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +20 -0
- package/README.md +20 -0
- package/dist/index.js +1215 -832
- package/package.json +1 -1
- package/templates/en/common/agents/git-workflow.md +8 -8
- package/templates/en/common/agents/pr-template.md +1 -1
- package/templates/en/common/agents/skills/create-issue.md +13 -5
- package/templates/en/common/agents/skills/create-pr.md +13 -5
- package/templates/en/fullstack/README.md +2 -2
- package/templates/en/fullstack/agents/agents.md +13 -11
- package/templates/en/single/README.md +2 -2
- package/templates/en/single/agents/agents.md +13 -11
- package/templates/ko/common/agents/git-workflow.md +8 -8
- package/templates/ko/common/agents/pr-template.md +1 -1
- package/templates/ko/common/agents/skills/create-issue.md +13 -5
- package/templates/ko/common/agents/skills/create-pr.md +13 -5
- package/templates/ko/fullstack/README.md +2 -2
- package/templates/ko/fullstack/agents/agents.md +13 -11
- package/templates/ko/single/README.md +2 -2
- package/templates/ko/single/agents/agents.md +13 -11
package/README.en.md
CHANGED
|
@@ -209,10 +209,29 @@ npx lee-spec-kit context F001 --approve A --execute --execute-strict
|
|
|
209
209
|
- `selectionFallback`: fallback used when branch auto-detection does not match (`none` | `open_features` | `all_features` | `done_features`)
|
|
210
210
|
- `workflowPolicy`: current completion policy (`mode`, `requireIssue`, `requireBranch`, `requirePr`, `requireReview`)
|
|
211
211
|
- `prePrReviewPolicy`: pre-PR review policy (`enabled`, `skills`, `fallback`, `blockOnFindings`)
|
|
212
|
+
- `requiredDocs`: CLI built-in docs to read before the current action (`id`, `command`)
|
|
212
213
|
- `checkPolicy`: approval validation policy (`hint`, `policyOnly`, `token: "<LABEL>"`, `acceptedTokens`, `tokenPattern`, `validLabels`, `requireExplanationBeforeApproval`, `requiredExplanationFields`, `contextVersion`, ...)
|
|
213
214
|
|
|
214
215
|
Error payloads (`status: "error"`) include `reasonCode` and labeled `suggestions` (`A/B/C`) (e.g. `INVALID_APPROVAL`, `CONTEXT_STALE`, `EXECUTION_FAILED`, `EXECUTION_NOT_COMMAND`).
|
|
215
216
|
|
|
217
|
+
### Built-in Docs
|
|
218
|
+
|
|
219
|
+
If you do not restore `agents.md` into project docs, fetch CLI-managed guides directly:
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
# list built-in docs
|
|
223
|
+
npx lee-spec-kit docs list --json
|
|
224
|
+
|
|
225
|
+
# root agent guide
|
|
226
|
+
npx lee-spec-kit docs get agents --json
|
|
227
|
+
|
|
228
|
+
# issue/PR procedure + templates
|
|
229
|
+
npx lee-spec-kit docs get create-issue --json
|
|
230
|
+
npx lee-spec-kit docs get issue-template --json
|
|
231
|
+
npx lee-spec-kit docs get create-pr --json
|
|
232
|
+
npx lee-spec-kit docs get pr-template --json
|
|
233
|
+
```
|
|
234
|
+
|
|
216
235
|
### View
|
|
217
236
|
|
|
218
237
|
```bash
|
|
@@ -272,6 +291,7 @@ npx lee-spec-kit github pr F001 --create --merge --confirm OK --labels enhanceme
|
|
|
272
291
|
|
|
273
292
|
Key points:
|
|
274
293
|
- Issue/PR helpers validate required body sections and related docs paths.
|
|
294
|
+
- `--json` output includes both `body` (inline markdown) and `bodyFile` (file path).
|
|
275
295
|
- Labels are validated (at least one required).
|
|
276
296
|
- `--create`/`--merge` are remote operations and require `--confirm OK`.
|
|
277
297
|
- PR helper can sync `tasks.md` PR URL/PR Status automatically (`--no-sync-tasks` to skip).
|
package/README.md
CHANGED
|
@@ -230,11 +230,30 @@ npx lee-spec-kit context F001 --approve A --execute --execute-strict
|
|
|
230
230
|
- `requiresUserCheck`: 사용자 확인 필요 여부 (에이전트는 **사용자 응답을 `<라벨>` 또는 `<라벨> OK` 형식(예: `A`, `A OK`)으로 제한**하는 것을 권장 / 설정의 `approval`로 오버라이드 가능)
|
|
231
231
|
- `workflowPolicy`: 현재 완료 조건 정책 (`mode`, `requireIssue`, `requireBranch`, `requirePr`, `requireReview`)
|
|
232
232
|
- `prePrReviewPolicy`: pre-PR 리뷰 정책 (`enabled`, `skills`, `fallback`, `blockOnFindings`)
|
|
233
|
+
- `requiredDocs`: 현재 액션 전에 읽어야 할 CLI 내장 문서 목록 (`id`, `command`)
|
|
233
234
|
|
|
234
235
|
또한 `checkPolicy`가 포함되어, 에이전트가 사용자 확인 정책을 적용할 때 참고할 수 있습니다. (`docPath`, `hint`, `policyOnly`, `token: "<LABEL>"`, `acceptedTokens`, `tokenPattern`, `validLabels`, `requireExplanationBeforeApproval`, `requiredExplanationFields`, `contextVersion`, `config`)
|
|
235
236
|
|
|
236
237
|
오류 응답(`status: "error"`)에는 `reasonCode`와 `suggestions`(라벨형 다음 동작: `A/B/C`)가 포함됩니다. (예: `INVALID_APPROVAL`, `CONTEXT_STALE`, `EXECUTION_FAILED`, `EXECUTION_NOT_COMMAND`)
|
|
237
238
|
|
|
239
|
+
### CLI 내장 문서 조회
|
|
240
|
+
|
|
241
|
+
`agents.md`를 프로젝트에 복구하지 않는 환경에서는 아래 명령으로 내장 가이드를 직접 조회할 수 있습니다.
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
# 조회 가능한 내장 문서 목록
|
|
245
|
+
npx lee-spec-kit docs list --json
|
|
246
|
+
|
|
247
|
+
# 루트 가이드
|
|
248
|
+
npx lee-spec-kit docs get agents --json
|
|
249
|
+
|
|
250
|
+
# 이슈/PR 절차 + 템플릿
|
|
251
|
+
npx lee-spec-kit docs get create-issue --json
|
|
252
|
+
npx lee-spec-kit docs get issue-template --json
|
|
253
|
+
npx lee-spec-kit docs get create-pr --json
|
|
254
|
+
npx lee-spec-kit docs get pr-template --json
|
|
255
|
+
```
|
|
256
|
+
|
|
238
257
|
### View 대시보드
|
|
239
258
|
|
|
240
259
|
```bash
|
|
@@ -294,6 +313,7 @@ npx lee-spec-kit github pr F001 --create --merge --confirm OK --labels enhanceme
|
|
|
294
313
|
|
|
295
314
|
핵심 동작:
|
|
296
315
|
- Issue/PR helper는 필수 섹션과 관련 문서 경로를 검증합니다.
|
|
316
|
+
- `--json` 출력에는 `body`(본문 문자열)와 `bodyFile`(파일 경로)가 함께 제공됩니다.
|
|
297
317
|
- 라벨은 최소 1개 이상 필수입니다.
|
|
298
318
|
- `--create`/`--merge`는 원격 작업이므로 `--confirm OK`가 필요합니다.
|
|
299
319
|
- PR helper는 기본적으로 `tasks.md`의 `PR`/`PR Status`를 동기화합니다. (`--no-sync-tasks`로 비활성화)
|