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,103 @@
1
+ # /benchmark - AI Model Benchmarking Command
2
+
3
+ AI 모델 성능을 비교하고 최적 모델을 선택합니다.
4
+
5
+ ## 사용법
6
+
7
+ ```bash
8
+ /benchmark [options]
9
+ ```
10
+
11
+ ## 옵션
12
+
13
+ | 옵션 | 설명 | 기본값 |
14
+ |------|------|--------|
15
+ | `--task` | 벤치마크할 태스크 유형 | code_generation |
16
+ | `--models` | 비교할 모델 (쉼표 구분) | claude,codex |
17
+ | `--samples` | 샘플 태스크 수 | 3 |
18
+ | `--metrics` | 측정 메트릭 | correctness,performance |
19
+ | `--verbose` | 상세 출력 | false |
20
+
21
+ ## 벤치마크 태스크 유형
22
+
23
+ ### code_generation
24
+ ```bash
25
+ /benchmark --task code_generation --models "claude,codex"
26
+ ```
27
+ - 메트릭: correctness, performance, style_compliance, readability
28
+
29
+ ### refactoring
30
+ ```bash
31
+ /benchmark --task refactoring --models "codex,claude"
32
+ ```
33
+ - 메트릭: complexity_reduction, test_coverage, maintainability
34
+
35
+ ### test_generation
36
+ ```bash
37
+ /benchmark --task test_generation --models "codex,claude"
38
+ ```
39
+ - 메트릭: coverage, edge_cases, quality
40
+
41
+ ## 출력 형식
42
+
43
+ ```markdown
44
+ # AI Benchmark Results
45
+
46
+ ## Task: code_generation
47
+ ## Models: claude, codex
48
+
49
+ ### Score Summary
50
+ | Model | Score | Rank |
51
+ |-------|-------|------|
52
+ | Claude | 0.88 | 1 |
53
+ | Codex | 0.82 | 2 |
54
+
55
+ ### Metric Breakdown
56
+ | Metric | Weight | Claude | Codex |
57
+ |--------|--------|--------|-------|
58
+ | Correctness | 0.4 | 0.95 | 0.85 |
59
+ | Performance | 0.2 | 0.80 | 0.90 |
60
+ | Style | 0.2 | 0.90 | 0.80 |
61
+ | Readability | 0.2 | 0.85 | 0.75 |
62
+
63
+ ### Recommendation
64
+ 현재 태스크에 **Claude** 사용 권장
65
+ ```
66
+
67
+ ## 예시
68
+
69
+ ```bash
70
+ # 코드 생성 벤치마크
71
+ /benchmark --task code_generation
72
+
73
+ # 상세 결과 출력
74
+ /benchmark --task refactoring --verbose
75
+
76
+ # 특정 모델만 비교
77
+ /benchmark --task test_generation --models "codex"
78
+ ```
79
+
80
+ ## 결과 저장
81
+
82
+ - 결과: `state/ai_benchmarks/`
83
+ - 리포트: `state/ai_benchmarks/reports/`
84
+
85
+ ## 히스토리 조회
86
+
87
+ ```bash
88
+ # 최근 벤치마크 결과 확인
89
+ cat state/ai_benchmarks/latest.json
90
+
91
+ # 주간 트렌드 확인
92
+ scripts/ai-benchmark.sh --history weekly
93
+ ```
94
+
95
+ ## 설정
96
+
97
+ `config/ai_benchmarking.yaml` 참조
98
+
99
+ ## 관련 커맨드
100
+
101
+ - `/collaborate` - AI 협업
102
+ - `/gemini` - Gemini 직접 호출
103
+ - `/codex` - Codex 직접 호출
@@ -0,0 +1,67 @@
1
+ # /brainstorm
2
+
3
+ 01-brainstorm 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /brainstorm [topic]
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 01-brainstorm |
15
+ | AI 모델 | Gemini + ClaudeCode |
16
+ | 실행 모드 | YOLO (Container) |
17
+ | 체크포인트 | 선택 |
18
+
19
+ ## 동작
20
+
21
+ 1. **전제 조건 확인**
22
+ - 프로젝트 초기화 여부 (progress.json)
23
+
24
+ 2. **스테이지 시작**
25
+ - Gemini CLI 호출 (창의적 아이디어)
26
+ - ClaudeCode 병렬 실행 (기술 검토)
27
+
28
+ 3. **산출물 생성**
29
+ - ideas.md - 브레인스토밍 아이디어
30
+ - decisions.md - 핵심 결정사항
31
+
32
+ ## 실행
33
+
34
+ ```bash
35
+ # /run-stage 01과 동일
36
+ scripts/run-stage.sh 01-brainstorm "$ARGUMENTS"
37
+ ```
38
+
39
+ ## 출력 예시
40
+
41
+ ```
42
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
43
+ 🧠 Stage 01: Brainstorm
44
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
45
+ AI: Gemini + ClaudeCode (병렬)
46
+ Mode: YOLO (Container)
47
+
48
+ 주제: $ARGUMENTS
49
+
50
+ [Gemini] 창의적 아이디어 생성 중...
51
+ [ClaudeCode] 기술 검토 중...
52
+
53
+ 완료 후: /next 또는 /research
54
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
55
+ ```
56
+
57
+ ## 관련 명령어
58
+
59
+ - `/run-stage 01` - 전제조건 확인 후 시작
60
+ - `/next` - 다음 스테이지 (02-research)
61
+ - `/gemini` - Gemini CLI 직접 호출
62
+
63
+ ## Tips
64
+
65
+ - YOLO 모드: 실패해도 괜찮음, 창의성 우선
66
+ - 여러 아이디어를 자유롭게 탐색
67
+ - decisions.md에 최종 선택 기록
@@ -0,0 +1,93 @@
1
+ # /checkpoint
2
+
3
+ 현재 상태의 체크포인트를 생성합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /checkpoint [description]
8
+ ```
9
+
10
+ ## 동작
11
+
12
+ 1. **현재 상태 캡처**
13
+ - 현재 스테이지 정보
14
+ - 모든 outputs 파일
15
+ - state/progress.json
16
+ - 소스 코드 (해당 시)
17
+
18
+ 2. **체크포인트 생성**
19
+ - ID: `CP-[stage]-[timestamp]`
20
+ - 위치: `state/checkpoints/[CP-ID]/`
21
+
22
+ 3. **메타데이터 저장**
23
+ ```json
24
+ {
25
+ "id": "CP-06-20240120-1430",
26
+ "stage": "06-implementation",
27
+ "description": "스프린트 1 완료",
28
+ "created_at": "2024-01-20T14:30:00Z",
29
+ "files": [...],
30
+ "progress_snapshot": {...}
31
+ }
32
+ ```
33
+
34
+ 4. **state/progress.json 업데이트**
35
+ - checkpoints 배열에 추가
36
+
37
+ ## 실행 스크립트
38
+
39
+ ```bash
40
+ scripts/create-checkpoint.sh "$ARGUMENTS"
41
+ ```
42
+
43
+ ## 예시
44
+
45
+ ```
46
+ /checkpoint 스프린트 1 완료
47
+
48
+ 체크포인트 생성 중...
49
+ ✓ 현재 상태 캡처 완료
50
+ ✓ 파일 복사 완료 (42개 파일)
51
+ ✓ 메타데이터 저장 완료
52
+
53
+ 체크포인트 생성 완료!
54
+ - ID: CP-06-20240120-1430
55
+ - 위치: state/checkpoints/CP-06-20240120-1430/
56
+ - 설명: 스프린트 1 완료
57
+
58
+ 복구 명령어:
59
+ scripts/restore-checkpoint.sh CP-06-20240120-1430
60
+ ```
61
+
62
+ ## 체크포인트 목록 보기
63
+
64
+ ```
65
+ /checkpoint --list
66
+
67
+ 체크포인트 목록:
68
+ | ID | 스테이지 | 설명 | 생성일 |
69
+ |----|----------|------|--------|
70
+ | CP-06-20240120-1030 | 06-impl | 프로젝트 초기화 | 2024-01-20 10:30 |
71
+ | CP-06-20240120-1430 | 06-impl | 스프린트 1 완료 | 2024-01-20 14:30 |
72
+ ```
73
+
74
+ ## 체크포인트 복구
75
+
76
+ ```bash
77
+ scripts/restore-checkpoint.sh CP-06-20240120-1030
78
+
79
+ 경고: 현재 상태가 체크포인트 CP-06-20240120-1030 시점으로 복구됩니다.
80
+ 현재 변경사항이 손실될 수 있습니다.
81
+ 계속하시겠습니까? [y/N] y
82
+
83
+ ✓ 체크포인트 복구 완료
84
+ ✓ 현재 스테이지: 06-implementation
85
+ ```
86
+
87
+ ## 필수 체크포인트 스테이지
88
+ - `06-implementation`: 구현 중 주요 마일스톤마다
89
+ - `07-refactoring`: 리팩토링 전/후
90
+
91
+ ## 옵션
92
+ - `--list`: 체크포인트 목록 표시
93
+ - `--delete [CP-ID]`: 체크포인트 삭제
@@ -0,0 +1,107 @@
1
+ # /codex
2
+
3
+ tmux 세션을 통해 OpenAI Codex CLI를 호출합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /codex [prompt]
8
+ ```
9
+
10
+ ## 동작
11
+
12
+ 1. **tmux 세션 확인/생성**
13
+ - 세션명: `ax-codex`
14
+ - 없으면 새로 생성
15
+
16
+ 2. **Codex CLI 실행**
17
+ - 프롬프트 전송
18
+ - 응답 대기 (wait-for 방식)
19
+
20
+ 3. **결과 캡처 및 반환**
21
+ - 출력 파일에서 결과 읽기
22
+ - 사용자에게 표시
23
+
24
+ ## 실행 스크립트
25
+
26
+ ```bash
27
+ scripts/codex-wrapper.sh "$ARGUMENTS"
28
+ ```
29
+
30
+ ## 예시
31
+
32
+ ```
33
+ /codex 다음 함수를 리팩토링해주세요. 가독성과 성능을 개선하고,
34
+ 타입 안전성을 높여주세요:
35
+
36
+ function processData(data) {
37
+ // 긴 함수 코드
38
+ }
39
+
40
+ Codex 호출 중...
41
+ 세션: ax-codex
42
+ 타임아웃: 300초
43
+
44
+ [응답]
45
+ 리팩토링된 코드:
46
+
47
+ \`\`\`typescript
48
+ interface DataItem {
49
+ id: string;
50
+ value: number;
51
+ }
52
+
53
+ function processData(data: DataItem[]): ProcessedResult {
54
+ // 깔끔하게 리팩토링된 코드
55
+ }
56
+ \`\`\`
57
+
58
+ 변경 사항:
59
+ 1. TypeScript 타입 추가
60
+ 2. 함수를 3개의 작은 함수로 분리
61
+ 3. 불필요한 루프 제거로 O(n²) → O(n) 최적화
62
+ ```
63
+
64
+ ## 활용 시나리오
65
+
66
+ ### 1. 코드 리팩토링 (07-refactoring)
67
+ ```
68
+ /codex 다음 코드의 중복을 제거하고 DRY 원칙을 적용해주세요:
69
+ [코드]
70
+ ```
71
+
72
+ ### 2. 테스트 코드 생성 (09-testing)
73
+ ```
74
+ /codex 다음 함수에 대한 Jest 테스트 코드를 작성해주세요.
75
+ 엣지 케이스를 포함해주세요:
76
+ [함수 코드]
77
+ ```
78
+
79
+ ### 3. 성능 최적화
80
+ ```
81
+ /codex 다음 코드의 성능 병목을 분석하고 최적화해주세요:
82
+ [코드]
83
+ ```
84
+
85
+ ### 4. 코드 분석
86
+ ```
87
+ /codex 다음 코드의 복잡도를 분석하고 개선점을 제안해주세요:
88
+ [코드]
89
+ ```
90
+
91
+ ## 타임아웃
92
+
93
+ 기본 타임아웃: 300초 (5분)
94
+
95
+ 변경:
96
+ ```
97
+ /codex --timeout 600 [긴 작업 프롬프트]
98
+ ```
99
+
100
+ ## 제한사항
101
+ - Codex CLI가 설치되어 있어야 함
102
+ - tmux가 설치되어 있어야 함
103
+ - 대화형 프롬프트는 지원하지 않음 (단발성 질의만)
104
+
105
+ ## 관련
106
+ - `/gemini`: Gemini CLI 호출
107
+ - `scripts/codex-wrapper.sh`: 래퍼 스크립트
@@ -0,0 +1,85 @@
1
+ # /collaborate - Multi-AI Collaboration Command
2
+
3
+ 여러 AI 모델을 협업시켜 더 나은 결과물을 생성합니다.
4
+
5
+ ## 사용법
6
+
7
+ ```bash
8
+ /collaborate [options]
9
+ ```
10
+
11
+ ## 옵션
12
+
13
+ | 옵션 | 설명 | 기본값 |
14
+ |------|------|--------|
15
+ | `--mode` | 협업 모드 (parallel, sequential, debate) | parallel |
16
+ | `--task` | 수행할 작업 설명 | - |
17
+ | `--models` | 참여 AI 모델 (쉼표 구분) | gemini,claude |
18
+ | `--chain` | 순차 체인 이름 (sequential 모드) | - |
19
+ | `--rounds` | 토론 라운드 수 (debate 모드) | 3 |
20
+ | `--topic` | 토론 주제 (debate 모드) | - |
21
+
22
+ ## 협업 모드
23
+
24
+ ### 1. Parallel (병렬 실행)
25
+ ```bash
26
+ /collaborate --mode parallel --task "아이디어 생성" --models "gemini,claude"
27
+ ```
28
+ - 동일 작업을 여러 AI가 동시 수행
29
+ - 결과 비교 후 최적 선택
30
+
31
+ ### 2. Sequential (순차 핸드오프)
32
+ ```bash
33
+ /collaborate --mode sequential --chain "code_review"
34
+ ```
35
+ - AI 간 릴레이로 점진적 개선
36
+ - 체인: `code_review`, `planning_review`
37
+
38
+ ### 3. Debate (토론)
39
+ ```bash
40
+ /collaborate --mode debate --topic "아키텍처 선택" --rounds 3
41
+ ```
42
+ - AI 간 토론으로 최적 결론 도출
43
+ - 다양한 관점 비교
44
+
45
+ ## 사전 체인 정의
46
+
47
+ ### code_review
48
+ 1. Claude: 초안 작성
49
+ 2. Gemini: 창의적 개선
50
+ 3. Codex: 기술 검증
51
+
52
+ ### planning_review
53
+ 1. Gemini: 아이디어 발산
54
+ 2. Claude: 실현 가능성 분석
55
+ 3. Claude: 최종 계획 수립
56
+
57
+ ## 출력
58
+
59
+ - 각 AI 결과물
60
+ - 비교 분석 리포트
61
+ - 최종 선택/병합 결과
62
+ - 저장: `state/collaborations/{task_id}/`
63
+
64
+ ## 예시
65
+
66
+ ```bash
67
+ # 기본 병렬 협업
68
+ /collaborate --task "사용자 인증 설계"
69
+
70
+ # 코드 리뷰 체인
71
+ /collaborate --mode sequential --chain code_review
72
+
73
+ # 아키텍처 토론
74
+ /collaborate --mode debate --topic "마이크로서비스 vs 모놀리식"
75
+ ```
76
+
77
+ ## 설정
78
+
79
+ `config/ai_collaboration.yaml` 참조
80
+
81
+ ## 관련 커맨드
82
+
83
+ - `/benchmark` - AI 모델 벤치마킹
84
+ - `/gemini` - Gemini 직접 호출
85
+ - `/codex` - Codex 직접 호출
@@ -0,0 +1,154 @@
1
+ # /context
2
+
3
+ 컨텍스트 상태를 확인하고 관리합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /context # 현재 상태 확인
8
+ /context --save [desc] # 스냅샷 저장
9
+ /context --compress # 압축 실행
10
+ /context --restore # 저장된 상태 복구
11
+ /context --clean # 오래된 스냅샷 정리
12
+ ```
13
+
14
+ ## 동작
15
+
16
+ ### 상태 확인 (`/context`)
17
+ - 추정 토큰 사용량 표시
18
+ - 임계값 대비 상태
19
+ - 저장된 스냅샷 목록
20
+
21
+ ### 스냅샷 저장 (`--save`)
22
+ - 현재 상태를 state.md로 저장
23
+ - 설명 추가 가능
24
+ - state/context/ 디렉토리에 저장
25
+
26
+ ### 압축 실행 (`--compress`)
27
+ - context-compression 스킬 활성화
28
+ - 불필요한 컨텍스트 정리
29
+ - 핵심 정보만 유지
30
+
31
+ ### 복구 (`--restore`)
32
+ - 저장된 스냅샷에서 복구
33
+ - /clear 후 사용
34
+
35
+ ## 실행 스크립트
36
+
37
+ ```bash
38
+ scripts/context-manager.sh "$ARGUMENTS"
39
+ ```
40
+
41
+ ## 출력 예시
42
+
43
+ ### 상태 확인
44
+
45
+ ```
46
+ /context
47
+
48
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
49
+ 📊 Context Status
50
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
51
+
52
+ 토큰 사용량: ~45,230 / 80,000
53
+ 상태: ████████████░░░░░░░░ 56% [정상]
54
+
55
+ 임계값:
56
+ • 경고 (50k): 아직 여유 있음
57
+ • 한도 (80k): ~35,000 토큰 남음
58
+
59
+ 현재 스테이지: 04-ui-ux
60
+ 대화 메시지: 28개
61
+
62
+ [저장된 스냅샷]
63
+ • state-20240120-1030.md (03-planning 완료 시점)
64
+ • state-20240120-1430.md (04-ui-ux 시작)
65
+
66
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
67
+ ```
68
+
69
+ ### 경고 상태
70
+
71
+ ```
72
+ /context
73
+
74
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
75
+ ⚠️ Context Status - 경고
76
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
77
+
78
+ 토큰 사용량: ~52,000 / 80,000
79
+ 상태: ████████████████░░░░ 65% [경고]
80
+
81
+ ⚠️ 경고 임계값(50k) 초과!
82
+
83
+ 권장 조치:
84
+ 1. /context --compress 로 압축
85
+ 2. /context --save 후 /clear
86
+
87
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
88
+ ```
89
+
90
+ ### 스냅샷 저장
91
+
92
+ ```
93
+ /context --save "UI 설계 완료"
94
+
95
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
96
+ 💾 Context Snapshot Saved
97
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
98
+
99
+ 파일: state/context/state-20240120-1530.md
100
+ 설명: UI 설계 완료
101
+ 스테이지: 04-ui-ux
102
+ 토큰: ~45,000
103
+
104
+ [저장 내용]
105
+ ✓ 현재 스테이지 정보
106
+ ✓ 진행 상황
107
+ ✓ 핵심 결정사항 (5개)
108
+ ✓ 참조 파일 목록
109
+
110
+ 복구: /context --restore state-20240120-1530.md
111
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
112
+ ```
113
+
114
+ ## 옵션
115
+
116
+ | 옵션 | 설명 |
117
+ |------|------|
118
+ | (없음) | 현재 상태 확인 |
119
+ | `--save [desc]` | 스냅샷 저장 |
120
+ | `--compress` | 컨텍스트 압축 |
121
+ | `--restore [file]` | 스냅샷 복구 |
122
+ | `--list` | 스냅샷 목록 |
123
+ | `--clean` | 오래된 스냅샷 정리 |
124
+ | `--json` | JSON 형식 출력 |
125
+
126
+ ## 설정 참조
127
+
128
+ settings.json의 context 설정:
129
+
130
+ ```json
131
+ {
132
+ "context": {
133
+ "warning_threshold": 50000,
134
+ "limit_threshold": 80000,
135
+ "auto_save": true
136
+ }
137
+ }
138
+ ```
139
+
140
+ ## 관련 스킬
141
+
142
+ - `context-compression` - 자동 압축 스킬
143
+
144
+ ## 관련 명령어
145
+
146
+ - `/status` - 파이프라인 상태
147
+ - `/checkpoint` - 체크포인트 생성
148
+ - `/restore` - 체크포인트 복구
149
+
150
+ ## Tips
151
+
152
+ - 긴 작업 전 `/context --save` 권장
153
+ - 50k 경고 시 `/context --compress` 실행
154
+ - /clear 후 `/context --restore` 로 복구
@@ -0,0 +1,102 @@
1
+ # /deploy
2
+
3
+ 10-deployment 스테이지를 바로 시작합니다.
4
+
5
+ ## 사용법
6
+ ```
7
+ /deploy [environment]
8
+ ```
9
+
10
+ ## 스테이지 정보
11
+
12
+ | 항목 | 값 |
13
+ |------|-----|
14
+ | 스테이지 | 10-deployment |
15
+ | AI 모델 | ClaudeCode |
16
+ | 실행 모드 | Headless |
17
+ | 체크포인트 | 선택 |
18
+
19
+ ## 동작
20
+
21
+ 1. **전제 조건 확인**
22
+ - 09-testing 완료 여부
23
+ - test-results.md 존재
24
+ - 모든 테스트 통과
25
+
26
+ 2. **배포 실행**
27
+ - CI/CD 파이프라인 설정
28
+ - 환경별 배포
29
+ - 모니터링 설정
30
+
31
+ 3. **산출물 생성**
32
+ - CI/CD 설정 파일
33
+ - deployment-log.md
34
+
35
+ ## 실행
36
+
37
+ ```bash
38
+ scripts/run-stage.sh 10-deployment "$ARGUMENTS"
39
+ ```
40
+
41
+ ## 입력 파일
42
+
43
+ - `stages/09-testing/outputs/test-results.md`
44
+ - `stages/06-implementation/outputs/src/`
45
+ - 모든 이전 스테이지 outputs
46
+
47
+ ## 출력 파일
48
+
49
+ - `.github/workflows/ci.yaml`
50
+ - `.github/workflows/cd.yaml`
51
+ - `stages/10-deployment/outputs/deployment-log.md`
52
+
53
+ ## 배포 환경
54
+
55
+ | 환경 | 설명 |
56
+ |------|------|
57
+ | dev | 개발 환경 |
58
+ | staging | 스테이징 |
59
+ | prod | 프로덕션 |
60
+
61
+ ## CI/CD 워크플로우
62
+
63
+ ```
64
+ Push
65
+
66
+ CI (Build + Test)
67
+
68
+ Quality Gate
69
+
70
+ CD (Deploy)
71
+
72
+ Health Check
73
+ ```
74
+
75
+ ## 관련 명령어
76
+
77
+ - `/run-stage 10` - 전제조건 확인 후 시작
78
+ - `/test` - 이전 스테이지
79
+ - `/status` - 파이프라인 상태
80
+
81
+ ## 배포 체크리스트
82
+
83
+ - [ ] 환경 변수 설정
84
+ - [ ] 시크릿 설정 (GitHub Secrets)
85
+ - [ ] 도메인/DNS 설정
86
+ - [ ] SSL 인증서
87
+ - [ ] 모니터링 설정
88
+ - [ ] 롤백 계획
89
+
90
+ ## 완료 시
91
+
92
+ 🎉 **파이프라인 완료!**
93
+
94
+ 모든 10개 스테이지가 완료되었습니다.
95
+ - `/status`로 최종 상태 확인
96
+ - `state/handoffs/`에서 전체 문서 검토
97
+
98
+ ## Tips
99
+
100
+ - prod 배포 전 staging 검증
101
+ - 롤백 스크립트 준비
102
+ - 배포 후 스모크 테스트