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,142 @@
1
+ # /fork - Pipeline Forking Command
2
+
3
+ 파이프라인을 분기하여 여러 접근법을 동시에 탐색합니다.
4
+
5
+ ## 사용법
6
+
7
+ ```bash
8
+ /fork [options]
9
+ ```
10
+
11
+ ## 옵션
12
+
13
+ | 옵션 | 설명 | 기본값 |
14
+ |------|------|--------|
15
+ | `--reason` | 분기 이유 (필수) | - |
16
+ | `--name` | 분기 이름 | auto |
17
+ | `--direction` | 탐색 방향 설명 | - |
18
+ | `--compare` | 기존 분기와 비교 | false |
19
+ | `--merge` | 분기 병합 | false |
20
+ | `--list` | 활성 분기 목록 | false |
21
+
22
+ ## 기본 사용
23
+
24
+ ### 새 분기 생성
25
+ ```bash
26
+ /fork --reason "아키텍처 대안 탐색"
27
+ ```
28
+
29
+ ### 분기 목록 확인
30
+ ```bash
31
+ /fork --list
32
+ ```
33
+
34
+ ### 분기 비교
35
+ ```bash
36
+ /fork --compare
37
+ ```
38
+
39
+ ### 분기 병합
40
+ ```bash
41
+ /fork --merge --select "fork_03_alternative_a"
42
+ ```
43
+
44
+ ## 분기 프로세스
45
+
46
+ ```
47
+ 1. 현재 상태 체크포인트 생성
48
+ 2. 분기 디렉토리 생성 (state/forks/)
49
+ 3. 상태 복사
50
+ 4. 분기용 HANDOFF 생성
51
+ 5. 분기 작업 시작
52
+ ```
53
+
54
+ ## 분기 비교 출력
55
+
56
+ ```markdown
57
+ # Fork Comparison
58
+
59
+ ## Active Forks
60
+ | ID | Name | Stage | Progress | Created |
61
+ |----|------|-------|----------|---------|
62
+ | 1 | alternative_a | 06 | 60% | 2024-01-20 |
63
+ | 2 | alternative_b | 06 | 45% | 2024-01-20 |
64
+ | 3 | main | 06 | 100% | - |
65
+
66
+ ## Metrics Comparison
67
+ | Metric | Main | Alt A | Alt B |
68
+ |--------|------|-------|-------|
69
+ | Code Quality | 0.85 | 0.90 | 0.82 |
70
+ | Performance | 0.80 | 0.75 | 0.88 |
71
+ | Maintainability | 0.88 | 0.85 | 0.80 |
72
+
73
+ ## Recommendation
74
+ **Alt A** 권장: 더 높은 코드 품질
75
+ ```
76
+
77
+ ## 병합 전략
78
+
79
+ ### best_performer
80
+ ```bash
81
+ /fork --merge --strategy best_performer
82
+ ```
83
+ - 메트릭 기반 최고 성능 분기 선택
84
+
85
+ ### manual
86
+ ```bash
87
+ /fork --merge --strategy manual --select "fork_01"
88
+ ```
89
+ - 수동 선택
90
+
91
+ ### cherry_pick
92
+ ```bash
93
+ /fork --merge --strategy cherry_pick
94
+ ```
95
+ - 여러 분기에서 최적 부분 선택
96
+
97
+ ## 예시
98
+
99
+ ```bash
100
+ # 아키텍처 대안 탐색을 위한 분기
101
+ /fork --reason "REST vs GraphQL 비교" --direction "GraphQL 방식 구현"
102
+
103
+ # 현재 분기 상태 확인
104
+ /fork --list
105
+
106
+ # 분기 비교 및 메트릭 확인
107
+ /fork --compare
108
+
109
+ # 최고 성능 분기로 병합
110
+ /fork --merge --strategy best_performer
111
+ ```
112
+
113
+ ## 분기 저장 위치
114
+
115
+ ```
116
+ state/forks/
117
+ ├── fork_03_rest_20240120/
118
+ │ ├── source_code/
119
+ │ ├── state/
120
+ │ └── FORK_HANDOFF.md
121
+ ├── fork_03_graphql_20240120/
122
+ │ ├── source_code/
123
+ │ ├── state/
124
+ │ └── FORK_HANDOFF.md
125
+ └── comparison.json
126
+ ```
127
+
128
+ ## 설정
129
+
130
+ `config/pipeline_forking.yaml` 참조
131
+
132
+ ## 제한사항
133
+
134
+ - 최대 활성 분기: 3개
135
+ - 분기 최대 실행 시간: 2시간
136
+ - 병합 전 체크포인트 자동 생성
137
+
138
+ ## 관련 커맨드
139
+
140
+ - `/checkpoint` - 체크포인트 생성
141
+ - `/restore` - 체크포인트 복구
142
+ - `/status` - 파이프라인 상태
@@ -0,0 +1,84 @@
1
+ # /gemini
2
+
3
+ tmux 세션을 통해 Gemini CLI를 호출합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /gemini [prompt]
8
+ ```
9
+
10
+ ## 동작
11
+
12
+ 1. **tmux 세션 확인/생성**
13
+ - 세션명: `ax-gemini`
14
+ - 없으면 새로 생성
15
+
16
+ 2. **Gemini CLI 실행**
17
+ - 프롬프트 전송
18
+ - 응답 대기 (wait-for 방식)
19
+
20
+ 3. **결과 캡처 및 반환**
21
+ - 출력 파일에서 결과 읽기
22
+ - 사용자에게 표시
23
+
24
+ ## 실행 스크립트
25
+
26
+ ```bash
27
+ scripts/gemini-wrapper.sh "$ARGUMENTS"
28
+ ```
29
+
30
+ ## 예시
31
+
32
+ ```
33
+ /gemini Reddit의 r/programming에서 Claude Code 관련 최신 게시물을 요약해주세요
34
+
35
+ Gemini 호출 중...
36
+ 세션: ax-gemini
37
+ 타임아웃: 300초
38
+
39
+ [응답]
40
+ Reddit r/programming에서 Claude Code 관련 최신 게시물:
41
+
42
+ 1. "Claude Code로 전체 프로젝트 리팩토링한 경험" (3일 전)
43
+ - 200줄 이상의 함수를 깔끔하게 분리
44
+ - 테스트 커버리지 30% → 85%로 향상
45
+ - 장점: 컨텍스트 이해력, 단점: 큰 파일 처리 속도
46
+
47
+ 2. ...
48
+ ```
49
+
50
+ ## 활용 시나리오
51
+
52
+ ### 1. 브레인스토밍 (01-brainstorm)
53
+ ```
54
+ /gemini 다음 프로젝트에 대해 창의적인 아이디어 10개를 발산해주세요:
55
+ [프로젝트 설명]
56
+ ```
57
+
58
+ ### 2. 웹 리서치 (02-research)
59
+ ```
60
+ /gemini 최신 React 서버 컴포넌트 베스트 프랙티스를 웹에서 검색해주세요
61
+ ```
62
+
63
+ ### 3. 경쟁사 분석
64
+ ```
65
+ /gemini [경쟁사 URL]의 기능과 UI를 분석해주세요
66
+ ```
67
+
68
+ ## 타임아웃
69
+
70
+ 기본 타임아웃: 300초 (5분)
71
+
72
+ 변경:
73
+ ```
74
+ /gemini --timeout 600 [긴 작업 프롬프트]
75
+ ```
76
+
77
+ ## 제한사항
78
+ - Gemini CLI가 설치되어 있어야 함
79
+ - tmux가 설치되어 있어야 함
80
+ - 대화형 프롬프트는 지원하지 않음 (단발성 질의만)
81
+
82
+ ## 관련
83
+ - `/codex`: Codex CLI 호출
84
+ - `scripts/gemini-wrapper.sh`: 래퍼 스크립트
@@ -0,0 +1,80 @@
1
+ # /handoff
2
+
3
+ 현재 스테이지의 HANDOFF.md 문서를 생성합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /handoff
8
+ ```
9
+
10
+ ## 동작
11
+
12
+ 1. **현재 스테이지 확인**
13
+ - `state/progress.json`에서 현재 스테이지 조회
14
+
15
+ 2. **완료 조건 검증**
16
+ - 스테이지 config.yaml의 completion.checklist 확인
17
+ - 필수 출력 파일 존재 확인
18
+
19
+ 3. **HANDOFF.md 생성**
20
+ - `HANDOFF.md.template` 기반으로 생성
21
+ - 변수 치환 (타임스탬프, 산출물 등)
22
+ - 사용자 입력 받기 (핵심 결정사항 등)
23
+
24
+ 4. **상태 업데이트**
25
+ - `state/progress.json` 핸드오프 완료 표시
26
+ - `state/handoffs/` 디렉토리에 복사본 저장
27
+
28
+ 5. **다음 스테이지 안내**
29
+ - 다음 스테이지 정보 표시
30
+ - `/run-stage [next]` 명령어 안내
31
+
32
+ ## 실행 스크립트
33
+
34
+ ```bash
35
+ scripts/create-handoff.sh
36
+ ```
37
+
38
+ ## 예시
39
+
40
+ ```
41
+ /handoff
42
+
43
+ 현재 스테이지: 01-brainstorm
44
+
45
+ 완료 조건 검증:
46
+ ✓ 최소 10개 아이디어 생성
47
+ ✓ 3개 이상 사용자 페르소나 정의
48
+ ✓ 요구사항 분석 문서 완성
49
+
50
+ 핵심 결정사항을 입력해주세요:
51
+ > MVP는 인증, 핵심기능 A, 핵심기능 B로 한정
52
+
53
+ HANDOFF.md 생성 완료!
54
+ - 위치: stages/01-brainstorm/HANDOFF.md
55
+ - 백업: state/handoffs/01-brainstorm-20240120-1030.md
56
+
57
+ 다음 단계:
58
+ /run-stage 02-research
59
+ ```
60
+
61
+ ## 완료 조건 미충족 시
62
+
63
+ ```
64
+ /handoff
65
+
66
+ 현재 스테이지: 01-brainstorm
67
+
68
+ 완료 조건 검증:
69
+ ✓ 최소 10개 아이디어 생성
70
+ ✗ 3개 이상 사용자 페르소나 정의 (현재: 2개)
71
+ ✓ 요구사항 분석 문서 완성
72
+
73
+ 완료 조건을 충족해주세요.
74
+ 또는 --force 옵션으로 강제 생성:
75
+ /handoff --force
76
+ ```
77
+
78
+ ## 옵션
79
+ - `--force`: 완료 조건 미충족 시에도 강제 생성
80
+ - `--draft`: 초안으로 생성 (다음 스테이지 진행 불가)
@@ -0,0 +1,82 @@
1
+ # /implement
2
+
3
+ 06-implementation 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /implement [task-id]
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 06-implementation |
15
+ | AI 모델 | ClaudeCode |
16
+ | 실행 모드 | Plan Mode + Sandbox |
17
+ | 체크포인트 | **필수** |
18
+ | 타임아웃 | 240분 (최장) |
19
+
20
+ ## 동작
21
+
22
+ 1. **전제 조건 확인**
23
+ - 05-task-management 완료 여부
24
+ - tasks.json 존재
25
+
26
+ 2. **구현 실행**
27
+ - 태스크별 구현
28
+ - 단위 테스트 작성
29
+ - 코드 품질 검증
30
+
31
+ 3. **산출물 생성**
32
+ - src/ - 소스코드
33
+ - tests/ - 단위 테스트
34
+ - implementation-notes.md
35
+
36
+ ## 실행
37
+
38
+ ```bash
39
+ scripts/run-stage.sh 06-implementation "$ARGUMENTS"
40
+ ```
41
+
42
+ ## 입력 파일
43
+
44
+ - `stages/05-task-management/outputs/tasks.json`
45
+ - `stages/05-task-management/outputs/sprints.md`
46
+ - `stages/04-ui-ux/outputs/wireframes/`
47
+
48
+ ## 출력 파일
49
+
50
+ - `stages/06-implementation/outputs/src/`
51
+ - `stages/06-implementation/outputs/tests/`
52
+ - `stages/06-implementation/outputs/implementation-notes.md`
53
+
54
+ ## 체크포인트 필수!
55
+
56
+ 이 스테이지는 **체크포인트 필수**입니다:
57
+
58
+ ```bash
59
+ # 주요 마일스톤마다 실행
60
+ /checkpoint "스프린트 1 완료"
61
+ ```
62
+
63
+ ## 완료 조건
64
+
65
+ - [ ] 모든 태스크 구현 완료
66
+ - [ ] 단위 테스트 통과
67
+ - [ ] 린트/타입 체크 통과
68
+ - [ ] 체크포인트 생성 완료
69
+
70
+ ## 관련 명령어
71
+
72
+ - `/run-stage 06` - 전제조건 확인 후 시작
73
+ - `/next` - 다음 스테이지 (07-refactoring)
74
+ - `/tasks` - 이전 스테이지
75
+ - `/checkpoint` - 체크포인트 생성
76
+ - `/restore` - 체크포인트 복구
77
+
78
+ ## Tips
79
+
80
+ - 스프린트 단위로 체크포인트 생성
81
+ - 테스트와 함께 구현
82
+ - implementation-notes.md에 결정사항 기록
@@ -0,0 +1,49 @@
1
+ # /init-project
2
+
3
+ 새 프로젝트를 ax-templates 워크플로우로 초기화합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /init-project [project-name]
8
+ ```
9
+
10
+ ## 동작
11
+
12
+ 1. **프로젝트 디렉토리 생성**
13
+ - `projects/[project-name]/` 생성
14
+ - 스테이지별 작업 디렉토리 생성
15
+
16
+ 2. **상태 파일 초기화**
17
+ - `state/progress.json` 프로젝트 정보 업데이트
18
+ - 타임스탬프 기록
19
+
20
+ 3. **입력 파일 준비**
21
+ - `stages/01-brainstorm/inputs/project_brief.md` 템플릿 생성
22
+
23
+ 4. **첫 스테이지 안내**
24
+ - 01-brainstorm 스테이지 CLAUDE.md 안내
25
+
26
+ ## 실행 스크립트
27
+
28
+ ```bash
29
+ scripts/init-project.sh "$ARGUMENTS"
30
+ ```
31
+
32
+ ## 예시
33
+
34
+ ```
35
+ /init-project my-saas-app
36
+
37
+ 출력:
38
+ ✓ 프로젝트 'my-saas-app' 초기화 완료
39
+ ✓ 작업 디렉토리: projects/my-saas-app/
40
+ ✓ 상태 파일 업데이트됨
41
+
42
+ 다음 단계:
43
+ 1. stages/01-brainstorm/inputs/project_brief.md 작성
44
+ 2. /run-stage 01-brainstorm 실행
45
+ ```
46
+
47
+ ## 주의사항
48
+ - 프로젝트 이름은 영문 소문자, 숫자, 하이픈만 허용
49
+ - 기존 프로젝트 덮어쓰기 불가
@@ -0,0 +1,125 @@
1
+ # /next
2
+
3
+ 현재 스테이지를 완료하고 다음 스테이지로 전환합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /next
8
+ /next --force # 조건 검증 건너뛰기
9
+ /next --preview # 전환 미리보기
10
+ ```
11
+
12
+ ## 동작
13
+
14
+ 1. **현재 스테이지 완료 조건 검증**
15
+ - outputs 파일 존재 확인
16
+ - 필수 체크포인트 확인 (해당 시)
17
+ - config.yaml의 completion_criteria 검증
18
+
19
+ 2. **HANDOFF.md 자동 생성**
20
+ - 완료된 작업 요약
21
+ - 핵심 결정사항
22
+ - 다음 단계 안내
23
+
24
+ 3. **상태 업데이트**
25
+ - 현재 스테이지: `completed`
26
+ - 다음 스테이지: `in_progress`
27
+ - progress.json 업데이트
28
+
29
+ 4. **다음 스테이지 시작**
30
+ - 다음 스테이지 CLAUDE.md 로드
31
+ - 입력 파일 확인
32
+
33
+ ## 실행 스크립트
34
+
35
+ ```bash
36
+ scripts/next-stage.sh "$ARGUMENTS"
37
+ ```
38
+
39
+ ## 출력 예시
40
+
41
+ ### 성공적인 전환
42
+ ```
43
+ /next
44
+
45
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
46
+ 🔄 스테이지 전환
47
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
48
+ 현재: 04-ui-ux → 다음: 05-task-management
49
+
50
+ [완료 조건 검증]
51
+ ✓ wireframes/ 디렉토리 존재
52
+ ✓ component-spec.md 생성됨
53
+ ✓ design-system.md 생성됨
54
+
55
+ [HANDOFF.md 생성]
56
+ ✓ stages/04-ui-ux/HANDOFF.md 생성됨
57
+
58
+ [상태 업데이트]
59
+ ✓ 04-ui-ux: completed
60
+ ✓ 05-task-management: in_progress
61
+ ✓ progress.json 업데이트됨
62
+
63
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
64
+ ✅ 05-task-management 스테이지 시작!
65
+
66
+ 다음 작업:
67
+ 1. stages/05-task-management/CLAUDE.md 참조
68
+ 2. PRD.md 기반 태스크 분해 시작
69
+ 3. /tasks 명령어로 바로 시작 가능
70
+
71
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
72
+ ```
73
+
74
+ ### 조건 미충족
75
+ ```
76
+ /next
77
+
78
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
79
+ ⚠️ 스테이지 전환 불가
80
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
81
+ 현재: 06-implementation
82
+
83
+ [완료 조건 검증]
84
+ ✓ src/ 디렉토리 존재
85
+ ✓ 구현 파일 생성됨
86
+ ✗ 체크포인트 필수 (미생성)
87
+ ✗ tests/ 통과 확인 필요
88
+
89
+ 다음 단계:
90
+ 1. /checkpoint 실행
91
+ 2. 테스트 실행 후 결과 확인
92
+ 3. /next --force로 강제 전환 (비권장)
93
+
94
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
95
+ ```
96
+
97
+ ## 옵션
98
+
99
+ | 옵션 | 설명 |
100
+ |------|------|
101
+ | `--force` | 완료 조건 검증 건너뛰기 (비권장) |
102
+ | `--preview` | 전환 미리보기만 (실제 전환 안 함) |
103
+ | `--no-handoff` | HANDOFF.md 생성 안 함 |
104
+
105
+ ## 완료 조건 (스테이지별)
106
+
107
+ | 스테이지 | 필수 outputs | 체크포인트 |
108
+ |----------|-------------|-----------|
109
+ | 01-brainstorm | ideas.md, decisions.md | - |
110
+ | 02-research | research.md, tech-stack.md | - |
111
+ | 03-planning | PRD.md, architecture.md | - |
112
+ | 04-ui-ux | wireframes/, components.md | - |
113
+ | 05-task-mgmt | tasks.json, sprints.md | - |
114
+ | 06-implementation | src/, tests/ | ✅ 필수 |
115
+ | 07-refactoring | (변경된 src/) | ✅ 필수 |
116
+ | 08-qa | qa-report.md | - |
117
+ | 09-testing | test-results.md | - |
118
+ | 10-deployment | CI/CD 완료 | - |
119
+
120
+ ## 관련 명령어
121
+
122
+ - `/status` - 현재 상태 확인
123
+ - `/handoff` - HANDOFF.md만 생성
124
+ - `/checkpoint` - 체크포인트 생성
125
+ - `/run-stage [id]` - 특정 스테이지로 이동
@@ -0,0 +1,69 @@
1
+ # /planning
2
+
3
+ 03-planning 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /planning
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 03-planning |
15
+ | AI 모델 | Gemini |
16
+ | 실행 모드 | Plan Mode |
17
+ | 체크포인트 | 선택 |
18
+
19
+ ## 동작
20
+
21
+ 1. **전제 조건 확인**
22
+ - 02-research 완료 여부
23
+ - research.md, tech-stack.md 존재
24
+
25
+ 2. **기획 실행**
26
+ - PRD (Product Requirements Document) 작성
27
+ - 아키텍처 설계
28
+ - 기술 명세
29
+
30
+ 3. **산출물 생성**
31
+ - PRD.md - 제품 요구사항 문서
32
+ - architecture.md - 아키텍처 설계
33
+
34
+ ## 실행
35
+
36
+ ```bash
37
+ scripts/run-stage.sh 03-planning "$ARGUMENTS"
38
+ ```
39
+
40
+ ## 입력 파일
41
+
42
+ - `stages/02-research/outputs/research.md`
43
+ - `stages/02-research/outputs/tech-stack.md`
44
+
45
+ ## 출력 파일
46
+
47
+ - `stages/03-planning/outputs/PRD.md`
48
+ - `stages/03-planning/outputs/architecture.md`
49
+
50
+ ## 관련 명령어
51
+
52
+ - `/run-stage 03` - 전제조건 확인 후 시작
53
+ - `/next` - 다음 스테이지 (04-ui-ux)
54
+ - `/research` - 이전 스테이지
55
+ - `/gemini` - Gemini CLI 직접 호출
56
+
57
+ ## PRD 구조
58
+
59
+ ```markdown
60
+ # PRD: [프로젝트명]
61
+
62
+ ## 개요
63
+ ## 목표
64
+ ## 기능 요구사항
65
+ ## 비기능 요구사항
66
+ ## 기술 스택
67
+ ## 일정
68
+ ## 위험 요소
69
+ ```
@@ -0,0 +1,81 @@
1
+ # /qa
2
+
3
+ 08-qa 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /qa [focus-area]
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 08-qa |
15
+ | AI 모델 | ClaudeCode |
16
+ | 실행 모드 | Plan Mode + Sandbox |
17
+ | 체크포인트 | 선택 |
18
+
19
+ ## 동작
20
+
21
+ 1. **전제 조건 확인**
22
+ - 07-refactoring 완료 여부
23
+ - src/, tests/ 존재
24
+
25
+ 2. **QA 실행**
26
+ - 코드 품질 검사
27
+ - 보안 취약점 스캔
28
+ - 성능 분석
29
+
30
+ 3. **산출물 생성**
31
+ - qa-report.md - QA 보고서
32
+ - issues.json - 발견된 이슈
33
+
34
+ ## 실행
35
+
36
+ ```bash
37
+ scripts/run-stage.sh 08-qa "$ARGUMENTS"
38
+ ```
39
+
40
+ ## 입력 파일
41
+
42
+ - `stages/06-implementation/outputs/src/`
43
+ - `stages/07-refactoring/outputs/refactoring-report.md`
44
+
45
+ ## 출력 파일
46
+
47
+ - `stages/08-qa/outputs/qa-report.md`
48
+ - `stages/08-qa/outputs/issues.json`
49
+ - `stages/08-qa/outputs/security-audit.md`
50
+
51
+ ## QA 체크리스트
52
+
53
+ ### 코드 품질
54
+ - [ ] 린트 규칙 통과
55
+ - [ ] 타입 체크 통과
56
+ - [ ] 코드 복잡도 검사
57
+ - [ ] 테스트 커버리지 확인
58
+
59
+ ### 보안
60
+ - [ ] 의존성 취약점 스캔
61
+ - [ ] 하드코딩된 시크릿 검사
62
+ - [ ] OWASP Top 10 검토
63
+
64
+ ### 성능
65
+ - [ ] 번들 크기 분석
66
+ - [ ] 렌더링 성능
67
+ - [ ] 메모리 사용량
68
+
69
+ ## 관련 명령어
70
+
71
+ - `/run-stage 08` - 전제조건 확인 후 시작
72
+ - `/next` - 다음 스테이지 (09-testing)
73
+ - `/refactor` - 이전 스테이지
74
+ - `/test` - 테스팅 바로 시작
75
+
76
+ ## QA 도구
77
+
78
+ - ESLint/Prettier - 코드 스타일
79
+ - TypeScript - 타입 검사
80
+ - npm audit - 보안 스캔
81
+ - Coverage - 테스트 커버리지