aiwf 0.1.0 → 0.3.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 (145) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/CLAUDE.md +220 -0
  3. package/LICENSE +1 -1
  4. package/README.ko.md +90 -62
  5. package/README.md +89 -62
  6. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/01_PROJECT_DOCS/ARCHITECTURE.md +1 -1
  7. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +5 -1
  8. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +5 -1
  9. package/claude-code/{simone/.simone/03_SPRINTS/CLAUDE.MD → aiwf/en/.aiwf/03_SPRINTS/CLAUDE.md} +28 -7
  10. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +8 -1
  11. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +5 -1
  12. package/claude-code/aiwf/en/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
  13. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +7 -2
  14. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +7 -2
  15. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +7 -1
  16. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +7 -1
  17. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +139 -0
  18. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +155 -0
  19. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +122 -0
  20. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +141 -0
  21. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +177 -0
  22. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +149 -0
  23. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/index.json +5 -0
  24. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/sync-index.js +78 -0
  25. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/github_integration.md +130 -0
  26. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
  27. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
  28. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/task_template.md +1 -0
  29. package/claude-code/{simone/.simone/CLAUDE.MD → aiwf/en/.aiwf/CLAUDE.md} +13 -4
  30. package/claude-code/{simone/.simone → aiwf/en/.aiwf}/README.md +6 -6
  31. package/claude-code/aiwf/en/.claude/CLAUDE_BE.md +276 -0
  32. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_changelog.md +82 -0
  33. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_code_review.md +88 -0
  34. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_commit.md +160 -0
  35. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_general_task.md +147 -0
  36. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_milestone_plan.md +194 -0
  37. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_prd.md +272 -0
  38. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +189 -0
  39. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +121 -0
  40. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_discuss_review.md +29 -0
  41. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_do_task.md +109 -0
  42. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_infinite.md +202 -0
  43. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_initialize.md +134 -0
  44. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_issue_create.md +65 -0
  45. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_mermaid.md +272 -0
  46. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_pr_create.md +76 -0
  47. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime.md +9 -0
  48. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime_context.md +5 -0
  49. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_project_review.md +261 -0
  50. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_test.md +125 -0
  51. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_testing_review.md +198 -0
  52. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +206 -0
  53. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +460 -0
  54. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +165 -0
  55. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_general.md +362 -0
  56. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_yolo.md +300 -0
  57. package/claude-code/aiwf/en/.claude/mcp.json +31 -0
  58. package/claude-code/aiwf/en/.claude/settings.json +102 -0
  59. package/claude-code/aiwf/ko/.aiwf/00_PROJECT_MANIFEST.md +49 -0
  60. package/claude-code/aiwf/ko/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +55 -0
  61. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/CLAUDE.md +78 -0
  62. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +42 -0
  63. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +73 -0
  64. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +98 -0
  65. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +232 -0
  66. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/CLAUDE.md +83 -0
  67. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +49 -0
  68. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +60 -0
  69. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
  70. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +54 -0
  71. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +58 -0
  72. package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +119 -0
  73. package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +124 -0
  74. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +139 -0
  75. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +155 -0
  76. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +122 -0
  77. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +141 -0
  78. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +177 -0
  79. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +149 -0
  80. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/index.json +5 -0
  81. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/sync-index.js +78 -0
  82. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/github_integration.md +130 -0
  83. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
  84. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
  85. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/adr_template.md +49 -0
  86. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/milestone_meta_template.md +25 -0
  87. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/project_manifest_template.md +39 -0
  88. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/sprint_meta_template.md +23 -0
  89. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/task_template.md +36 -0
  90. package/claude-code/aiwf/ko/.aiwf/CLAUDE.md +76 -0
  91. package/claude-code/aiwf/ko/.aiwf/README.md +97 -0
  92. package/claude-code/aiwf/ko/.claude/CLAUDE_BE.md +276 -0
  93. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_changelog.md +82 -0
  94. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_code_review.md +88 -0
  95. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_commit.md +160 -0
  96. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_general_task.md +147 -0
  97. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_milestone_plan.md +194 -0
  98. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_prd.md +280 -0
  99. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +189 -0
  100. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +121 -0
  101. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_discuss_review.md +29 -0
  102. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_do_task.md +109 -0
  103. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_infinite.md +202 -0
  104. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_initialize.md +134 -0
  105. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_issue_create.md +65 -0
  106. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_mermaid.md +272 -0
  107. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_pr_create.md +76 -0
  108. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime.md +9 -0
  109. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime_context.md +8 -0
  110. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_project_review.md +261 -0
  111. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_test.md +125 -0
  112. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_testing_review.md +198 -0
  113. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +210 -0
  114. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +460 -0
  115. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +165 -0
  116. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_general.md +362 -0
  117. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +300 -0
  118. package/claude-code/aiwf/ko/.claude/mcp.json +31 -0
  119. package/claude-code/aiwf/ko/.claude/settings.json +102 -0
  120. package/{AI-WORKFLOW.md → docs/AI-WORKFLOW.ko.md} +31 -24
  121. package/docs/AI-WORKFLOW.md +292 -0
  122. package/docs/COMMANDS_GUIDE.ko.md +637 -0
  123. package/docs/COMMANDS_GUIDE.md +636 -0
  124. package/docs/CONTRIBUTING.md +406 -0
  125. package/docs/DEVELOPMENT_GUIDE.md +727 -0
  126. package/{PRD.ko.md → docs/PRD.ko.md} +9 -9
  127. package/{PRD.md → docs/PRD.md} +9 -9
  128. package/docs/moonklabs-metadata-system-prd.md +127 -0
  129. package/index.js +272 -121
  130. package/package.json +12 -7
  131. package/COMMANDS_GUIDE.md +0 -462
  132. package/claude-code/simone/.simone/04_GENERAL_TASKS/CLAUDE.MD +0 -51
  133. package/claude-code/simone/CHANGELOG.md +0 -71
  134. package/claude-code/simone/LICENSE +0 -21
  135. package/claude-code/simone/README.md +0 -219
  136. package/claude-code/simone/SYNC_GUIDE.md +0 -172
  137. package/claude-code/simone/sync-simone.sh +0 -138
  138. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/00_PROJECT_MANIFEST.md +0 -0
  139. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/CLAUDE.md +0 -0
  140. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +0 -0
  141. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +0 -0
  142. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/adr_template.md +0 -0
  143. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/milestone_meta_template.md +0 -0
  144. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/project_manifest_template.md +0 -0
  145. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/sprint_meta_template.md +0 -0
@@ -0,0 +1,147 @@
1
+ # 일반 Task 생성 - 탑 다운 실행
2
+
3
+ Creates a new general task in `.aiwf/04_GENERAL_TASKS/` following project documentation standards.
4
+
5
+ ## Create a TODO with EXACTLY these 10 Items
6
+
7
+ 1. Parse task arguments and determine task ID
8
+ 2. Load project context and documentation requirements
9
+ 3. Verify task doesn't duplicate existing work
10
+ 4. Research codebase for implementation context
11
+ 5. Create task file using standard template
12
+ 6. Fill in task details with proper context
13
+ 7. Add technical guidance and codebase references
14
+ 8. Update project manifest with new task
15
+ 9. Validate task alignment with architecture
16
+ 10. Perform final quality check and report
17
+
18
+ ## DETAILS on every TODO item
19
+
20
+ ### 1. Parse task arguments and determine task ID
21
+
22
+ The argument format is: `<Task Title or Description>`
23
+
24
+ - If arguments are empty, prompt user for task details
25
+ - Generate sequential task ID by examining existing tasks in `.aiwf/04_GENERAL_TASKS/`
26
+ - Find highest task number (T###) and increment by 1
27
+ - Format: `T###_<Task_Title_Snake_Case>.md`
28
+ - **IMPORTANT:** Task IDs must be sequential with no gaps
29
+
30
+ ### 2. Load project context and documentation requirements
31
+
32
+ Use PARALLEL SUBAGENTS to READ and UNDERSTAND the project's context:
33
+
34
+ - READ `.aiwf/00_PROJECT_MANIFEST.md` - Get current project state
35
+ - READ `.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md` - Understand system constraints
36
+ - READ `.aiwf/01_PROJECT_DOCS/LONG_TERM_VISION.md` - Understand future direction
37
+ - READ latest files in `.aiwf/10_STATE_OF_PROJECT/` - Review current state
38
+ - SCAN `.aiwf/05_ARCHITECTURE_DECISIONS/` for relevant ADRs
39
+ - **IMPORTANT:** General tasks must align with documented architecture
40
+
41
+ ### 3. Verify task doesn't duplicate existing work
42
+
43
+ **SEARCH** comprehensively for potential duplicates:
44
+
45
+ - Check all files in `.aiwf/04_GENERAL_TASKS/`
46
+ - Search sprint tasks in `.aiwf/03_SPRINTS/*/T*.md`
47
+ - Look for similar functionality in completed milestones
48
+ - **CRITICAL:** If duplicate found, stop and report to user with file reference
49
+
50
+ ### 4. Research codebase for implementation context
51
+
52
+ Based on the task description, use PARALLEL SUBAGENTS to:
53
+
54
+ - SEARCH for existing patterns similar to what the task requires
55
+ - IDENTIFY key interfaces, classes, or modules that will be affected
56
+ - FIND examples of similar implementations in the codebase
57
+ - LOCATE relevant test patterns and existing test files
58
+ - DISCOVER error handling and logging patterns used
59
+ - MAP OUT integration points with existing code
60
+ - **DOCUMENT** all findings for inclusion in task
61
+
62
+ ### 5. Create task file using standard template
63
+
64
+ **USE** the task template in `.aiwf/99_TEMPLATES/task_template.md` as base structure:
65
+
66
+ - Copy template structure exactly
67
+ - Place file in `.aiwf/04_GENERAL_TASKS/T###_<Title>.md`
68
+ - Include timestamp: Execute `date '+%Y-%m-%d %H:%M:%S'` for creation time
69
+ - **IMPORTANT:** Follow template structure precisely - no deviations
70
+
71
+ ### 6. Fill in task details with proper context
72
+
73
+ Populate the task file with:
74
+
75
+ - **Title**: Clear, actionable task name
76
+ - **Context**: Link to architecture docs and project state
77
+ - **Requirements**: Specific, measurable outcomes
78
+ - **Acceptance Criteria**: Clear definition of done
79
+ - **Dependencies**: Reference relevant sprints/milestones
80
+ - **Implementation Notes**: Technical approach aligned with architecture
81
+ - **CRITICAL:** All content must reference existing documentation
82
+
83
+ ### 7. Add technical guidance and codebase references
84
+
85
+ **Technical Guidance section:**
86
+
87
+ - Key interfaces and integration points discovered in step 4
88
+ - Specific imports and module references from codebase
89
+ - Existing patterns to follow (with file references)
90
+ - Database models or API contracts to work with
91
+ - Error handling approach used in similar code
92
+ - Testing patterns found in the codebase
93
+
94
+ **Implementation Notes section:**
95
+
96
+ - Step-by-step implementation approach based on research
97
+ - Key architectural decisions to respect (reference ADRs)
98
+ - Specific files and functions to modify or extend
99
+ - Testing approach based on existing test patterns
100
+ - Performance considerations if relevant
101
+
102
+ **IMPORTANT:** Do NOT include code examples. Provide structural guidance and file references only.
103
+
104
+ ### 8. Update project manifest with new task
105
+
106
+ **UPDATE** `.aiwf/00_PROJECT_MANIFEST.md`:
107
+
108
+ - Add task to "## General Tasks" section
109
+ - Format: `- [ ] T###: [Task Title] - Status: Not Started`
110
+ - Maintain alphabetical/numerical ordering
111
+ - Link to task file: `[T###](04_GENERAL_TASKS/T###_Title.md)`
112
+ - **IMPORTANT:** Preserve all existing content
113
+
114
+ ### 9. Validate task alignment with architecture
115
+
116
+ **VERIFY** task compliance:
117
+
118
+ - Check task doesn't contradict architecture principles
119
+ - Ensure implementation approach uses established patterns
120
+ - Validate dependencies exist and are correct
121
+ - Confirm task scope is appropriate (not too broad/narrow)
122
+ - Technical guidance aligns with existing codebase patterns
123
+ - **CRITICAL:** Documentation is source of truth - any deviation needs justification
124
+
125
+ ### 10. Perform final quality check and report
126
+
127
+ **QUALITY CHECK**:
128
+
129
+ - Task file follows template completely
130
+ - All sections properly filled including new technical guidance
131
+ - References to documentation and codebase are valid
132
+ - Task ID is sequential and unique
133
+ - Manifest updated correctly
134
+ - Technical guidance references actual files and patterns
135
+ - No scope creep or architecture violations
136
+
137
+ **OUTPUT FORMAT**:
138
+
139
+ ```markdown
140
+ ✅ **Created**: T###\_<Title>.md
141
+ 📋 **Type**: General Task
142
+ 🎯 **Purpose**: [One-line summary]
143
+ 📚 **References**: [Key documentation links]
144
+ 🔧 **Key Integration Points**: [Main files/modules to modify]
145
+ 🧪 **Test Approach**: [Testing pattern to follow]
146
+ ⏭️ **Next Step**: Review task details and run `/do_task T###` to begin
147
+ ```
@@ -0,0 +1,194 @@
1
+ # 신규 마일스톤 계획 및 생성 - (탑 다운 실행)
2
+
3
+ Creates a new milestone with proper structure, documentation, and project integration through an interactive, adaptive process.
4
+
5
+ ## Create a TODO with EXACTLY these 8 items
6
+
7
+ 1. Parse arguments and analyze project context
8
+ 2. Interactive milestone scoping and definition
9
+ 3. Determine milestone structure and naming
10
+ 4. Create milestone directory and meta file
11
+ 5. Guide supporting documentation creation
12
+ 6. Update project manifest with milestone
13
+ 7. Validate milestone coherence and alignment
14
+ 8. Report milestone creation and next steps
15
+
16
+ ---
17
+
18
+ ## 1 · Parse arguments and analyze project context
19
+
20
+ **CRITICAL:** You are given additional Arguments: <$ARGUMENTS>
21
+
22
+ **USE PARALLEL SUBAGENTS** to do these tasks:
23
+
24
+ - Parse arguments for suggested milestone name/focus (defaults to interactive creation)
25
+ - Read `.aiwf/00_PROJECT_MANIFEST.md` to understand current project state
26
+ - Scan `.aiwf/02_REQUIREMENTS/` to identify existing milestones and numbering
27
+ - Read `.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md` to understand project scope
28
+ - Check latest project review in `.aiwf/10_STATE_OF_PROJECT/` for current status
29
+ - **IMPORTANT:** Understand project phase and what logical next milestone should be
30
+
31
+ ## 2 · Interactive milestone scoping and definition
32
+
33
+ **Conversational milestone definition:**
34
+
35
+ If arguments provided:
36
+
37
+ - "I see you want to create a milestone for: [arguments]"
38
+ - "Let me understand the scope better..."
39
+
40
+ If no arguments:
41
+
42
+ - "Let's define your next milestone based on the current project state"
43
+ - "I see you're currently on [current milestone] - what should we focus on next?"
44
+
45
+ **Interactive questions (adapt based on context):**
46
+
47
+ - "What's the main goal of this milestone?"
48
+ - "What key deliverables should be completed?"
49
+ - "Are there any specific technical challenges or requirements?"
50
+ - "How does this milestone advance the project toward its long-term vision?"
51
+ - "What would 'done' look like for this milestone?"
52
+
53
+ **Keep conversational and adaptive** - don't interrogate, just gather what's needed
54
+
55
+ ## 3 · Determine milestone structure and naming
56
+
57
+ **Generate milestone details:**
58
+
59
+ - Determine next milestone number (M##) by scanning existing milestones
60
+ - Create descriptive milestone name from user input
61
+ - Format: `M##_Milestone_Name_Snake_Case`
62
+ - **CRITICAL:** Ensure no duplicate milestone numbers
63
+ - Validate naming follows AIWF conventions (underscores, no spaces)
64
+
65
+ **Confirm with user:**
66
+
67
+ - "I'll create milestone: M##\_[Name] - does this sound right?"
68
+ - Allow user to adjust name or numbering if needed
69
+
70
+ ## 4 · Create milestone directory and meta file
71
+
72
+ **Create milestone structure:**
73
+
74
+ - Create directory: `.aiwf/02_REQUIREMENTS/M##_Milestone_Name/`
75
+ - Copy template from `.aiwf/99_TEMPLATES/milestone_meta_template.md`
76
+ - Create milestone meta file: `M##_milestone_meta.md`
77
+
78
+ **Populate milestone meta file:**
79
+
80
+ - Fill in YAML frontmatter:
81
+ - `milestone_id: M##`
82
+ - `title: [Milestone Name]`
83
+ - `status: pending`
84
+ - `last_updated: [current timestamp YYYY-MM-DD HH:MM]`
85
+ - Convert user input into structured sections:
86
+ - **Goals**: Clear objectives from user discussion
87
+ - **Key Documents**: Placeholder for PRD and SPECS files
88
+ - **Definition of Done**: Specific, measurable criteria from user input
89
+ - **Notes/Context**: Additional context from user discussion
90
+
91
+ ## 5 · Guide supporting documentation creation
92
+
93
+ **Interactive document planning:**
94
+
95
+ Based on milestone scope, suggest needed documents:
96
+
97
+ - "For this milestone, you'll likely need:"
98
+ - "□ PRD\_[Milestone_Name].md - Product requirements"
99
+ - "□ SPECS\_[Technical_Area].md - Technical specifications"
100
+ - "□ Any domain-specific documentation"
101
+
102
+ **Ask user:**
103
+
104
+ - "Would you like me to create starter templates for these documents now?"
105
+ - "Or would you prefer to create them manually as needed?"
106
+
107
+ **If user wants templates created:**
108
+
109
+ - Create basic PRD template with milestone-specific sections
110
+ - Create SPECS template if technical milestone
111
+ - Include proper cross-references between documents
112
+ - **IMPORTANT:** Don't over-engineer - create useful starting points
113
+
114
+ **If user prefers manual:**
115
+
116
+ - Note in milestone meta what documents are expected
117
+ - Provide guidance on when/how to create them
118
+
119
+ ## 6 · Update project manifest with milestone
120
+
121
+ **UPDATE** `.aiwf/00_PROJECT_MANIFEST.md`:
122
+
123
+ - Add milestone to milestones section:
124
+ - Format: `- [ ] M##: [Milestone Name] - Status: Planning`
125
+ - Link: `[M##](02_REQUIREMENTS/M##_Milestone_Name/M##_milestone_meta.md)`
126
+ - Update project metadata:
127
+ - Set `current_milestone` if this is the active milestone
128
+ - Update `highest_milestone` number
129
+ - Update `last_updated` timestamp
130
+ - **IMPORTANT:** Preserve all existing content and formatting
131
+
132
+ ## 7 · Validate milestone coherence and alignment
133
+
134
+ **VERIFY** milestone quality:
135
+
136
+ - Check milestone aligns with project architecture and vision
137
+ - Ensure Definition of Done is specific and measurable
138
+ - Validate milestone scope is appropriate (not too broad/narrow)
139
+ - Confirm milestone advances project toward stated goals
140
+ - Check milestone numbering and naming follows conventions
141
+ - Verify all created files follow template structure
142
+ - **CRITICAL:** Milestone should be independently valuable and achievable
143
+
144
+ **THINK ABOUT**:
145
+
146
+ - Does this milestone make sense given the current project state?
147
+ - Are the goals realistic and well-scoped?
148
+ - Is the Definition of Done clear enough to know when it's complete?
149
+ - Does this milestone set up future milestones logically?
150
+
151
+ ## 8 · Report milestone creation and next steps
152
+
153
+ **OUTPUT FORMAT**:
154
+
155
+ ```markdown
156
+ ✅ **Milestone Created**: M##\_[Milestone_Name]
157
+
158
+ 📋 **Milestone Details**:
159
+
160
+ - ID: M##
161
+ - Title: [Milestone Name]
162
+ - Status: Planning
163
+ - Focus: [One-line summary of main goal]
164
+
165
+ 📚 **Created Documents**:
166
+
167
+ - Milestone meta: `02_REQUIREMENTS/M##_[Name]/M##_milestone_meta.md`
168
+ - [Any additional documents created]
169
+
170
+ 🎯 **Definition of Done**:
171
+
172
+ - [Key DoD criteria from milestone]
173
+
174
+ 📈 **Project Impact**:
175
+
176
+ - Updates project from M[previous] to M##
177
+ - Advances toward: [project vision alignment]
178
+
179
+ ⏭️ **Recommended Next Steps**:
180
+
181
+ - Review milestone details: `02_REQUIREMENTS/M##_[Name]/M##_milestone_meta.md`
182
+ - Create supporting documentation as planned
183
+ - Break down into sprints: `/project:aiwf:create_sprints_from_milestone M##`
184
+ - Update with specific requirements as they become clear
185
+
186
+ 🎯 **Ready for Development**: Use `/project:aiwf:create_sprints_from_milestone M##` when ready to start implementation planning
187
+ ```
188
+
189
+ **IMPORTANT NOTES**:
190
+
191
+ - Keep milestone scope focused and achievable
192
+ - Definition of Done should be measurable
193
+ - Supporting documents can be created as needed
194
+ - Milestone planning is iterative - refine as you learn more
@@ -0,0 +1,280 @@
1
+ # Generate Product Documentation Workflow
2
+
3
+ 이 규칙은 AI가 몇 가지 핵심 질문을 통해 입력을 수집한 뒤, PRD → IA → UCD → UI/UX 문서를 **순차적으로** 생성하도록 안내합니다. 모든 출력은 **Markdown** 형식을 사용하며 **한국어**로 작성됩니다.
4
+
5
+ ---
6
+
7
+ ## 1. 질문 단계
8
+
9
+ AI는 다음 정보를 **질문**을 통해 사용자에게서 수집합니다.
10
+
11
+ 1. `<product-overview>`
12
+ 2. `<references>` (URL 목록)
13
+ 3. `<must-features>` (필수 기능 목록)
14
+ 4. `<target-user-persona>`
15
+ 5. `<target-platforms>`
16
+ 6. `<storage-type>`
17
+ 7. `<tech-stack>`
18
+
19
+ > ⚠️ 모든 질문은 한글로 하며, 필요 시 추가적인 참고 서비스·경쟁 제품 정보를 요청합니다.
20
+
21
+ ---
22
+
23
+ ## 2. PRD 작성 단계
24
+
25
+ 사용자로부터 모든 입력을 받은 뒤, 아래 **샘플 프롬프트** 구조를 참고하여 PRD를 생성합니다.
26
+
27
+ ```prompt
28
+ Write a PRD document based on the following information:
29
+ <product-overview>
30
+ ${productOverview}
31
+ </product-overview>
32
+ <references>
33
+ ${references}
34
+ </references>
35
+ <must-features>
36
+ ${mustFeatures}
37
+ </must-features>
38
+ <target-user-persona>
39
+ ${persona}
40
+ </target-user-persona>
41
+ <target-platforms>
42
+ ${platforms}
43
+ </target-platforms>
44
+ <storage-type>
45
+ ${storageType}
46
+ </storage-type>
47
+ <tech-stack>
48
+ ${techStack}
49
+ </tech-stack>
50
+ PRD must include the following contents:
51
+ <table-of-contents>
52
+ - Detailed product description
53
+ - Reference Services with detailed rationale
54
+ - Core features and specifications
55
+ - Suggested additional features
56
+ - User persona and scenarios
57
+ - Technical stack recommendations
58
+ </table-of-contents>
59
+ <response-format>
60
+ Use markdown format
61
+ </response-format>
62
+ <guidelines>
63
+ - Use tables or lists where appropriate to organize information systematically.
64
+ - All user interactions, including inputs and outputs, must be in Korean.
65
+ - Provide accurate answers with reliable references
66
+ - Write in Korean
67
+ - Clearly separate each section
68
+ - Collect additional reference services and provide detailed rationale
69
+ - Do not include detailed data structure and storage design
70
+ </guidelines>
71
+ ```
72
+
73
+ 문서에 포함해야 할 **추가 지침**:
74
+
75
+ - 표와 리스트를 활용해 정보를 구조화할 것.
76
+ - 참고 서비스는 최소 3개 이상, 각 서비스 사용 이유를 2~3줄로 기술.
77
+
78
+ PRD 작성을 완료하면 "✅ PRD 완료" 메시지와 함께 IA 단계 진행 여부를 묻는 **한글** 질문을 덧붙입니다.
79
+
80
+ ---
81
+
82
+ ## 3. IA(Information Architecture) 작성 단계
83
+
84
+ 사용자가 **계속**을 선택하면 IA 문서를 생성합니다.
85
+
86
+ IA 문서는 다음을 포함합니다:
87
+
88
+ 1. **사이트맵** – 트리 형태로 표현
89
+ 2. **콘텐츠 인벤토리** – 페이지별 주요 콘텐츠 표
90
+ 3. **사용자 흐름** – 순서도(텍스트 기반)로 최소 2개 핵심 시나리오 제공
91
+ 4. **내비게이션 구조 및 URL 패턴**
92
+
93
+ 문서 형식: Markdown, 한국어
94
+
95
+ ### IA 샘플 프롬프트
96
+
97
+ ```prompt
98
+ Write an Information Architecture document based on PRD, and following information:
99
+ <navigation-type>
100
+ ${navigationType}
101
+ </navigation-type>
102
+ <auth-type>
103
+ ${authType}
104
+ </auth-type>
105
+ IA document must include the following contents:
106
+ <table-of-contents>
107
+ - Site Map
108
+ - User Flow
109
+ - Navigation Structure
110
+ - Page Hierarchy
111
+ - Content Organization
112
+ - Interaction Patterns
113
+ - URL Structure
114
+ - Component Hierarchy
115
+ </table-of-contents>
116
+ <response-format>
117
+ Use markdown format
118
+ </response-format>
119
+ <guidelines>
120
+ - Use tables or lists where appropriate to organize information systematically
121
+ - All user interactions, including inputs and outputs, must be in Korean
122
+ - Provide accurate answers with reliable references
123
+ - Write in Korean
124
+ - Clearly separate each section
125
+ - Consider user experience and accessibility
126
+ - Include responsive design considerations
127
+ - Consider SEO best practices
128
+ </guidelines>
129
+ ```
130
+
131
+ IA 작성 후 "✅ IA 완료" 메시지와 함께 UCD 단계 진행 여부 질의.
132
+
133
+ ---
134
+
135
+ ## 4. UCD(User-Centered Design) 작성 단계
136
+
137
+ UCD 문서는 다음을 포함합니다:
138
+
139
+ 1. **주요 페르소나 2–3개** – 표로 정리 (목표, 동기, pain point)
140
+ 2. **시나리오** – 페르소나별 핵심 사용 시나리오 2개 이상
141
+ 3. **요구사항 매트릭스** – 기능 ↔ 페르소나 매핑
142
+
143
+ 문서 형식: Markdown, 한국어
144
+
145
+ ### UCD 샘플 프롬프트
146
+
147
+ ```prompt
148
+ Write a detailed use case document based on PRD, IA, and following information:
149
+ Use case document must include the following contents:
150
+ <table-of-contents>
151
+ - Actor Definitions
152
+ - Use Case Scenarios
153
+ - Main Steps
154
+ - Exception Handling
155
+ - Comprehensive Actor Definitions
156
+ - Detailed Use Case Scenarios
157
+ - Main Steps and Flow of Events
158
+ - Alternative Flows and Edge Cases
159
+ - Preconditions and Postconditions
160
+ - Business Rules and Constraints
161
+ - Exception Handling Procedures
162
+ - User Interface Considerations
163
+ - Data Requirements and Data Flow
164
+ - Security and Privacy Considerations
165
+ </table-of-contents>
166
+ <response-format>
167
+ Use markdown format
168
+ </response-format>
169
+ <guidelines>
170
+ - Use tables or lists where appropriate to organize information systematically
171
+ - All user interactions, including inputs and outputs, must be in Korean
172
+ - Provide accurate answers with reliable references
173
+ - Write in Korean
174
+ - Clearly separate each section
175
+ - Include detailed step-by-step descriptions
176
+ - Consider error cases and alternative flows
177
+ - Include technical considerations
178
+ </guidelines>
179
+ ```
180
+
181
+ 완료 후 "✅ UCD 완료" 메시지와 함께 UI/UX 단계 진행 여부 질의.
182
+
183
+ ---
184
+
185
+ ## 5. UI/UX 가이드 작성 단계
186
+
187
+ 내용:
188
+
189
+ 1. **와이어프레임 설명** – 각 핵심 화면의 레이아웃과 구성 요소(텍스트 설명)
190
+ 2. **네비게이션 원칙** – 일관된 UI 패턴 설명
191
+ 3. **스타일 가이드 초안** – 컬러 팔레트, 타이포그래피, 컴포넌트 규칙
192
+ 4. **접근성 고려사항** – WCAG 2.1 준수 핵심 포인트
193
+
194
+ 문서 형식: Markdown, 한국어
195
+
196
+ ### UI/UX 샘플 프롬프트
197
+
198
+ ```prompt
199
+ <role>
200
+ senior UI/UX designer.
201
+ </role>
202
+ <task>
203
+ Write a comprehensive UI/UX design guide based on the following information:
204
+ </task>
205
+ <design-preferences>
206
+ Theme details: Please analyze the reference service and suggest appropriate:
207
+ - Design style
208
+ - Color scheme
209
+ - Primary colors
210
+ </design-preferences>
211
+ <references>
212
+ ${references}
213
+ </references>
214
+ <additional-instructions>
215
+ Please analyze the reference service's design system and suggest appropriate:
216
+ - Overall design style and patterns
217
+ - Color scheme and palette
218
+ - Primary colors
219
+ - Mood and atmosphere
220
+ </additional-instructions>
221
+ Design guide must include the following contents:
222
+ <table-of-contents>
223
+ - Design System Overview
224
+ - Color Palette for tailwindcss (primary, secondary, accent, neutral, etc.)
225
+ - Page Implementations
226
+ detailed design guide for each pages
227
+ - core purpose of the page
228
+ - key components
229
+ - layout structure
230
+ - Layout Components
231
+ - applicable routes
232
+ - core components
233
+ - responsive behavior
234
+ - Interaction Patterns
235
+ - Breakpoints
236
+ </table-of-contents>
237
+ <breakpoints>
238
+ $breakpoints: (
239
+ ├── 'mobile': 320px,
240
+ ├── 'tablet': 768px,
241
+ ├── 'desktop': 1024px,
242
+ └── 'wide': 1440px
243
+ );
244
+ </breakpoints>
245
+ <response-format>
246
+ Use markdown format
247
+ </response-format>
248
+ <guidelines>
249
+ - Use tables or lists where appropriate to organize information systematically
250
+ - All descriptions must be in Korean
251
+ - Considering color scheme, select proper color for each color in tailwindcss palette
252
+ - Provide specific color codes
253
+ - Provide rationale for design decisions
254
+ - Always include responsive design considerations
255
+ - Include all text content in UI
256
+ - If needed, use enough images in each components
257
+ - provide each image's url. Use stock photos from picsum.photos where appropriate, only valid URLs you know exist
258
+ - Write in Korean
259
+ - must handle root route
260
+ - consider proper grid system for all components
261
+ </guidelines>
262
+ ```
263
+
264
+ 완료 후 "🎉 모든 문서 생성 완료" 메시지와 함께 다음 단계(스프린트/태스크 분해) 안내.
265
+
266
+ ---
267
+
268
+ ## 6. 스프린트/태스크 분해 준비
269
+
270
+ 모든 문서가 완료되면, AI는 `yolo` 또는 `create_sprints_from_milestone` 명령을 사용해 개발 스프린트와 태스크를 자동으로 생성할 수 있음을 사용자에게 알립니다.
271
+
272
+ ---
273
+
274
+ ### 사용 예
275
+
276
+ 1. AI → 질문 단계 진행
277
+ 2. 사용자 → 정보 제공
278
+ 3. AI → PRD 생성, IA 진행 여부 질문
279
+ 4. 사용자 → "계속"
280
+ 5. AI → IA 생성, UCD 진행 여부 질문 … 반복