create-ax-project 1.0.0

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 (258) hide show
  1. package/README.md +374 -0
  2. package/bin/create.js +193 -0
  3. package/package.json +38 -0
  4. package/template/.claude/CLAUDE.md +7 -0
  5. package/template/.claude/commands/CLAUDE.md +0 -0
  6. package/template/.claude/commands/benchmark.md +103 -0
  7. package/template/.claude/commands/brainstorm.md +67 -0
  8. package/template/.claude/commands/checkpoint.md +93 -0
  9. package/template/.claude/commands/codex.md +107 -0
  10. package/template/.claude/commands/collaborate.md +85 -0
  11. package/template/.claude/commands/context.md +154 -0
  12. package/template/.claude/commands/deploy.md +102 -0
  13. package/template/.claude/commands/fork.md +142 -0
  14. package/template/.claude/commands/gemini.md +84 -0
  15. package/template/.claude/commands/handoff.md +80 -0
  16. package/template/.claude/commands/implement.md +82 -0
  17. package/template/.claude/commands/init-project.md +49 -0
  18. package/template/.claude/commands/next.md +125 -0
  19. package/template/.claude/commands/planning.md +69 -0
  20. package/template/.claude/commands/qa.md +81 -0
  21. package/template/.claude/commands/refactor.md +95 -0
  22. package/template/.claude/commands/research.md +60 -0
  23. package/template/.claude/commands/restore.md +113 -0
  24. package/template/.claude/commands/run-stage.md +78 -0
  25. package/template/.claude/commands/stages.md +109 -0
  26. package/template/.claude/commands/status.md +73 -0
  27. package/template/.claude/commands/tasks.md +80 -0
  28. package/template/.claude/commands/test.md +93 -0
  29. package/template/.claude/commands/ui-ux.md +61 -0
  30. package/template/.claude/commands/validate.md +174 -0
  31. package/template/.claude/hooks/CLAUDE.md +0 -0
  32. package/template/.claude/hooks/ai-selector.sh +223 -0
  33. package/template/.claude/hooks/auto-checkpoint.sh +187 -0
  34. package/template/.claude/hooks/output-validator.sh +289 -0
  35. package/template/.claude/hooks/post-stage.sh +123 -0
  36. package/template/.claude/hooks/pre-stage.sh +186 -0
  37. package/template/.claude/hooks/session-start.sh +90 -0
  38. package/template/.claude/hooks/statusline.sh +115 -0
  39. package/template/.claude/hooks/stop.sh +104 -0
  40. package/template/.claude/settings.json +149 -0
  41. package/template/.claude/skills/ai-collaboration/CLAUDE.md +0 -0
  42. package/template/.claude/skills/ai-collaboration/README.md +61 -0
  43. package/template/.claude/skills/ai-collaboration/debate.md +148 -0
  44. package/template/.claude/skills/ai-collaboration/parallel.md +96 -0
  45. package/template/.claude/skills/ai-collaboration/prompts/CLAUDE.md +107 -0
  46. package/template/.claude/skills/auto-checkpoint/CLAUDE.md +0 -0
  47. package/template/.claude/skills/auto-checkpoint/README.md +77 -0
  48. package/template/.claude/skills/auto-checkpoint/prompts/CLAUDE.md +113 -0
  49. package/template/.claude/skills/auto-checkpoint/rollback.md +152 -0
  50. package/template/.claude/skills/auto-checkpoint/trigger.md +122 -0
  51. package/template/.claude/skills/context-compression/CLAUDE.md +0 -0
  52. package/template/.claude/skills/context-compression/README.md +121 -0
  53. package/template/.claude/skills/context-compression/analyze.md +114 -0
  54. package/template/.claude/skills/context-compression/compress.md +175 -0
  55. package/template/.claude/skills/context-compression/prompts/CLAUDE.md +0 -0
  56. package/template/.claude/skills/context-compression/prompts/compression.md +172 -0
  57. package/template/.claude/skills/output-validator/CLAUDE.md +0 -0
  58. package/template/.claude/skills/output-validator/README.md +86 -0
  59. package/template/.claude/skills/output-validator/prompts/CLAUDE.md +119 -0
  60. package/template/.claude/skills/output-validator/validate.md +182 -0
  61. package/template/.claude/skills/smart-handoff/CLAUDE.md +0 -0
  62. package/template/.claude/skills/smart-handoff/README.md +59 -0
  63. package/template/.claude/skills/smart-handoff/extract.md +76 -0
  64. package/template/.claude/skills/smart-handoff/prompts/CLAUDE.md +86 -0
  65. package/template/.claude/skills/smart-handoff/summarize.md +94 -0
  66. package/template/.claude/skills/stage-transition/CLAUDE.md +0 -0
  67. package/template/.claude/skills/stage-transition/README.md +84 -0
  68. package/template/.claude/skills/stage-transition/handoff-gen.md +160 -0
  69. package/template/.claude/skills/stage-transition/prompts/CLAUDE.md +0 -0
  70. package/template/.claude/skills/stage-transition/prompts/transition.md +145 -0
  71. package/template/.claude/skills/stage-transition/validate.md +108 -0
  72. package/template/CLAUDE.md +528 -0
  73. package/template/config/CLAUDE.md +0 -0
  74. package/template/config/ai_benchmarking.yaml +184 -0
  75. package/template/config/ai_collaboration.yaml +159 -0
  76. package/template/config/ai_logging.yaml +129 -0
  77. package/template/config/auto_checkpoint.yaml +189 -0
  78. package/template/config/context.yaml +78 -0
  79. package/template/config/git.yaml +161 -0
  80. package/template/config/handoff_intelligence.yaml +229 -0
  81. package/template/config/implementation.yaml.template +181 -0
  82. package/template/config/mcp_fallbacks.yaml +252 -0
  83. package/template/config/memory_integration.yaml +200 -0
  84. package/template/config/model_enforcement.yaml +141 -0
  85. package/template/config/models.yaml +242 -0
  86. package/template/config/output_validation.yaml +352 -0
  87. package/template/config/pipeline.yaml +357 -0
  88. package/template/config/pipeline_forking.yaml +236 -0
  89. package/template/config/qa_logging.yaml +166 -0
  90. package/template/config/smart_rollback.yaml +209 -0
  91. package/template/config/stage_personas.yaml +354 -0
  92. package/template/config/workflow.yaml +54 -0
  93. package/template/scripts/CLAUDE.md +0 -0
  94. package/template/scripts/ai-benchmark.sh +272 -0
  95. package/template/scripts/codex-wrapper.sh +97 -0
  96. package/template/scripts/context-manager.sh +528 -0
  97. package/template/scripts/create-checkpoint.sh +116 -0
  98. package/template/scripts/gemini-wrapper.sh +96 -0
  99. package/template/scripts/init-project.sh +109 -0
  100. package/template/scripts/list-stages.sh +245 -0
  101. package/template/scripts/next-stage.sh +228 -0
  102. package/template/scripts/output-validate.sh +12 -0
  103. package/template/scripts/pipeline-fork.sh +293 -0
  104. package/template/scripts/pre-run-check.sh +361 -0
  105. package/template/scripts/restore-checkpoint.sh +247 -0
  106. package/template/scripts/run-stage.sh +139 -0
  107. package/template/scripts/show-status.sh +185 -0
  108. package/template/scripts/smart-handoff.sh +254 -0
  109. package/template/stages/01-brainstorm/CLAUDE.md +103 -0
  110. package/template/stages/01-brainstorm/HANDOFF.md +110 -0
  111. package/template/stages/01-brainstorm/HANDOFF.md.template +112 -0
  112. package/template/stages/01-brainstorm/README.md +97 -0
  113. package/template/stages/01-brainstorm/config.yaml +92 -0
  114. package/template/stages/01-brainstorm/inputs/.gitkeep +0 -0
  115. package/template/stages/01-brainstorm/inputs/CLAUDE.md +0 -0
  116. package/template/stages/01-brainstorm/inputs/project_brief.md +40 -0
  117. package/template/stages/01-brainstorm/outputs/.gitkeep +0 -0
  118. package/template/stages/01-brainstorm/outputs/CLAUDE.md +0 -0
  119. package/template/stages/01-brainstorm/outputs/ideas.md +159 -0
  120. package/template/stages/01-brainstorm/outputs/requirements_analysis.md +222 -0
  121. package/template/stages/01-brainstorm/prompts/CLAUDE.md +0 -0
  122. package/template/stages/01-brainstorm/prompts/collaboration.md +46 -0
  123. package/template/stages/01-brainstorm/prompts/ideation.md +62 -0
  124. package/template/stages/01-brainstorm/prompts/persona.md +73 -0
  125. package/template/stages/01-brainstorm/prompts/requirements.md +73 -0
  126. package/template/stages/01-brainstorm/prompts/validation.md +50 -0
  127. package/template/stages/01-brainstorm/templates/CLAUDE.md +0 -0
  128. package/template/stages/01-brainstorm/templates/ideas.md +91 -0
  129. package/template/stages/01-brainstorm/templates/requirements_analysis.md +129 -0
  130. package/template/stages/02-research/CLAUDE.md +101 -0
  131. package/template/stages/02-research/HANDOFF.md +158 -0
  132. package/template/stages/02-research/HANDOFF.md.template +102 -0
  133. package/template/stages/02-research/config.yaml +68 -0
  134. package/template/stages/02-research/inputs/.gitkeep +0 -0
  135. package/template/stages/02-research/outputs/.gitkeep +0 -0
  136. package/template/stages/02-research/outputs/CLAUDE.md +0 -0
  137. package/template/stages/02-research/outputs/feasibility_report.md +176 -0
  138. package/template/stages/02-research/outputs/tech_research.md +403 -0
  139. package/template/stages/02-research/prompts/CLAUDE.md +0 -0
  140. package/template/stages/02-research/prompts/collaboration.md +51 -0
  141. package/template/stages/02-research/prompts/feasibility.md +73 -0
  142. package/template/stages/02-research/prompts/market_analysis.md +58 -0
  143. package/template/stages/02-research/prompts/tech_stack.md +60 -0
  144. package/template/stages/02-research/prompts/validation.md +51 -0
  145. package/template/stages/02-research/templates/.gitkeep +0 -0
  146. package/template/stages/03-planning/CLAUDE.md +98 -0
  147. package/template/stages/03-planning/HANDOFF.md +168 -0
  148. package/template/stages/03-planning/HANDOFF.md.template +91 -0
  149. package/template/stages/03-planning/config.yaml +64 -0
  150. package/template/stages/03-planning/inputs/.gitkeep +0 -0
  151. package/template/stages/03-planning/outputs/.gitkeep +0 -0
  152. package/template/stages/03-planning/outputs/CLAUDE.md +0 -0
  153. package/template/stages/03-planning/outputs/architecture.md +400 -0
  154. package/template/stages/03-planning/outputs/implementation.yaml +209 -0
  155. package/template/stages/03-planning/outputs/project_plan.md +204 -0
  156. package/template/stages/03-planning/outputs/tech_stack.md +176 -0
  157. package/template/stages/03-planning/prompts/CLAUDE.md +0 -0
  158. package/template/stages/03-planning/prompts/architecture.md +62 -0
  159. package/template/stages/03-planning/prompts/collaboration.md +57 -0
  160. package/template/stages/03-planning/prompts/validation.md +59 -0
  161. package/template/stages/03-planning/templates/.gitkeep +0 -0
  162. package/template/stages/04-ui-ux/CLAUDE.md +88 -0
  163. package/template/stages/04-ui-ux/HANDOFF.md +165 -0
  164. package/template/stages/04-ui-ux/HANDOFF.md.template +92 -0
  165. package/template/stages/04-ui-ux/config.yaml +57 -0
  166. package/template/stages/04-ui-ux/inputs/.gitkeep +0 -0
  167. package/template/stages/04-ui-ux/outputs/.gitkeep +0 -0
  168. package/template/stages/04-ui-ux/outputs/CLAUDE.md +0 -0
  169. package/template/stages/04-ui-ux/outputs/design_system.md +449 -0
  170. package/template/stages/04-ui-ux/outputs/user_flows.md +321 -0
  171. package/template/stages/04-ui-ux/outputs/wireframes.md +241 -0
  172. package/template/stages/04-ui-ux/prompts/.gitkeep +0 -0
  173. package/template/stages/04-ui-ux/prompts/CLAUDE.md +0 -0
  174. package/template/stages/04-ui-ux/prompts/collaboration.md +56 -0
  175. package/template/stages/04-ui-ux/prompts/validation.md +54 -0
  176. package/template/stages/04-ui-ux/templates/.gitkeep +0 -0
  177. package/template/stages/05-task-management/CLAUDE.md +105 -0
  178. package/template/stages/05-task-management/HANDOFF.md +187 -0
  179. package/template/stages/05-task-management/HANDOFF.md.template +97 -0
  180. package/template/stages/05-task-management/config.yaml +81 -0
  181. package/template/stages/05-task-management/inputs/.gitkeep +0 -0
  182. package/template/stages/05-task-management/outputs/.gitkeep +0 -0
  183. package/template/stages/05-task-management/outputs/CLAUDE.md +0 -0
  184. package/template/stages/05-task-management/outputs/milestones.md +253 -0
  185. package/template/stages/05-task-management/outputs/sprint_plan.md +203 -0
  186. package/template/stages/05-task-management/outputs/tasks.md +402 -0
  187. package/template/stages/05-task-management/prompts/.gitkeep +0 -0
  188. package/template/stages/05-task-management/prompts/CLAUDE.md +0 -0
  189. package/template/stages/05-task-management/prompts/collaboration.md +54 -0
  190. package/template/stages/05-task-management/prompts/validation.md +66 -0
  191. package/template/stages/05-task-management/templates/CLAUDE.md +0 -0
  192. package/template/stages/05-task-management/templates/notion_integration.md +176 -0
  193. package/template/stages/05-task-management/templates/parallel_groups.yaml +153 -0
  194. package/template/stages/05-task-management/templates/task_schema.yaml +154 -0
  195. package/template/stages/06-implementation/CLAUDE.md +163 -0
  196. package/template/stages/06-implementation/HANDOFF.md +184 -0
  197. package/template/stages/06-implementation/HANDOFF.md.template +192 -0
  198. package/template/stages/06-implementation/config.yaml +62 -0
  199. package/template/stages/06-implementation/inputs/.gitkeep +0 -0
  200. package/template/stages/06-implementation/outputs/.gitkeep +0 -0
  201. package/template/stages/06-implementation/prompts/.gitkeep +0 -0
  202. package/template/stages/06-implementation/prompts/CLAUDE.md +0 -0
  203. package/template/stages/06-implementation/prompts/collaboration.md +64 -0
  204. package/template/stages/06-implementation/prompts/validation.md +65 -0
  205. package/template/stages/06-implementation/templates/.gitkeep +0 -0
  206. package/template/stages/07-refactoring/CLAUDE.md +180 -0
  207. package/template/stages/07-refactoring/HANDOFF.md +82 -0
  208. package/template/stages/07-refactoring/HANDOFF.md.template +97 -0
  209. package/template/stages/07-refactoring/config.yaml +68 -0
  210. package/template/stages/07-refactoring/inputs/.gitkeep +0 -0
  211. package/template/stages/07-refactoring/outputs/.gitkeep +0 -0
  212. package/template/stages/07-refactoring/outputs/refactoring_report.md +102 -0
  213. package/template/stages/07-refactoring/prompts/.gitkeep +0 -0
  214. package/template/stages/07-refactoring/prompts/CLAUDE.md +0 -0
  215. package/template/stages/07-refactoring/prompts/collaboration.md +71 -0
  216. package/template/stages/07-refactoring/prompts/validation.md +76 -0
  217. package/template/stages/07-refactoring/templates/.gitkeep +0 -0
  218. package/template/stages/08-qa/CLAUDE.md +93 -0
  219. package/template/stages/08-qa/HANDOFF.md +114 -0
  220. package/template/stages/08-qa/HANDOFF.md.template +96 -0
  221. package/template/stages/08-qa/config.yaml +56 -0
  222. package/template/stages/08-qa/inputs/.gitkeep +0 -0
  223. package/template/stages/08-qa/outputs/.gitkeep +0 -0
  224. package/template/stages/08-qa/outputs/qa_report.md +138 -0
  225. package/template/stages/08-qa/prompts/.gitkeep +0 -0
  226. package/template/stages/08-qa/prompts/CLAUDE.md +0 -0
  227. package/template/stages/08-qa/prompts/collaboration.md +65 -0
  228. package/template/stages/08-qa/prompts/validation.md +71 -0
  229. package/template/stages/08-qa/templates/.gitkeep +0 -0
  230. package/template/stages/09-testing/CLAUDE.md +124 -0
  231. package/template/stages/09-testing/HANDOFF.md +118 -0
  232. package/template/stages/09-testing/HANDOFF.md.template +113 -0
  233. package/template/stages/09-testing/config.yaml +65 -0
  234. package/template/stages/09-testing/inputs/.gitkeep +0 -0
  235. package/template/stages/09-testing/outputs/.gitkeep +0 -0
  236. package/template/stages/09-testing/outputs/test_report.md +146 -0
  237. package/template/stages/09-testing/prompts/.gitkeep +0 -0
  238. package/template/stages/09-testing/prompts/CLAUDE.md +0 -0
  239. package/template/stages/09-testing/prompts/collaboration.md +77 -0
  240. package/template/stages/09-testing/prompts/validation.md +83 -0
  241. package/template/stages/09-testing/templates/.gitkeep +0 -0
  242. package/template/stages/10-deployment/CLAUDE.md +117 -0
  243. package/template/stages/10-deployment/HANDOFF.md +141 -0
  244. package/template/stages/10-deployment/HANDOFF.md.template +148 -0
  245. package/template/stages/10-deployment/config.yaml +61 -0
  246. package/template/stages/10-deployment/inputs/.gitkeep +0 -0
  247. package/template/stages/10-deployment/outputs/.gitkeep +0 -0
  248. package/template/stages/10-deployment/prompts/.gitkeep +0 -0
  249. package/template/stages/10-deployment/prompts/CLAUDE.md +0 -0
  250. package/template/stages/10-deployment/prompts/collaboration.md +80 -0
  251. package/template/stages/10-deployment/prompts/validation.md +93 -0
  252. package/template/stages/10-deployment/templates/CLAUDE.md +0 -0
  253. package/template/stages/10-deployment/templates/github-actions-cd.yaml +118 -0
  254. package/template/stages/10-deployment/templates/github-actions-ci.yaml +136 -0
  255. package/template/state/progress.json.template +111 -0
  256. package/template/state/templates/CLAUDE.md +0 -0
  257. package/template/state/templates/handoff_base.md.template +187 -0
  258. package/template/state/templates/phase_state.md.template +97 -0
@@ -0,0 +1,95 @@
1
+ # /refactor
2
+
3
+ 07-refactoring 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /refactor [focus-area]
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 07-refactoring |
15
+ | AI 모델 | Codex → ClaudeCode |
16
+ | 실행 모드 | Deep Dive |
17
+ | 체크포인트 | **필수** |
18
+
19
+ ## 동작
20
+
21
+ 1. **전제 조건 확인**
22
+ - 06-implementation 완료 여부
23
+ - src/, tests/ 존재
24
+ - 06 체크포인트 존재
25
+
26
+ 2. **리팩토링 실행**
27
+ - Codex: 코드 분석 및 개선 제안
28
+ - ClaudeCode: 리팩토링 적용
29
+
30
+ 3. **산출물 생성**
31
+ - (개선된) src/
32
+ - refactoring-report.md
33
+
34
+ ## 실행
35
+
36
+ ```bash
37
+ scripts/run-stage.sh 07-refactoring "$ARGUMENTS"
38
+ ```
39
+
40
+ ## 워크플로우
41
+
42
+ ```
43
+ Codex (분석)
44
+
45
+ 개선점 식별
46
+
47
+ ClaudeCode (적용)
48
+
49
+ 테스트 검증
50
+ ```
51
+
52
+ ## 입력 파일
53
+
54
+ - `stages/06-implementation/outputs/src/`
55
+ - `stages/06-implementation/outputs/tests/`
56
+
57
+ ## 출력 파일
58
+
59
+ - (수정된) `src/`
60
+ - `stages/07-refactoring/outputs/refactoring-report.md`
61
+
62
+ ## 체크포인트 필수!
63
+
64
+ 리팩토링 전후로 **체크포인트 필수**:
65
+
66
+ ```bash
67
+ # 리팩토링 전
68
+ /checkpoint "리팩토링 전 상태"
69
+
70
+ # 리팩토링 후
71
+ /checkpoint "리팩토링 완료"
72
+ ```
73
+
74
+ ## 리팩토링 영역
75
+
76
+ - 코드 중복 제거
77
+ - 함수/클래스 분리
78
+ - 명명 규칙 통일
79
+ - 성능 최적화
80
+ - 보안 개선
81
+
82
+ ## 관련 명령어
83
+
84
+ - `/run-stage 07` - 전제조건 확인 후 시작
85
+ - `/next` - 다음 스테이지 (08-qa)
86
+ - `/implement` - 이전 스테이지
87
+ - `/codex` - Codex CLI 직접 호출
88
+ - `/checkpoint` - 체크포인트 생성
89
+ - `/restore` - 롤백
90
+
91
+ ## Tips
92
+
93
+ - 리팩토링 전 반드시 체크포인트
94
+ - 작은 단위로 점진적 개선
95
+ - 테스트 통과 확인 후 커밋
@@ -0,0 +1,60 @@
1
+ # /research
2
+
3
+ 02-research 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /research [focus-area]
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 02-research |
15
+ | AI 모델 | Claude + MCP |
16
+ | 실행 모드 | Plan Mode |
17
+ | 체크포인트 | 선택 |
18
+
19
+ ## 동작
20
+
21
+ 1. **전제 조건 확인**
22
+ - 01-brainstorm 완료 여부
23
+ - ideas.md 파일 존재
24
+
25
+ 2. **리서치 실행**
26
+ - MCP 도구 활용 (웹 검색, API)
27
+ - 기술 스택 조사
28
+ - 경쟁 제품 분석
29
+
30
+ 3. **산출물 생성**
31
+ - research.md - 리서치 결과
32
+ - tech-stack.md - 기술 스택 권장사항
33
+
34
+ ## 실행
35
+
36
+ ```bash
37
+ scripts/run-stage.sh 02-research "$ARGUMENTS"
38
+ ```
39
+
40
+ ## 입력 파일
41
+
42
+ - `stages/01-brainstorm/outputs/ideas.md`
43
+ - `stages/01-brainstorm/outputs/decisions.md`
44
+
45
+ ## 출력 파일
46
+
47
+ - `stages/02-research/outputs/research.md`
48
+ - `stages/02-research/outputs/tech-stack.md`
49
+
50
+ ## 관련 명령어
51
+
52
+ - `/run-stage 02` - 전제조건 확인 후 시작
53
+ - `/next` - 다음 스테이지 (03-planning)
54
+ - `/brainstorm` - 이전 스테이지
55
+
56
+ ## MCP 도구 활용
57
+
58
+ - Context7 - 라이브러리 문서
59
+ - WebFetch - 웹 페이지 분석
60
+ - WebSearch - 검색 결과 수집
@@ -0,0 +1,113 @@
1
+ # /restore
2
+
3
+ 체크포인트에서 프로젝트 상태를 복구합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /restore --list # 체크포인트 목록 보기
8
+ /restore --latest # 최신 체크포인트로 복구
9
+ /restore [CP-ID] # 특정 체크포인트로 복구
10
+ ```
11
+
12
+ ## 동작
13
+
14
+ ### 목록 보기 (`--list`)
15
+ 1. `state/checkpoints/` 디렉토리 스캔
16
+ 2. 각 체크포인트 메타데이터 읽기
17
+ 3. 표 형식으로 출력
18
+
19
+ ### 복구 (`[CP-ID]` 또는 `--latest`)
20
+ 1. **확인 프롬프트** (자동화 모드 아닌 경우)
21
+ 2. **현재 상태 백업** (선택적)
22
+ 3. **체크포인트 파일 복원**
23
+ - progress.json 복원
24
+ - outputs 파일 복원
25
+ - HANDOFF.md 복원 (있는 경우)
26
+ 4. **상태 업데이트**
27
+
28
+ ## 실행 스크립트
29
+
30
+ ```bash
31
+ scripts/restore-checkpoint.sh "$ARGUMENTS"
32
+ ```
33
+
34
+ ## 출력 예시
35
+
36
+ ### 목록 보기
37
+ ```
38
+ /restore --list
39
+
40
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
41
+ 💾 Checkpoint List
42
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
43
+ ID Stage Created
44
+ ─────────────────────────────────────────────────
45
+ CP-06-20240120-1030 06-implementation 2024-01-20 10:30
46
+ CP-06-20240120-1430 06-implementation 2024-01-20 14:30
47
+ CP-07-20240121-0900 07-refactoring 2024-01-21 09:00
48
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
49
+ 총 3개 체크포인트 | /restore [ID]로 복구
50
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
51
+ ```
52
+
53
+ ### 복구 실행
54
+ ```
55
+ /restore CP-06-20240120-1430
56
+
57
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
58
+ ⚠️ 체크포인트 복구
59
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
60
+ 체크포인트: CP-06-20240120-1430
61
+ 스테이지: 06-implementation
62
+ 설명: 스프린트 1 완료
63
+ 생성일: 2024-01-20 14:30
64
+
65
+ ⚠️ 경고: 현재 상태가 해당 시점으로 복구됩니다.
66
+ 현재 변경사항이 손실될 수 있습니다.
67
+
68
+ 복구를 진행하시겠습니까? [y/N] y
69
+
70
+ 복구 중...
71
+ ✓ progress.json 복원됨
72
+ ✓ outputs 파일 복원됨 (42개)
73
+ ✓ HANDOFF.md 복원됨
74
+
75
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
76
+ ✅ 체크포인트 복구 완료!
77
+ 현재 스테이지: 06-implementation
78
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
79
+ ```
80
+
81
+ ## 옵션
82
+
83
+ | 옵션 | 설명 |
84
+ |------|------|
85
+ | `--list` | 체크포인트 목록 표시 |
86
+ | `--latest` | 최신 체크포인트로 복구 |
87
+ | `--force` | 확인 없이 강제 복구 |
88
+ | `--backup` | 복구 전 현재 상태 백업 |
89
+ | `--dry-run` | 실제 복구 없이 미리보기 |
90
+
91
+ ## 주의사항
92
+
93
+ - 복구 시 현재 작업 내용이 **덮어쓰기** 됩니다
94
+ - 중요한 변경사항이 있다면 먼저 `/checkpoint` 실행
95
+ - `--backup` 옵션으로 현재 상태 자동 백업 가능
96
+
97
+ ## 사용 사례
98
+
99
+ 1. **구현 실패 후 롤백**
100
+ ```
101
+ /restore --latest
102
+ ```
103
+
104
+ 2. **특정 시점으로 복원**
105
+ ```
106
+ /restore --list
107
+ /restore CP-06-20240120-1030
108
+ ```
109
+
110
+ 3. **안전한 복구 (백업 포함)**
111
+ ```
112
+ /restore CP-06-20240120-1030 --backup
113
+ ```
@@ -0,0 +1,78 @@
1
+ # /run-stage
2
+
3
+ 특정 스테이지를 실행합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /run-stage [stage-id]
8
+ ```
9
+
10
+ ## 스테이지 ID
11
+ - `01-brainstorm` - 브레인스토밍
12
+ - `02-research` - 리서치
13
+ - `03-planning` - 기획
14
+ - `04-ui-ux` - UI/UX 설계
15
+ - `05-task-management` - 태스크 관리
16
+ - `06-implementation` - 구현
17
+ - `07-refactoring` - 리팩토링
18
+ - `08-qa` - QA
19
+ - `09-testing` - 테스팅
20
+ - `10-deployment` - 배포
21
+
22
+ ## 동작
23
+
24
+ 1. **전제조건 검증**
25
+ - 이전 스테이지 완료 여부 확인
26
+ - 이전 스테이지 HANDOFF.md 존재 확인
27
+ - 필수 입력 파일 존재 확인
28
+
29
+ 2. **스테이지 설정 로드**
30
+ - `stages/[stage-id]/config.yaml` 로드
31
+ - `stages/[stage-id]/CLAUDE.md` 로드
32
+
33
+ 3. **상태 업데이트**
34
+ - `state/progress.json` 현재 스테이지 업데이트
35
+ - 시작 시간 기록
36
+
37
+ 4. **스테이지 실행**
38
+ - 스테이지 CLAUDE.md 지침 따름
39
+ - 프롬프트 템플릿 활용
40
+
41
+ ## 실행 스크립트
42
+
43
+ ```bash
44
+ scripts/run-stage.sh "$ARGUMENTS"
45
+ ```
46
+
47
+ ## 예시
48
+
49
+ ```
50
+ /run-stage 02-research
51
+
52
+ 출력:
53
+ ✓ 전제조건 검증 완료
54
+ - 01-brainstorm: 완료 ✓
55
+ - HANDOFF.md: 존재 ✓
56
+ ✓ 스테이지 설정 로드됨
57
+ ✓ 현재 스테이지: 02-research
58
+
59
+ [02-research CLAUDE.md 내용 표시]
60
+ ```
61
+
62
+ ## 전제조건 실패 시
63
+
64
+ ```
65
+ /run-stage 03-planning
66
+
67
+ 오류:
68
+ ✗ 전제조건 미충족
69
+ - 02-research: 진행 중 (미완료)
70
+ - 02-research HANDOFF.md: 없음
71
+
72
+ 먼저 02-research 스테이지를 완료해주세요.
73
+ /handoff 를 실행하여 핸드오프 문서를 생성하세요.
74
+ ```
75
+
76
+ ## 주의사항
77
+ - 스테이지 건너뛰기 불가 (순차 실행)
78
+ - 체크포인트 필수 스테이지 (06, 07)는 체크포인트 없이 진행 불가
@@ -0,0 +1,109 @@
1
+ # /stages
2
+
3
+ 10단계 파이프라인의 모든 스테이지 목록과 상세 정보를 표시합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /stages
8
+ /stages [stage-id]
9
+ ```
10
+
11
+ ## 동작
12
+
13
+ 1. **스테이지 목록 표시** (`/stages`)
14
+ - 모든 스테이지 번호/이름
15
+ - 담당 AI 모델
16
+ - 현재 상태
17
+ - 실행 모드
18
+
19
+ 2. **특정 스테이지 상세** (`/stages [id]`)
20
+ - 스테이지 config.yaml 정보
21
+ - 입출력 파일 목록
22
+ - 완료 조건
23
+
24
+ ## 실행 스크립트
25
+
26
+ ```bash
27
+ scripts/list-stages.sh "$ARGUMENTS"
28
+ ```
29
+
30
+ ## 출력 예시
31
+
32
+ ### 목록 보기 (`/stages`)
33
+
34
+ ```
35
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
36
+ 📋 Pipeline Stages
37
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
38
+ ## Stage AI Model Mode Status
39
+ ─────────────────────────────────────────────────────────
40
+ 01 brainstorm Gemini+Claude YOLO ✅
41
+ 02 research Claude+MCP Plan Mode ✅
42
+ 03 planning Gemini Plan Mode ✅
43
+ 04 ui-ux Gemini Plan Mode 🔄 ←
44
+ 05 task-management ClaudeCode Plan Mode ⏳
45
+ 06 implementation ClaudeCode Plan+Sandbox ⏳
46
+ 07 refactoring Codex Deep Dive ⏳
47
+ 08 qa ClaudeCode Plan+Sandbox ⏳
48
+ 09 testing Codex Playwright ⏳
49
+ 10 deployment ClaudeCode Headless ⏳
50
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
51
+ 현재: 04-ui-ux | 다음: /run-stage 05 또는 /tasks
52
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
53
+ ```
54
+
55
+ ### 상세 보기 (`/stages 06`)
56
+
57
+ ```
58
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
59
+ 📋 Stage 06: Implementation
60
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
61
+ AI Model: ClaudeCode
62
+ Mode: Plan Mode + Sandbox
63
+ Timeout: 240분 (가장 긴 스테이지)
64
+ Checkpoint: 필수
65
+
66
+ [Inputs]
67
+ • 05-task-management/outputs/tasks.json
68
+ • 05-task-management/outputs/sprint-plan.md
69
+ • 04-ui-ux/outputs/wireframes/
70
+
71
+ [Outputs]
72
+ • src/ (구현된 소스코드)
73
+ • tests/ (단위 테스트)
74
+ • implementation-notes.md
75
+
76
+ [Completion Criteria]
77
+ □ 모든 태스크 구현 완료
78
+ □ 단위 테스트 통과
79
+ □ 린트/타입 체크 통과
80
+ □ 체크포인트 생성 완료
81
+
82
+ [Quick Commands]
83
+ • /implement - 이 스테이지 바로 시작
84
+ • /run-stage 06 - 전제조건 확인 후 시작
85
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
86
+ ```
87
+
88
+ ## 스테이지 정보 참조
89
+
90
+ | 스테이지 | 입력 | 출력 | 특징 |
91
+ |----------|------|------|------|
92
+ | 01-brainstorm | (없음) | ideas.md, decisions.md | YOLO 모드, 병렬 AI |
93
+ | 02-research | ideas.md | research.md, tech-stack.md | MCP 도구 활용 |
94
+ | 03-planning | research.md | PRD.md, architecture.md | 기획 문서화 |
95
+ | 04-ui-ux | PRD.md | wireframes/, components.md | 시각 설계 |
96
+ | 05-task-mgmt | PRD, wireframes | tasks.json, sprints.md | 태스크 분해 |
97
+ | 06-implementation | tasks.json | src/, tests/ | 핵심 구현 |
98
+ | 07-refactoring | src/ | src/ (개선) | 코드 품질 |
99
+ | 08-qa | src/ | qa-report.md | 품질 검증 |
100
+ | 09-testing | src/, qa | test-results.md | E2E 테스트 |
101
+ | 10-deployment | all | CI/CD, deploy | 배포 자동화 |
102
+
103
+ ## 옵션
104
+
105
+ | 옵션 | 설명 |
106
+ |------|------|
107
+ | `--json` | JSON 형식으로 출력 |
108
+ | `--pending` | 대기 중인 스테이지만 표시 |
109
+ | `--completed` | 완료된 스테이지만 표시 |
@@ -0,0 +1,73 @@
1
+ # /status
2
+
3
+ 파이프라인 전체 상태를 한눈에 확인합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /status
8
+ ```
9
+
10
+ ## 동작
11
+
12
+ 1. **progress.json 읽기**
13
+ - 현재 스테이지 확인
14
+ - 각 스테이지 완료 상태
15
+
16
+ 2. **시각적 상태 표시**
17
+ - 진행률 바 (프로그레스)
18
+ - 각 스테이지 상태 아이콘
19
+ - 체크포인트 수
20
+ - 토큰 사용량 (컨텍스트)
21
+
22
+ ## 실행 스크립트
23
+
24
+ ```bash
25
+ scripts/show-status.sh
26
+ ```
27
+
28
+ ## 출력 예시
29
+
30
+ ```
31
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
32
+ 📊 Pipeline Status: my-app
33
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
34
+ Progress: [████████░░░░░░░░░░░░] 40% (4/10)
35
+
36
+ 01 ✅ brainstorm 완료 [Gemini+Claude]
37
+ 02 ✅ research 완료 [Claude+MCP]
38
+ 03 ✅ planning 완료 [Gemini]
39
+ 04 🔄 ui-ux 진행중 [Gemini]
40
+ 05 ⏳ task-mgmt 대기 [ClaudeCode]
41
+ 06 ⏳ implementation 대기 [ClaudeCode]
42
+ 07 ⏳ refactoring 대기 [Codex]
43
+ 08 ⏳ qa 대기 [ClaudeCode]
44
+ 09 ⏳ testing 대기 [Codex]
45
+ 10 ⏳ deployment 대기 [ClaudeCode]
46
+
47
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
48
+ 체크포인트: 2개 | 마지막 핸드오프: 03-planning
49
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
50
+ ```
51
+
52
+ ## 상태 아이콘
53
+
54
+ | 아이콘 | 의미 |
55
+ |--------|------|
56
+ | ✅ | 완료 (completed) |
57
+ | 🔄 | 진행중 (in_progress) |
58
+ | ⏳ | 대기 (pending) |
59
+ | ❌ | 실패 (failed) |
60
+ | ⏸️ | 일시중지 (paused) |
61
+
62
+ ## 옵션
63
+
64
+ | 옵션 | 설명 |
65
+ |------|------|
66
+ | `--json` | JSON 형식으로 출력 |
67
+ | `--brief` | 간략한 한 줄 상태만 출력 |
68
+
69
+ ## 사용 사례
70
+
71
+ - 새 세션 시작 시 현재 상태 파악
72
+ - 작업 전 진행 상황 확인
73
+ - 팀원에게 현재 상태 공유
@@ -0,0 +1,80 @@
1
+ # /tasks
2
+
3
+ 05-task-management 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /tasks
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 05-task-management |
15
+ | AI 모델 | ClaudeCode |
16
+ | 실행 모드 | Plan Mode |
17
+ | 체크포인트 | 선택 |
18
+
19
+ ## 동작
20
+
21
+ 1. **전제 조건 확인**
22
+ - 04-ui-ux 완료 여부
23
+ - wireframes/, component-spec.md 존재
24
+
25
+ 2. **태스크 분해**
26
+ - PRD 기반 태스크 추출
27
+ - 의존성 분석
28
+ - 스프린트 계획
29
+
30
+ 3. **산출물 생성**
31
+ - tasks.json - 태스크 목록 (구조화)
32
+ - sprints.md - 스프린트 계획
33
+
34
+ ## 실행
35
+
36
+ ```bash
37
+ scripts/run-stage.sh 05-task-management "$ARGUMENTS"
38
+ ```
39
+
40
+ ## 입력 파일
41
+
42
+ - `stages/03-planning/outputs/PRD.md`
43
+ - `stages/04-ui-ux/outputs/wireframes/`
44
+ - `stages/04-ui-ux/outputs/component-spec.md`
45
+
46
+ ## 출력 파일
47
+
48
+ - `stages/05-task-management/outputs/tasks.json`
49
+ - `stages/05-task-management/outputs/sprints.md`
50
+
51
+ ## tasks.json 구조
52
+
53
+ ```json
54
+ {
55
+ "tasks": [
56
+ {
57
+ "id": "T001",
58
+ "title": "사용자 인증 구현",
59
+ "sprint": 1,
60
+ "priority": "high",
61
+ "dependencies": [],
62
+ "estimate": "4h",
63
+ "status": "pending"
64
+ }
65
+ ]
66
+ }
67
+ ```
68
+
69
+ ## 관련 명령어
70
+
71
+ - `/run-stage 05` - 전제조건 확인 후 시작
72
+ - `/next` - 다음 스테이지 (06-implementation)
73
+ - `/ui-ux` - 이전 스테이지
74
+ - `/implement` - 구현 바로 시작
75
+
76
+ ## Tips
77
+
78
+ - 태스크는 4시간 이내로 분해
79
+ - 의존성 명확히 표시
80
+ - 스프린트당 5-7개 태스크 권장
@@ -0,0 +1,93 @@
1
+ # /test
2
+
3
+ 09-testing 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /test [test-type]
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 09-testing |
15
+ | AI 모델 | Codex |
16
+ | 실행 모드 | Sandbox + Playwright MCP |
17
+ | 체크포인트 | 선택 |
18
+
19
+ ## 동작
20
+
21
+ 1. **전제 조건 확인**
22
+ - 08-qa 완료 여부
23
+ - qa-report.md 존재
24
+
25
+ 2. **테스팅 실행**
26
+ - 통합 테스트
27
+ - E2E 테스트 (Playwright)
28
+ - 회귀 테스트
29
+
30
+ 3. **산출물 생성**
31
+ - test-results.md - 테스트 결과
32
+ - coverage-report.html - 커버리지
33
+
34
+ ## 실행
35
+
36
+ ```bash
37
+ scripts/run-stage.sh 09-testing "$ARGUMENTS"
38
+ ```
39
+
40
+ ## 입력 파일
41
+
42
+ - `stages/06-implementation/outputs/src/`
43
+ - `stages/06-implementation/outputs/tests/`
44
+ - `stages/08-qa/outputs/qa-report.md`
45
+
46
+ ## 출력 파일
47
+
48
+ - `stages/09-testing/outputs/test-results.md`
49
+ - `stages/09-testing/outputs/e2e-results/`
50
+ - `stages/09-testing/outputs/coverage/`
51
+
52
+ ## 테스트 유형
53
+
54
+ | 유형 | 도구 | 설명 |
55
+ |------|------|------|
56
+ | Unit | Jest/Vitest | 단위 테스트 |
57
+ | Integration | Testing Library | 통합 테스트 |
58
+ | E2E | Playwright | 엔드투엔드 |
59
+ | Visual | Playwright | 스크린샷 비교 |
60
+
61
+ ## Playwright MCP 활용
62
+
63
+ ```bash
64
+ # 브라우저 스냅샷
65
+ mcp__playwright__browser_snapshot
66
+
67
+ # 스크린샷
68
+ mcp__playwright__browser_take_screenshot
69
+
70
+ # 폼 테스트
71
+ mcp__playwright__browser_fill_form
72
+ ```
73
+
74
+ ## 관련 명령어
75
+
76
+ - `/run-stage 09` - 전제조건 확인 후 시작
77
+ - `/next` - 다음 스테이지 (10-deployment)
78
+ - `/qa` - 이전 스테이지
79
+ - `/deploy` - 배포 바로 시작
80
+
81
+ ## 커버리지 목표
82
+
83
+ | 메트릭 | 목표 |
84
+ |--------|------|
85
+ | Line | ≥ 80% |
86
+ | Branch | ≥ 70% |
87
+ | Function | ≥ 80% |
88
+
89
+ ## Tips
90
+
91
+ - E2E는 핵심 플로우 중심
92
+ - 실패 시 스크린샷 자동 저장
93
+ - CI에서 headless 모드 실행