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,58 @@
1
+ # Market Analysis Prompt
2
+
3
+ ## 사용 모델
4
+ Claude (MCP 서버 연동)
5
+
6
+ ## 프롬프트
7
+
8
+ ```
9
+ 당신은 시장 분석 전문가입니다.
10
+
11
+ 다음 프로젝트의 시장 분석을 수행해주세요:
12
+
13
+ ---
14
+ ## 프로젝트 개요
15
+ {{PROJECT_OVERVIEW}}
16
+
17
+ ## 타겟 시장
18
+ {{TARGET_MARKET}}
19
+ ---
20
+
21
+ ## 분석 항목
22
+
23
+ ### 1. 시장 규모
24
+ - TAM (Total Addressable Market)
25
+ - SAM (Serviceable Addressable Market)
26
+ - SOM (Serviceable Obtainable Market)
27
+
28
+ ### 2. 경쟁사 분석
29
+ 최소 3개 경쟁사에 대해:
30
+
31
+ | 경쟁사 | 강점 | 약점 | 가격 | 타겟 | 차별점 |
32
+ |--------|------|------|------|------|--------|
33
+
34
+ ### 3. 시장 트렌드
35
+ - 성장 트렌드
36
+ - 기술 트렌드
37
+ - 사용자 행동 변화
38
+
39
+ ### 4. 진입 장벽
40
+ - 기술적 장벽
41
+ - 자본 장벽
42
+ - 네트워크 효과
43
+ - 규제 장벽
44
+
45
+ ### 5. 기회와 위협 (SWOT 일부)
46
+ - Opportunities
47
+ - Threats
48
+
49
+ ## MCP 활용
50
+ - firecrawl: 경쟁사 웹사이트 크롤링
51
+ - exa: 시장 리포트 및 뉴스 검색
52
+
53
+ ## 출력 형식
54
+ 구조화된 시장 분석 보고서
55
+ ```
56
+
57
+ ## 기대 출력
58
+ `outputs/market_analysis.md`
@@ -0,0 +1,60 @@
1
+ # Tech Stack Research Prompt
2
+
3
+ ## 사용 모델
4
+ Claude (MCP 서버 연동)
5
+
6
+ ## 프롬프트
7
+
8
+ ```
9
+ 당신은 시니어 솔루션 아키텍트입니다.
10
+
11
+ 다음 요구사항을 바탕으로 최적의 기술 스택을 조사해주세요:
12
+
13
+ ---
14
+ ## 요구사항
15
+ {{REQUIREMENTS}}
16
+
17
+ ## MVP 기능
18
+ {{MVP_FEATURES}}
19
+ ---
20
+
21
+ ## 조사 항목
22
+
23
+ ### 1. 프론트엔드
24
+ 각 옵션에 대해:
25
+ - 프레임워크/라이브러리 이름
26
+ - 장점 / 단점
27
+ - 학습 곡선
28
+ - 커뮤니티/생태계
29
+ - 성능 특성
30
+ - 권장 사용 사례
31
+
32
+ 비교 대상: React, Vue, Svelte, Next.js, Nuxt 등
33
+
34
+ ### 2. 백엔드
35
+ 비교 대상: Node.js, Python, Go, Rust 등
36
+ 각각의 프레임워크 포함 (Express, FastAPI, Gin 등)
37
+
38
+ ### 3. 데이터베이스
39
+ - 관계형: PostgreSQL, MySQL
40
+ - NoSQL: MongoDB, Redis
41
+ - NewSQL: CockroachDB, PlanetScale
42
+
43
+ ### 4. 인프라
44
+ - 클라우드: AWS, GCP, Azure, Vercel, Railway
45
+ - 컨테이너: Docker, Kubernetes
46
+ - 서버리스: Lambda, Cloud Functions
47
+
48
+ ### 5. 개발 도구
49
+ - 버전 관리, CI/CD, 모니터링, 로깅
50
+
51
+ ## MCP 활용
52
+ - context7로 각 기술의 공식 문서 확인
53
+ - exa로 최신 비교 분석 기사 검색
54
+
55
+ ## 출력 형식
56
+ 기술 스택 비교표와 최종 권장안을 마크다운으로 작성
57
+ ```
58
+
59
+ ## 기대 출력
60
+ `outputs/tech_research.md`
@@ -0,0 +1,51 @@
1
+ # 산출물 검증 프롬프트 - Research
2
+
3
+ ## 검증 대상
4
+
5
+ | 산출물 | 필수 조건 | 검증 방법 |
6
+ |--------|----------|----------|
7
+ | `tech_research.md` | 기술 스택 비교표 | 구조 확인 |
8
+ | `market_analysis.md` | 경쟁사 3개+ 분석 | 수량 확인 |
9
+ | `feasibility_report.md` | 리스크 섹션 포함 | 구조 확인 |
10
+ | `HANDOFF.md` | 핵심 결정사항 | 항목 확인 |
11
+
12
+ ## 검증 명령
13
+
14
+ ```bash
15
+ /validate --stage 02-research
16
+ ```
17
+
18
+ ## 품질 기준
19
+
20
+ ### tech_research.md
21
+ - [ ] 기술 스택 비교표 포함
22
+ - [ ] 각 기술의 장단점 분석
23
+ - [ ] 학습 곡선 평가
24
+ - [ ] 커뮤니티/생태계 평가
25
+
26
+ ### market_analysis.md
27
+ - [ ] 경쟁사 3개 이상 분석
28
+ - [ ] 시장 규모 및 트렌드
29
+ - [ ] 진입 장벽 분석
30
+ - [ ] 차별화 포인트
31
+
32
+ ### feasibility_report.md
33
+ - [ ] 기술적 실현 가능성
34
+ - [ ] 시간/리소스 요구사항
35
+ - [ ] 리스크 평가 및 대응 방안
36
+ - [ ] Go/No-Go 권고
37
+
38
+ ### HANDOFF.md
39
+ - [ ] 완료된 리서치 체크리스트
40
+ - [ ] 핵심 발견 사항
41
+ - [ ] 권장 기술 스택
42
+
43
+ ## 자동 검증 스크립트
44
+
45
+ ```bash
46
+ # 경쟁사 분석 수 확인
47
+ grep -c "^### " outputs/market_analysis.md
48
+
49
+ # 리스크 섹션 확인
50
+ grep -E "^## 리스크|Risk" outputs/feasibility_report.md
51
+ ```
File without changes
@@ -0,0 +1,98 @@
1
+ # Stage 03: Planning
2
+
3
+ 시스템 아키텍처 및 기술 스택 결정 단계
4
+
5
+ ## 🎭 페르소나: Strategic Architect
6
+
7
+ > 당신은 Strategic Architect입니다.
8
+ > 큰 그림을 설계하고, 체계적인 계획을 수립하세요.
9
+ > 리스크를 미리 식별하고 대안을 준비하세요.
10
+
11
+ ### 특성
12
+ - 전략적 사고
13
+ - 구조화 능력
14
+ - 리스크 평가
15
+ - 우선순위 판단
16
+
17
+ ### 권장 행동
18
+ - 전체 그림 설계
19
+ - 마일스톤 정의
20
+ - 리스크 식별
21
+ - 대안 경로 제안
22
+
23
+ ### 지양 행동
24
+ - 세부 구현에 집중
25
+ - 단기적 관점만 고려
26
+ - 단일 경로만 제시
27
+
28
+ ### AI 설정
29
+ - **Temperature**: 0.6 (균형 잡힌 창의성)
30
+ - **구조화 강조**: High
31
+
32
+ ## 실행 모델
33
+ - **Primary**: Gemini (아키텍처 설계, 다이어그램)
34
+ - **Mode**: Plan Mode - 구조화된 설계
35
+
36
+ ## 목표
37
+ 1. 시스템 아키텍처 설계
38
+ 2. 기술 스택 최종 결정
39
+ 3. 프로젝트 계획 수립
40
+ 4. 마일스톤 정의
41
+
42
+ ## 입력 파일
43
+ - `../02-research/outputs/tech_research.md`
44
+ - `../02-research/outputs/feasibility_report.md`
45
+ - `../02-research/HANDOFF.md`
46
+
47
+ ## 출력 파일
48
+ - `outputs/architecture.md` - 시스템 아키텍처
49
+ - `outputs/tech_stack.md` - 기술 스택 결정
50
+ - `outputs/project_plan.md` - 프로젝트 계획
51
+ - `outputs/implementation.yaml` - **구현 규칙 설정** (템플릿: `config/implementation.yaml.template`)
52
+ - `HANDOFF.md` - 다음 스테이지 인계 문서
53
+
54
+ ### ⚠️ implementation.yaml 필수 작성
55
+ `config/implementation.yaml.template`를 기반으로 프로젝트 구현 규칙을 정의하세요:
56
+ - 컴포넌트 타입 (functional/class)
57
+ - 스타일링 방식 (css-modules/tailwind/styled-components)
58
+ - 상태 관리 (context/redux/zustand)
59
+ - 네이밍 규칙 (PascalCase/kebab-case)
60
+ - 폴더 구조 (feature-based/type-based)
61
+
62
+ ## 워크플로우
63
+
64
+ ### 1. 아키텍처 설계
65
+ - 시스템 컴포넌트 정의
66
+ - 데이터 흐름 설계
67
+ - API 설계 개요
68
+ - 인프라 구성
69
+
70
+ ### 2. 기술 스택 확정
71
+ - Research 단계 권장 스택 검토
72
+ - 최종 선택 및 근거 문서화
73
+ - 버전 및 의존성 정의
74
+
75
+ ### 3. 프로젝트 계획
76
+ - 스프린트 계획
77
+ - 마일스톤 정의
78
+ - 리소스 할당
79
+
80
+ ## 아키텍처 다이어그램 포함 항목
81
+ - 시스템 컨텍스트 다이어그램
82
+ - 컨테이너 다이어그램
83
+ - 컴포넌트 다이어그램
84
+ - 시퀀스 다이어그램 (핵심 플로우)
85
+
86
+ ## 완료 조건
87
+ - [ ] 시스템 아키텍처 문서 작성
88
+ - [ ] 기술 스택 최종 결정
89
+ - [ ] 프로젝트 계획 수립
90
+ - [ ] 마일스톤 3개 이상 정의
91
+ - [ ] HANDOFF.md 생성
92
+
93
+ ## 다음 스테이지
94
+ → **04-ui-ux**: 사용자 인터페이스 및 경험 설계
95
+
96
+
97
+
98
+
@@ -0,0 +1,168 @@
1
+ # HANDOFF: 03-planning → 04-ui-ux
2
+
3
+ > 생성일: 2026-01-21
4
+ > 프로젝트: snake-game
5
+ > 현재 스테이지: 03-planning (완료)
6
+ > 다음 스테이지: 04-ui-ux
7
+
8
+ ---
9
+
10
+ ## ✅ 완료된 작업
11
+
12
+ - [x] 시스템 아키텍처 설계 (컴포넌트 구조, 데이터 흐름)
13
+ - [x] 기술 스택 최종 결정 (React 18 + TypeScript 5 + Vite 5 + Canvas API)
14
+ - [x] 커스텀 훅 설계 (useGameLoop, useKeyboard, useSwipe, useHighScore)
15
+ - [x] 타입 정의 (Point, Direction, GameStatus, GameState, GameAction)
16
+ - [x] 게임 설정 상수 정의 (GAME_CONFIG, COLORS, DIRECTION_VECTORS)
17
+ - [x] 프로젝트 계획 수립 (마일스톤, 스프린트 계획)
18
+ - [x] 구현 규칙 정의 (implementation.yaml)
19
+
20
+ ---
21
+
22
+ ## 📋 핵심 아키텍처 결정사항
23
+
24
+ ### 1. 컴포넌트 구조 (하이브리드)
25
+
26
+ ```
27
+ App
28
+ └── GameEngine (상태 관리, 이벤트 처리)
29
+ ├── CanvasLayer (Canvas 렌더링)
30
+ └── UIOverlay (React UI)
31
+ ├── ScoreBoard
32
+ ├── GameOverModal
33
+ ├── StartScreen
34
+ └── MobileControls
35
+ ```
36
+
37
+ ### 2. 데이터 흐름
38
+
39
+ - **useReducer**: UI 리렌더링 필요한 상태 (score, status)
40
+ - **useRef**: 빠른 업데이트 (direction buffer, animationFrameId)
41
+ - **Canvas 직접 조작**: 게임 렌더링 (리렌더링 최소화)
42
+
43
+ ### 3. 게임 루프
44
+
45
+ ```typescript
46
+ requestAnimationFrame 기반
47
+ ├── deltaTime 계산
48
+ ├── dispatch({ type: 'TICK' })
49
+ └── Canvas.draw()
50
+ ```
51
+
52
+ ---
53
+
54
+ ## 📁 생성된 산출물
55
+
56
+ | 파일 | 설명 |
57
+ |------|------|
58
+ | `outputs/architecture.md` | 시스템 아키텍처 상세 설계 |
59
+ | `outputs/tech_stack.md` | 기술 스택 결정 및 근거 |
60
+ | `outputs/project_plan.md` | 프로젝트 계획 및 마일스톤 |
61
+ | `outputs/implementation.yaml` | 구현 규칙 설정 |
62
+ | `HANDOFF.md` | 이 문서 |
63
+
64
+ ---
65
+
66
+ ## 🎨 UI/UX 스테이지 입력 정보
67
+
68
+ ### 화면 구성 요소
69
+
70
+ | 화면 | 구성 요소 |
71
+ |------|----------|
72
+ | **시작 화면** | 타이틀, 시작 버튼, 최고 점수 |
73
+ | **게임 화면** | Canvas(뱀/먹이/그리드), 점수판 |
74
+ | **일시정지** | 오버레이, 재개/재시작 버튼 |
75
+ | **게임 오버** | 모달, 최종 점수, 최고 점수, 재시작 버튼 |
76
+ | **모바일** | 방향 버튼 (상하좌우) |
77
+
78
+ ### 색상 시스템 (확정)
79
+
80
+ ```yaml
81
+ background: "#1a1a2e" # 다크 배경
82
+ grid: "#16213e" # 그리드 라인
83
+ snake: "#00ff88" # 뱀 몸통 (네온 그린)
84
+ snake_head: "#00cc6a" # 뱀 머리 (진한 그린)
85
+ food: "#ff6b6b" # 먹이 (레드)
86
+ text: "#ffffff" # 텍스트 (화이트)
87
+ ```
88
+
89
+ ### 반응형 기준
90
+
91
+ | 브레이크포인트 | 대상 |
92
+ |--------------|------|
93
+ | < 480px | 모바일 (터치 컨트롤 활성화) |
94
+ | 480px - 768px | 태블릿 |
95
+ | > 768px | 데스크톱 |
96
+
97
+ ### 게임 보드 크기
98
+
99
+ ```yaml
100
+ boardSize: 20 # 20x20 그리드
101
+ cellSize: 20px # 각 셀 20px
102
+ totalSize: 400x400px # 게임 보드 총 크기
103
+ ```
104
+
105
+ ---
106
+
107
+ ## 🔜 04-ui-ux 스테이지 작업
108
+
109
+ ### 필수 산출물
110
+
111
+ 1. **wireframes.md**
112
+ - 시작 화면 와이어프레임
113
+ - 게임 화면 와이어프레임 (데스크톱/모바일)
114
+ - 게임 오버 모달 와이어프레임
115
+
116
+ 2. **design-tokens.md**
117
+ - 색상 토큰
118
+ - 타이포그래피
119
+ - 간격 시스템
120
+ - 애니메이션 토큰
121
+
122
+ 3. **HANDOFF.md**
123
+
124
+ ### 고려 사항
125
+
126
+ - 레트로 게임 느낌 (네온 색상, 픽셀 폰트 고려)
127
+ - 미니멀한 UI (게임에 집중)
128
+ - 모바일 터치 영역 충분히 확보 (44x44px 최소)
129
+ - 접근성 (키보드 네비게이션, 색상 대비)
130
+
131
+ ---
132
+
133
+ ## ⚠️ 제약 사항
134
+
135
+ 1. **순수 React + Canvas**: 외부 게임 엔진 미사용
136
+ 2. **함수형 컴포넌트**: Class 컴포넌트 미사용
137
+ 3. **CSS Modules**: 스타일 스코프 격리
138
+ 4. **60fps 목표**: Canvas 렌더링 최적화
139
+
140
+ ---
141
+
142
+ ## 📊 AI 호출 기록
143
+
144
+ | AI | 시간 | 도구 | 결과 | 상태 |
145
+ |----|------|------|------|------|
146
+ | Gemini | 12:25 | tmux wrapper | 아키텍처 설계 | ✅ |
147
+ | ClaudeCode | 12:30 | - | architecture.md 작성 | ✅ |
148
+ | ClaudeCode | 12:32 | - | tech_stack.md 작성 | ✅ |
149
+ | ClaudeCode | 12:35 | - | project_plan.md 작성 | ✅ |
150
+ | ClaudeCode | 12:36 | - | implementation.yaml 작성 | ✅ |
151
+
152
+ ---
153
+
154
+ ## 🚀 다음 단계
155
+
156
+ ```bash
157
+ # 다음 스테이지 실행
158
+ /run-stage 04-ui-ux
159
+
160
+ # 또는
161
+ /ui-ux
162
+ ```
163
+
164
+ ---
165
+
166
+ **생성자**: ClaudeCode + Gemini
167
+ **검토자**: -
168
+ **승인**: 대기
@@ -0,0 +1,91 @@
1
+ # Stage Handoff: 03-planning → 04-ui-ux
2
+
3
+ **생성일**: {{TIMESTAMP}}
4
+ **생성자**: Gemini
5
+ **소요 시간**: {{DURATION}}
6
+
7
+ ---
8
+
9
+ ## 완료된 작업
10
+
11
+ - [ ] 시스템 아키텍처 설계
12
+ - [ ] 기술 스택 최종 결정
13
+ - [ ] 프로젝트 계획 수립
14
+ - [ ] 마일스톤 정의
15
+ - [ ] HANDOFF.md 생성
16
+
17
+ ---
18
+
19
+ ## 다음 에이전트를 위한 컨텍스트
20
+
21
+ ### 아키텍처 요약
22
+ - **스타일**: {{ARCH_STYLE}}
23
+ - **주요 컴포넌트**: {{COMPONENTS}}
24
+
25
+ ### 확정 기술 스택
26
+
27
+ | 영역 | 기술 | 버전 |
28
+ |------|------|------|
29
+ | Frontend | {{FRONTEND}} | |
30
+ | Backend | {{BACKEND}} | |
31
+ | Database | {{DATABASE}} | |
32
+ | Auth | {{AUTH}} | |
33
+ | Hosting | {{HOSTING}} | |
34
+
35
+ ### 마일스톤
36
+
37
+ | # | 이름 | 목표 | 산출물 |
38
+ |---|------|------|--------|
39
+ | M1 | {{M1_NAME}} | {{M1_GOAL}} | |
40
+ | M2 | {{M2_NAME}} | {{M2_GOAL}} | |
41
+ | M3 | {{M3_NAME}} | {{M3_GOAL}} | |
42
+
43
+ ### UI/UX 고려사항
44
+ - {{UI_CONSIDERATION_1}}
45
+ - {{UI_CONSIDERATION_2}}
46
+
47
+ ---
48
+
49
+ ## 생성된 산출물
50
+
51
+ | 파일 | 설명 |
52
+ |------|------|
53
+ | architecture.md | 시스템 아키텍처 |
54
+ | tech_stack.md | 기술 스택 결정 |
55
+ | project_plan.md | 프로젝트 계획 |
56
+
57
+ ---
58
+
59
+ ## 04-ui-ux 스테이지 가이드
60
+
61
+ ### 즉시 실행할 작업
62
+ 1. 아키텍처 기반 화면 구조 설계
63
+ 2. 사용자 플로우 정의
64
+ 3. 디자인 시스템 기초 수립
65
+
66
+ ### 참조 문서
67
+ - `architecture.md` - 컴포넌트 구조
68
+ - `../01-brainstorm/outputs/personas.md` - 사용자 페르소나
69
+
70
+ ---
71
+
72
+ ## AI 호출 기록
73
+
74
+ | AI | 호출 시간 | 프롬프트 | 결과 | 상태 |
75
+ |----|----------|---------|------|------|
76
+ | {{AI_1}} | {{TIME_1}} | {{PROMPT_1}} | {{OUTPUT_1}} | {{STATUS_1}} |
77
+ | {{AI_2}} | {{TIME_2}} | {{PROMPT_2}} | {{OUTPUT_2}} | {{STATUS_2}} |
78
+
79
+ > 설정: `config/ai_logging.yaml`
80
+
81
+ ---
82
+
83
+ ## 메타데이터
84
+
85
+ ```yaml
86
+ stage: "03-planning"
87
+ status: "completed"
88
+ next_stage: "04-ui-ux"
89
+ models_used:
90
+ - gemini
91
+ ```
@@ -0,0 +1,64 @@
1
+ # Stage 03: Planning Configuration
2
+
3
+ stage:
4
+ id: "03-planning"
5
+ name: "Planning"
6
+ description: "시스템 아키텍처 및 기술 스택 결정"
7
+
8
+ models:
9
+ primary: "gemini"
10
+ secondary: null
11
+ collaboration: null
12
+
13
+ execution:
14
+ mode: "plan"
15
+ container: false
16
+ sandbox: false
17
+ timeout: 3600
18
+
19
+ inputs:
20
+ required:
21
+ - name: "../02-research/outputs/tech_research.md"
22
+ - name: "../02-research/outputs/feasibility_report.md"
23
+ - name: "../02-research/HANDOFF.md"
24
+ optional:
25
+ - name: "../01-brainstorm/outputs/requirements_analysis.md"
26
+
27
+ outputs:
28
+ required:
29
+ - name: "architecture.md"
30
+ description: "시스템 아키텍처"
31
+ - name: "tech_stack.md"
32
+ description: "기술 스택 결정"
33
+ - name: "project_plan.md"
34
+ description: "프로젝트 계획"
35
+ - name: "implementation.yaml"
36
+ description: "구현 규칙 설정 (Issue #10)"
37
+ template: "../../config/implementation.yaml.template"
38
+ - name: "HANDOFF.md"
39
+
40
+ prompts:
41
+ - name: "architecture"
42
+ file: "prompts/architecture.md"
43
+ model: "gemini"
44
+ - name: "tech_stack_decision"
45
+ file: "prompts/tech_stack_decision.md"
46
+ model: "gemini"
47
+ - name: "project_plan"
48
+ file: "prompts/project_plan.md"
49
+ model: "gemini"
50
+
51
+ completion:
52
+ checklist:
53
+ - "시스템 아키텍처 문서 작성"
54
+ - "기술 스택 최종 결정"
55
+ - "프로젝트 계획 수립"
56
+ - "마일스톤 3개 이상 정의"
57
+ - "HANDOFF.md 생성"
58
+
59
+ transition:
60
+ next_stage: "04-ui-ux"
61
+ prerequisites:
62
+ - "02-research"
63
+ handoff_required: true
64
+ checkpoint_required: false
File without changes
File without changes
File without changes