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,139 @@
1
+ #!/bin/bash
2
+ # run-stage.sh - 스테이지 실행
3
+ # ax-templates workflow pipeline
4
+
5
+ set -e
6
+
7
+ STAGE_ID="$1"
8
+ PROJECT_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
9
+ TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
10
+
11
+ # 색상 정의
12
+ RED='\033[0;31m'
13
+ GREEN='\033[0;32m'
14
+ YELLOW='\033[1;33m'
15
+ BLUE='\033[0;34m'
16
+ NC='\033[0m' # No Color
17
+
18
+ # 사용법
19
+ if [ -z "$STAGE_ID" ]; then
20
+ echo "사용법: $0 <stage-id>"
21
+ echo ""
22
+ echo "사용 가능한 스테이지:"
23
+ echo " 01-brainstorm 브레인스토밍"
24
+ echo " 02-research 리서치"
25
+ echo " 03-planning 기획"
26
+ echo " 04-ui-ux UI/UX 설계"
27
+ echo " 05-task-management 태스크 관리"
28
+ echo " 06-implementation 구현"
29
+ echo " 07-refactoring 리팩토링"
30
+ echo " 08-qa QA"
31
+ echo " 09-testing 테스팅"
32
+ echo " 10-deployment 배포"
33
+ exit 1
34
+ fi
35
+
36
+ # 스테이지 디렉토리 확인
37
+ STAGE_DIR="$PROJECT_ROOT/stages/$STAGE_ID"
38
+
39
+ if [ ! -d "$STAGE_DIR" ]; then
40
+ echo -e "${RED}오류:${NC} 스테이지를 찾을 수 없습니다: $STAGE_ID"
41
+ exit 1
42
+ fi
43
+
44
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
45
+ echo "🚀 스테이지 실행: $STAGE_ID"
46
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
47
+
48
+ # 1. Pre-stage 훅 실행
49
+ echo ""
50
+ echo -e "${BLUE}[1/3] Pre-Stage 훅 실행${NC}"
51
+ if [ -f "$PROJECT_ROOT/.claude/hooks/pre-stage.sh" ]; then
52
+ bash "$PROJECT_ROOT/.claude/hooks/pre-stage.sh" "$STAGE_ID"
53
+ else
54
+ echo -e "${YELLOW}⚠${NC} Pre-stage 훅이 없습니다."
55
+ fi
56
+
57
+ # 2. 상태 업데이트
58
+ echo ""
59
+ echo -e "${BLUE}[2/3] 상태 업데이트${NC}"
60
+ PROGRESS_FILE="$PROJECT_ROOT/state/progress.json"
61
+
62
+ if command -v jq &> /dev/null; then
63
+ jq ".current_stage = \"$STAGE_ID\" | \
64
+ .stages.\"$STAGE_ID\".status = \"in_progress\" | \
65
+ .stages.\"$STAGE_ID\".started_at = \"$TIMESTAMP\" | \
66
+ .pipeline.updated_at = \"$TIMESTAMP\"" \
67
+ "$PROGRESS_FILE" > "${PROGRESS_FILE}.tmp" && mv "${PROGRESS_FILE}.tmp" "$PROGRESS_FILE"
68
+ echo -e "${GREEN}✓${NC} progress.json 업데이트됨"
69
+ else
70
+ echo -e "${YELLOW}⚠${NC} jq 미설치 - 수동 업데이트 필요"
71
+ fi
72
+
73
+ # 3. 모델 강제 실행 확인 (Issue #12, #14 해결)
74
+ echo ""
75
+ echo -e "${BLUE}[3/5] AI 모델 강제 실행 확인${NC}"
76
+ STAGE_CONFIG="$STAGE_DIR/config.yaml"
77
+ MODEL_ENFORCEMENT="$PROJECT_ROOT/config/model_enforcement.yaml"
78
+
79
+ if command -v yq &> /dev/null && [ -f "$STAGE_CONFIG" ]; then
80
+ AUTO_INVOKE_ENABLED=$(yq '.auto_invoke.enabled // false' "$STAGE_CONFIG" 2>/dev/null)
81
+ AUTO_INVOKE_MODEL=$(yq '.auto_invoke.model // ""' "$STAGE_CONFIG" 2>/dev/null)
82
+ AUTO_INVOKE_MSG=$(yq '.auto_invoke.message // ""' "$STAGE_CONFIG" 2>/dev/null)
83
+ AUTO_INVOKE_REQUIRED=$(yq '.auto_invoke.required // false' "$STAGE_CONFIG" 2>/dev/null)
84
+
85
+ if [ "$AUTO_INVOKE_ENABLED" = "true" ]; then
86
+ echo ""
87
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
88
+ echo -e "${YELLOW}🤖 AI 모델 자동 호출 설정${NC}"
89
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
90
+ echo " 모델: $AUTO_INVOKE_MODEL"
91
+ echo " 필수: $AUTO_INVOKE_REQUIRED"
92
+ if [ -n "$AUTO_INVOKE_MSG" ] && [ "$AUTO_INVOKE_MSG" != "null" ]; then
93
+ echo ""
94
+ echo -e " ${GREEN}$AUTO_INVOKE_MSG${NC}"
95
+ fi
96
+
97
+ if [ "$AUTO_INVOKE_REQUIRED" = "true" ]; then
98
+ echo ""
99
+ echo -e " ${YELLOW}⚠️ 이 스테이지는 ${AUTO_INVOKE_MODEL} 사용이 필수입니다.${NC}"
100
+ echo -e " ${BLUE}→ /${AUTO_INVOKE_MODEL} 명령어로 호출하세요.${NC}"
101
+ fi
102
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
103
+ fi
104
+ else
105
+ echo -e "${YELLOW}⚠${NC} yq 미설치 또는 config.yaml 없음 - 모델 강제 확인 건너뜀"
106
+ fi
107
+
108
+ # 4. CLAUDE.md 표시
109
+ echo ""
110
+ echo -e "${BLUE}[4/5] 스테이지 지침 로드${NC}"
111
+ CLAUDE_MD="$STAGE_DIR/CLAUDE.md"
112
+
113
+ if [ -f "$CLAUDE_MD" ]; then
114
+ echo ""
115
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
116
+ echo -e "${GREEN}스테이지 CLAUDE.md:${NC}"
117
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
118
+ cat "$CLAUDE_MD"
119
+ echo ""
120
+ else
121
+ echo -e "${YELLOW}⚠${NC} CLAUDE.md가 없습니다."
122
+ fi
123
+
124
+ # 5. 다음 단계 안내
125
+ echo ""
126
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
127
+ echo -e "${GREEN}✓${NC} 스테이지 $STAGE_ID 시작됨"
128
+ echo ""
129
+ echo -e "${BLUE}작업 완료 후:${NC}"
130
+ echo " /handoff - 핸드오프 문서 생성"
131
+ echo " /checkpoint [설명] - 체크포인트 생성 (06, 07 스테이지)"
132
+
133
+ # AI 모델 호출 안내 추가
134
+ if [ -n "$AUTO_INVOKE_MODEL" ] && [ "$AUTO_INVOKE_MODEL" != "null" ]; then
135
+ echo ""
136
+ echo -e "${YELLOW}AI 모델 사용:${NC}"
137
+ echo " /${AUTO_INVOKE_MODEL} \"프롬프트\" - ${AUTO_INVOKE_MODEL} 호출"
138
+ fi
139
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
@@ -0,0 +1,185 @@
1
+ #!/bin/bash
2
+ # show-status.sh - 파이프라인 상태 표시
3
+ # ax-templates workflow pipeline
4
+
5
+ set -e
6
+
7
+ PROJECT_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
8
+ PROGRESS_FILE="$PROJECT_ROOT/state/progress.json"
9
+ CONFIG_FILE="$PROJECT_ROOT/config/pipeline.yaml"
10
+
11
+ # 색상 정의
12
+ RED='\033[0;31m'
13
+ GREEN='\033[0;32m'
14
+ YELLOW='\033[1;33m'
15
+ BLUE='\033[0;34m'
16
+ CYAN='\033[0;36m'
17
+ WHITE='\033[1;37m'
18
+ GRAY='\033[0;90m'
19
+ NC='\033[0m' # No Color
20
+
21
+ # 옵션 처리
22
+ OUTPUT_JSON=false
23
+ OUTPUT_BRIEF=false
24
+
25
+ while [[ "$#" -gt 0 ]]; do
26
+ case $1 in
27
+ --json) OUTPUT_JSON=true ;;
28
+ --brief) OUTPUT_BRIEF=true ;;
29
+ *) ;;
30
+ esac
31
+ shift
32
+ done
33
+
34
+ # jq 확인
35
+ if ! command -v jq &> /dev/null; then
36
+ echo -e "${RED}오류:${NC} jq가 필요합니다."
37
+ exit 1
38
+ fi
39
+
40
+ # progress.json 확인
41
+ if [ ! -f "$PROGRESS_FILE" ]; then
42
+ echo -e "${RED}오류:${NC} progress.json을 찾을 수 없습니다."
43
+ echo " 먼저 /init-project를 실행하세요."
44
+ exit 1
45
+ fi
46
+
47
+ # 데이터 추출
48
+ PROJECT_NAME=$(jq -r '.project_name // "unnamed"' "$PROGRESS_FILE")
49
+ CURRENT_STAGE=$(jq -r '.current_stage // "none"' "$PROGRESS_FILE")
50
+ CHECKPOINT_COUNT=$(jq -r '.checkpoints | length' "$PROGRESS_FILE")
51
+
52
+ # 스테이지 정보 배열
53
+ declare -a STAGE_IDS=("01-brainstorm" "02-research" "03-planning" "04-ui-ux" "05-task-management" "06-implementation" "07-refactoring" "08-qa" "09-testing" "10-deployment")
54
+ declare -a STAGE_NAMES=("brainstorm" "research" "planning" "ui-ux" "task-mgmt" "implementation" "refactoring" "qa" "testing" "deployment")
55
+ declare -a STAGE_AI=("Gemini+Claude" "Claude+MCP" "Gemini" "Gemini" "ClaudeCode" "ClaudeCode" "Codex" "ClaudeCode" "Codex" "ClaudeCode")
56
+
57
+ # 완료된 스테이지 수 계산
58
+ COMPLETED=0
59
+ CURRENT_NUM=0
60
+ for i in "${!STAGE_IDS[@]}"; do
61
+ STATUS=$(jq -r ".stages.\"${STAGE_IDS[$i]}\".status // \"pending\"" "$PROGRESS_FILE")
62
+ if [ "$STATUS" == "completed" ]; then
63
+ ((COMPLETED++))
64
+ fi
65
+ if [ "${STAGE_IDS[$i]}" == "$CURRENT_STAGE" ]; then
66
+ CURRENT_NUM=$((i + 1))
67
+ fi
68
+ done
69
+
70
+ TOTAL=10
71
+ PERCENT=$((COMPLETED * 100 / TOTAL))
72
+
73
+ # JSON 출력
74
+ if [ "$OUTPUT_JSON" = true ]; then
75
+ jq -n \
76
+ --arg project "$PROJECT_NAME" \
77
+ --arg current "$CURRENT_STAGE" \
78
+ --argjson completed "$COMPLETED" \
79
+ --argjson total "$TOTAL" \
80
+ --argjson checkpoints "$CHECKPOINT_COUNT" \
81
+ '{project: $project, current_stage: $current, completed: $completed, total: $total, checkpoints: $checkpoints}'
82
+ exit 0
83
+ fi
84
+
85
+ # 간략 출력
86
+ if [ "$OUTPUT_BRIEF" = true ]; then
87
+ echo "[$PROJECT_NAME] $COMPLETED/$TOTAL 완료 | 현재: $CURRENT_STAGE | 체크포인트: $CHECKPOINT_COUNT"
88
+ exit 0
89
+ fi
90
+
91
+ # 진행률 바 생성
92
+ progress_bar() {
93
+ local percent=$1
94
+ local width=20
95
+ local filled=$((percent * width / 100))
96
+ local empty=$((width - filled))
97
+ printf "["
98
+ printf "%0.s█" $(seq 1 $filled) 2>/dev/null || true
99
+ printf "%0.s░" $(seq 1 $empty) 2>/dev/null || true
100
+ printf "]"
101
+ }
102
+
103
+ # 상태 아이콘 반환
104
+ status_icon() {
105
+ case $1 in
106
+ completed) echo "✅" ;;
107
+ in_progress) echo "🔄" ;;
108
+ pending) echo "⏳" ;;
109
+ failed) echo "❌" ;;
110
+ paused) echo "⏸️" ;;
111
+ *) echo "⏳" ;;
112
+ esac
113
+ }
114
+
115
+ # 상태 텍스트 (한글)
116
+ status_text() {
117
+ case $1 in
118
+ completed) echo "완료" ;;
119
+ in_progress) echo "진행중" ;;
120
+ pending) echo "대기" ;;
121
+ failed) echo "실패" ;;
122
+ paused) echo "중지" ;;
123
+ *) echo "대기" ;;
124
+ esac
125
+ }
126
+
127
+ # 출력
128
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
129
+ echo -e "📊 ${WHITE}Pipeline Status:${NC} ${CYAN}$PROJECT_NAME${NC}"
130
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
131
+ echo -e "Progress: $(progress_bar $PERCENT) ${GREEN}$PERCENT%${NC} ($COMPLETED/$TOTAL)"
132
+ echo ""
133
+
134
+ # 스테이지 목록
135
+ for i in "${!STAGE_IDS[@]}"; do
136
+ STAGE_ID="${STAGE_IDS[$i]}"
137
+ STAGE_NAME="${STAGE_NAMES[$i]}"
138
+ AI="${STAGE_AI[$i]}"
139
+
140
+ STATUS=$(jq -r ".stages.\"$STAGE_ID\".status // \"pending\"" "$PROGRESS_FILE")
141
+ ICON=$(status_icon "$STATUS")
142
+ STATUS_TXT=$(status_text "$STATUS")
143
+
144
+ NUM=$(printf "%02d" $((i + 1)))
145
+
146
+ # 현재 스테이지 표시
147
+ if [ "$STAGE_ID" == "$CURRENT_STAGE" ]; then
148
+ ARROW=" ${YELLOW}←${NC}"
149
+ else
150
+ ARROW=""
151
+ fi
152
+
153
+ # 색상 설정
154
+ if [ "$STATUS" == "completed" ]; then
155
+ NAME_COLOR=$GREEN
156
+ elif [ "$STATUS" == "in_progress" ]; then
157
+ NAME_COLOR=$YELLOW
158
+ else
159
+ NAME_COLOR=$GRAY
160
+ fi
161
+
162
+ printf " %s %s ${NAME_COLOR}%-14s${NC} %-8s ${GRAY}[%s]${NC}%b\n" \
163
+ "$NUM" "$ICON" "$STAGE_NAME" "$STATUS_TXT" "$AI" "$ARROW"
164
+ done
165
+
166
+ echo ""
167
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
168
+
169
+ # 마지막 핸드오프 찾기
170
+ LAST_HANDOFF=""
171
+ for ((i=${#STAGE_IDS[@]}-1; i>=0; i--)); do
172
+ STAGE_ID="${STAGE_IDS[$i]}"
173
+ if [ -f "$PROJECT_ROOT/stages/$STAGE_ID/HANDOFF.md" ]; then
174
+ LAST_HANDOFF="$STAGE_ID"
175
+ break
176
+ fi
177
+ done
178
+
179
+ if [ -n "$LAST_HANDOFF" ]; then
180
+ echo -e "체크포인트: ${CYAN}${CHECKPOINT_COUNT}개${NC} | 마지막 핸드오프: ${GREEN}${LAST_HANDOFF}${NC}"
181
+ else
182
+ echo -e "체크포인트: ${CYAN}${CHECKPOINT_COUNT}개${NC} | 핸드오프: 없음"
183
+ fi
184
+
185
+ echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
@@ -0,0 +1,254 @@
1
+ #!/bin/bash
2
+ # ax-templates Smart HANDOFF Script
3
+ # 스마트 컨텍스트 추출 및 HANDOFF 생성
4
+
5
+ set -e
6
+
7
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
8
+ PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
9
+ PROGRESS_FILE="$PROJECT_ROOT/state/progress.json"
10
+ CONTEXT_DIR="$PROJECT_ROOT/state/context"
11
+
12
+ # 색상 정의
13
+ GREEN='\033[0;32m'
14
+ BLUE='\033[0;34m'
15
+ YELLOW='\033[1;33m'
16
+ NC='\033[0m'
17
+
18
+ # 로그 함수
19
+ log_info() { echo -e "${BLUE}[HANDOFF]${NC} $1"; }
20
+ log_success() { echo -e "${GREEN}[HANDOFF]${NC} $1"; }
21
+ log_warning() { echo -e "${YELLOW}[HANDOFF]${NC} $1"; }
22
+
23
+ # 현재 스테이지 확인
24
+ get_current_stage() {
25
+ if [ -f "$PROGRESS_FILE" ]; then
26
+ cat "$PROGRESS_FILE" 2>/dev/null | grep -o '"current_stage"[[:space:]]*:[[:space:]]*"[^"]*"' | cut -d'"' -f4
27
+ else
28
+ echo "unknown"
29
+ fi
30
+ }
31
+
32
+ # Git 변경 파일 추출
33
+ extract_changed_files() {
34
+ log_info "변경된 파일 추출 중..."
35
+
36
+ if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
37
+ echo "### 수정된 파일"
38
+ echo ""
39
+ echo "| 파일 | 변경 유형 | 변경량 |"
40
+ echo "|------|----------|--------|"
41
+
42
+ git diff --stat HEAD~10 2>/dev/null | head -20 | while read -r line; do
43
+ if [[ "$line" =~ ^[[:space:]]*([^|]+)\|[[:space:]]*([0-9]+) ]]; then
44
+ local file="${BASH_REMATCH[1]}"
45
+ local changes="${BASH_REMATCH[2]}"
46
+ echo "| ${file} | modified | ${changes} |"
47
+ fi
48
+ done
49
+
50
+ echo ""
51
+ else
52
+ echo "Git 저장소가 아닙니다."
53
+ fi
54
+ }
55
+
56
+ # 최근 커밋 추출
57
+ extract_recent_commits() {
58
+ log_info "최근 커밋 추출 중..."
59
+
60
+ if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
61
+ echo "### 최근 커밋"
62
+ echo ""
63
+
64
+ git log --oneline -5 2>/dev/null | while read -r line; do
65
+ echo "- $line"
66
+ done
67
+
68
+ echo ""
69
+ fi
70
+ }
71
+
72
+ # HANDOFF 템플릿 생성
73
+ generate_handoff() {
74
+ local stage="$1"
75
+ local mode="$2"
76
+ local stage_dir="$PROJECT_ROOT/stages/$stage"
77
+ local handoff_file="$stage_dir/HANDOFF.md"
78
+
79
+ log_info "HANDOFF 생성 중: $stage"
80
+
81
+ mkdir -p "$stage_dir"
82
+
83
+ # 타임스탬프
84
+ local timestamp=$(date +%Y-%m-%d\ %H:%M:%S)
85
+
86
+ cat > "$handoff_file" << EOF
87
+ # HANDOFF - $stage
88
+
89
+ > 생성 시간: $timestamp
90
+ > 모드: $mode
91
+
92
+ ## 요약
93
+
94
+ [스테이지 완료 상태를 1-2문장으로 요약]
95
+
96
+ ## 완료된 작업
97
+
98
+ - [ ] 완료된 작업 1
99
+ - [ ] 완료된 작업 2
100
+ - [ ] 완료된 작업 3
101
+
102
+ ## 핵심 결정사항
103
+
104
+ ### 결정 1
105
+ - **선택**: [선택한 옵션]
106
+ - **이유**: [선택 이유]
107
+ - **대안**: [고려한 대안]
108
+
109
+ $(extract_changed_files)
110
+
111
+ $(extract_recent_commits)
112
+
113
+ ## 대기 이슈
114
+
115
+ - [ ] 이슈 1 (우선순위: 높음)
116
+ - [ ] 이슈 2 (우선순위: 중간)
117
+
118
+ ## 다음 단계
119
+
120
+ 1. [즉시 실행 가능한 첫 번째 액션]
121
+ 2. [두 번째 액션]
122
+ 3. [세 번째 액션]
123
+
124
+ ## 참조
125
+
126
+ - 이전 HANDOFF: [링크]
127
+ - 관련 문서: [링크]
128
+
129
+ ---
130
+
131
+ ## AI 호출 기록
132
+
133
+ | AI | 시간 | 목적 | 결과 |
134
+ |----|------|------|------|
135
+ | - | - | - | - |
136
+
137
+ EOF
138
+
139
+ log_success "HANDOFF 생성 완료: $handoff_file"
140
+ }
141
+
142
+ # 컴팩트 모드 HANDOFF
143
+ generate_compact_handoff() {
144
+ local stage="$1"
145
+ local stage_dir="$PROJECT_ROOT/stages/$stage"
146
+ local handoff_file="$stage_dir/HANDOFF.md"
147
+
148
+ log_info "컴팩트 HANDOFF 생성 중: $stage"
149
+
150
+ mkdir -p "$stage_dir"
151
+
152
+ cat > "$handoff_file" << EOF
153
+ # HANDOFF - $stage (Compact)
154
+
155
+ > $(date +%Y-%m-%d\ %H:%M:%S)
156
+
157
+ ## Critical
158
+
159
+ [차단 이슈 및 즉시 해결 필요 사항]
160
+
161
+ ## Next Actions
162
+
163
+ 1. [첫 번째 즉시 실행 액션]
164
+ 2. [두 번째 액션]
165
+
166
+ ## Context
167
+
168
+ [최소 필수 컨텍스트]
169
+
170
+ EOF
171
+
172
+ log_success "컴팩트 HANDOFF 생성 완료: $handoff_file"
173
+ }
174
+
175
+ # 복구용 상세 HANDOFF
176
+ generate_recovery_handoff() {
177
+ local stage="$1"
178
+ local stage_dir="$PROJECT_ROOT/stages/$stage"
179
+ local handoff_file="$stage_dir/HANDOFF_RECOVERY.md"
180
+
181
+ log_info "복구용 HANDOFF 생성 중: $stage"
182
+
183
+ mkdir -p "$stage_dir"
184
+
185
+ cat > "$handoff_file" << EOF
186
+ # HANDOFF - $stage (Recovery)
187
+
188
+ > $(date +%Y-%m-%d\ %H:%M:%S)
189
+
190
+ ## Full Context
191
+
192
+ ### 현재 상태
193
+ [상세 상태 설명]
194
+
195
+ ### 완료된 모든 작업
196
+ [상세 작업 목록]
197
+
198
+ ### 모든 결정사항
199
+ [결정사항 전체 목록]
200
+
201
+ $(extract_changed_files)
202
+
203
+ $(extract_recent_commits)
204
+
205
+ ## Step-by-Step Recovery
206
+
207
+ ### 1단계: 환경 확인
208
+ \`\`\`bash
209
+ # 필요한 명령어
210
+ \`\`\`
211
+
212
+ ### 2단계: 상태 복원
213
+ [복원 절차]
214
+
215
+ ### 3단계: 작업 재개
216
+ [재개 절차]
217
+
218
+ ## 관련 체크포인트
219
+
220
+ - [체크포인트 목록]
221
+
222
+ EOF
223
+
224
+ log_success "복구용 HANDOFF 생성 완료: $handoff_file"
225
+ }
226
+
227
+ # 메인 실행
228
+ main() {
229
+ local mode="${1:-default}"
230
+ local stage="${2:-$(get_current_stage)}"
231
+
232
+ if [ "$stage" = "unknown" ]; then
233
+ log_warning "현재 스테이지를 확인할 수 없습니다. 기본값 사용"
234
+ stage="00-unknown"
235
+ fi
236
+
237
+ case "$mode" in
238
+ "default"|"smart")
239
+ generate_handoff "$stage" "smart"
240
+ ;;
241
+ "compact")
242
+ generate_compact_handoff "$stage"
243
+ ;;
244
+ "recovery")
245
+ generate_recovery_handoff "$stage"
246
+ ;;
247
+ *)
248
+ echo "사용법: $0 [default|compact|recovery] [stage_id]"
249
+ exit 1
250
+ ;;
251
+ esac
252
+ }
253
+
254
+ main "$@"
@@ -0,0 +1,103 @@
1
+ # Stage 01: Brainstorming
2
+
3
+ > ⚠️ **필수 AI 모델: Gemini**
4
+ > 이 스테이지의 핵심 작업(아이디어 발산, 웹 리서치)은 `/gemini` 명령어로 수행하세요.
5
+ > ClaudeCode는 결과 구조화에만 사용합니다.
6
+
7
+ 발산적 아이디어 생성 및 요구사항 탐색 단계
8
+
9
+ ## 🎭 페르소나: Creative Explorer
10
+
11
+ > 당신은 Creative Explorer입니다.
12
+ > 제약 없이 다양한 아이디어를 탐색하고, 혁신적인 관점을 제시하세요.
13
+ > 실현 가능성보다는 가능성의 폭을 넓히는 데 집중하세요.
14
+
15
+ ### 특성
16
+ - 발산적 사고
17
+ - 제약 없는 아이디어
18
+ - 다양한 관점
19
+ - 즉흥적 연결
20
+
21
+ ### 권장 행동
22
+ - 다양한 아이디어 제안
23
+ - 비전통적 접근법 탐색
24
+ - 연관성 확장
25
+ - What-if 시나리오
26
+
27
+ ### 지양 행동
28
+ - 즉각적인 실현 가능성 판단
29
+ - 세부 기술 구현
30
+ - 단일 해결책에 집중
31
+
32
+ ### AI 설정
33
+ - **Temperature**: 0.9 (높은 창의성)
34
+ - **창의성**: High
35
+
36
+ ## 실행 모델
37
+ - **Primary**: Gemini (창의적 아이디어 생성, 웹 리서치)
38
+ - **Secondary**: ClaudeCode (구조화, 실현 가능성 검토)
39
+ - **Mode**: YOLO (Container) - 자율 실행 모드
40
+
41
+ ## 목표
42
+ 1. 프로젝트 브리프 기반 아이디어 발산
43
+ 2. 사용자 요구사항 심층 분석
44
+ 3. 초기 범위 및 제약조건 식별
45
+
46
+ ## 입력 파일
47
+ - `inputs/project_brief.md` - 프로젝트 개요
48
+ - `inputs/user_requirements.md` - 사용자 요구사항 (선택)
49
+
50
+ ## 출력 파일
51
+ - `outputs/ideas.md` - 브레인스토밍 아이디어 목록
52
+ - `outputs/requirements_analysis.md` - 요구사항 분석 결과
53
+ - `HANDOFF.md` - 다음 스테이지 인계 문서
54
+
55
+ ## 워크플로우
56
+
57
+ ### 1. 아이디어 발산 (Gemini)
58
+ ```
59
+ /gemini "프로젝트 브리프를 분석하고 다음을 수행해주세요:
60
+ 1. 핵심 기능 아이디어 10개 이상 브레인스토밍
61
+ 2. 각 아이디어의 장단점 분석
62
+ 3. 사용자 페르소나 3개 생성
63
+ 4. Reddit/HackerNews에서 유사 프로젝트 사례 조사"
64
+ ```
65
+
66
+ ### 2. 구조화 (ClaudeCode)
67
+ - Gemini 결과를 구조화된 문서로 정리
68
+ - 실현 가능성 평가 추가
69
+ - 우선순위 매트릭스 생성
70
+
71
+ ### 3. 요구사항 분석
72
+ - 기능적/비기능적 요구사항 분류
73
+ - 제약조건 식별
74
+ - MVP 범위 제안
75
+
76
+ ## 프롬프트 템플릿
77
+
78
+ ### ideation.md
79
+ 발산적 아이디어 생성용
80
+
81
+ ### persona.md
82
+ 사용자 페르소나 생성용
83
+
84
+ ### requirements.md
85
+ 요구사항 분석용
86
+
87
+ ## 완료 조건
88
+ - [ ] 최소 10개 아이디어 생성
89
+ - [ ] 3개 이상 사용자 페르소나 정의
90
+ - [ ] 요구사항 분석 문서 완성
91
+ - [ ] HANDOFF.md 생성
92
+
93
+ ## 다음 스테이지
94
+ → **02-research**: 기술 리서치 및 시장 분석
95
+
96
+ ## 주의사항
97
+ - 이 단계에서는 아이디어 제한 없이 발산적 사고
98
+ - 실현 가능성은 다음 단계에서 상세 검토
99
+ - 모든 아이디어는 기록으로 남김 (나중에 재검토 가능)
100
+
101
+
102
+
103
+