lee-spec-kit 0.4.11 → 0.4.13

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.
Files changed (32) hide show
  1. package/README.en.md +48 -1
  2. package/README.md +52 -1
  3. package/dist/index.js +305 -124
  4. package/package.json +1 -1
  5. package/templates/en/common/agents/pr-template.md +15 -7
  6. package/templates/en/common/agents/skills/create-feature.md +1 -1
  7. package/templates/en/common/agents/skills/create-pr.md +20 -3
  8. package/templates/en/common/agents/skills/execute-task.md +5 -2
  9. package/templates/en/fullstack/README.md +5 -2
  10. package/templates/en/fullstack/agents/agents.md +2 -1
  11. package/templates/en/fullstack/features/feature-base/plan.md +1 -1
  12. package/templates/en/fullstack/features/feature-base/spec.md +1 -1
  13. package/templates/en/fullstack/features/feature-base/tasks.md +11 -2
  14. package/templates/en/single/README.md +5 -2
  15. package/templates/en/single/agents/agents.md +2 -1
  16. package/templates/en/single/features/feature-base/plan.md +1 -1
  17. package/templates/en/single/features/feature-base/spec.md +1 -1
  18. package/templates/en/single/features/feature-base/tasks.md +11 -2
  19. package/templates/ko/common/agents/pr-template.md +15 -7
  20. package/templates/ko/common/agents/skills/create-feature.md +3 -3
  21. package/templates/ko/common/agents/skills/create-pr.md +20 -3
  22. package/templates/ko/common/agents/skills/execute-task.md +7 -5
  23. package/templates/ko/fullstack/README.md +5 -2
  24. package/templates/ko/fullstack/agents/agents.md +2 -1
  25. package/templates/ko/fullstack/features/feature-base/plan.md +1 -1
  26. package/templates/ko/fullstack/features/feature-base/spec.md +1 -1
  27. package/templates/ko/fullstack/features/feature-base/tasks.md +12 -3
  28. package/templates/ko/single/README.md +5 -2
  29. package/templates/ko/single/agents/agents.md +2 -1
  30. package/templates/ko/single/features/feature-base/plan.md +1 -1
  31. package/templates/ko/single/features/feature-base/spec.md +1 -1
  32. package/templates/ko/single/features/feature-base/tasks.md +12 -3
@@ -30,6 +30,7 @@
30
30
  - `docsRepo` ("embedded" | "standalone"): Docs 관리 방식
31
31
  - `pushDocs` (boolean, optional): `docsRepo: "standalone"`일 때만 생성 (원격 push 여부)
32
32
  - `docsRemote` (string, optional): `pushDocs: true`일 때만 생성 (원격 레포 URL)
33
+ - `approval` (object, optional): `context` 출력의 `[확인 필요]` / `requiresUserCheck` 정책 오버라이드 (승인 토큰: `OK`)
33
34
 
34
35
  ### 예시
35
36
 
@@ -39,7 +40,8 @@
39
40
  "projectType": "single",
40
41
  "lang": "ko",
41
42
  "createdAt": "{{date}}",
42
- "docsRepo": "embedded"
43
+ "docsRepo": "embedded",
44
+ "approval": { "mode": "builtin" }
43
45
  }
44
46
  ```
45
47
 
@@ -51,6 +53,7 @@
51
53
  "createdAt": "{{date}}",
52
54
  "docsRepo": "standalone",
53
55
  "pushDocs": true,
54
- "docsRemote": "git@github.com:org/{{projectName}}-docs.git"
56
+ "docsRemote": "git@github.com:org/{{projectName}}-docs.git",
57
+ "approval": { "mode": "builtin" }
55
58
  }
56
59
  ```
@@ -8,6 +8,7 @@
8
8
 
9
9
  > ⚠️ **아래 작업은 반드시 사용자의 명시적 승인(OK)을 받은 후에만 진행합니다.**
10
10
  > **확인 없이 진행 시 작업을 즉시 중단해야 합니다.**
11
+ > ✅ 승인(OK)은 사용자가 **정확히 `OK`**라고 답하는 것을 의미합니다.
11
12
 
12
13
  | 작업 | 확인 시점 | 공유 내용 |
13
14
  | ------------- | -------------------- | --------------------------- |
@@ -17,7 +18,7 @@
17
18
  | 이슈 생성 | `gh issue create` 전 | 제목, 본문, 라벨 |
18
19
  | PR 생성 | `gh pr create` 전 | 제목, 본문, 라벨 |
19
20
  | Assignee 변경 | 본인 외 지정 시 | 대상 사용자명 |
20
- | Git 원격 작업 | `push`, `merge` 전 | 브랜치, 변경 사항 |
21
+ | Git 원격 작업 | `push`, `merge` 전 (머지 커밋 포함) | 브랜치, 변경 사항 |
21
22
 
22
23
  ### 확인 프로세스
23
24
 
@@ -9,7 +9,7 @@
9
9
  - **기능 ID**: F{번호}
10
10
  - **대상 레포**: {{projectName}}
11
11
  - **작성일**: YYYY-MM-DD
12
- - **상태**: Draft | Review | Approved
12
+ - **상태**: Review | Approved
13
13
 
14
14
  ---
15
15
 
@@ -11,7 +11,7 @@
11
11
  - **대상 레포**: {{projectName}}
12
12
  - **이슈 번호**: #{이슈번호}
13
13
  - **작성일**: YYYY-MM-DD
14
- - **상태**: Draft | Review | Approved
14
+ - **상태**: Review | Approved
15
15
 
16
16
  ---
17
17
 
@@ -3,19 +3,23 @@
3
3
  ## 태스크 규칙
4
4
 
5
5
  - **상태**: `[TODO]` → `[DOING]` → `[DONE]`
6
+ - **승인**:
7
+ - `[TODO] → [DOING]`: 시작 전 태스크 제목 공유 + 사용자 승인(OK)
8
+ - `[DOING] → [DONE]`: 완료 전 결과/검증 공유 + 사용자 승인(OK)
6
9
  - **우선순위**: P0(긴급) > P1(높음) > P2(보통) > P3(낮음)
7
10
 
8
11
  ---
9
12
 
10
13
  ## GitHub Issue
11
14
 
15
+ - **문서 상태**: Review | Approved
12
16
  - **레포**: {{projectName}}
13
17
  - **Issue**: #{이슈번호}
14
18
  - **브랜치**: `feat/{이슈번호}-{기능명}`
15
19
  - **PR**: -
16
20
  - 예: `#123` 또는 PR URL
17
21
  - **PR 상태**: -
18
- - 값: Draft | Review | Approved
22
+ - 값: Review | Approved
19
23
 
20
24
  ---
21
25
 
@@ -23,11 +27,16 @@
23
27
 
24
28
  ### Phase 1: {단계명}
25
29
 
30
+ > 아래에 태스크를 추가하세요. **최소 1개가 필요**합니다.
31
+ > 아래 포맷을 복사해 사용하세요.
32
+
33
+ ```markdown
26
34
  - [TODO][P1] T-F{번호}-01 {태스크 제목}
27
35
  - Acceptance:
28
36
  - (검증 조건)
29
37
  - Checklist:
30
- - [ ] (세부 작업)
38
+ - [ ] (서브 태스크)
39
+ ```
31
40
 
32
41
  ---
33
42
 
@@ -37,7 +46,7 @@
37
46
 
38
47
  - [ ] 모든 태스크가 `[DONE]`이며, 각 태스크의 `Acceptance` 검증 및 `Checklist` 체크 완료
39
48
  - [ ] 테스트 실행 및 통과 (아래에 명령어/결과 기록)
40
- - [ ] 사용자 승인(OK) 완료
49
+ - [ ] 최종 사용자 승인(OK) 완료 (결과물 확인)
41
50
 
42
51
  ### 테스트 실행 기록
43
52