aiwf 0.1.0 → 0.3.1

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 (163) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/CLAUDE.md +19 -0
  3. package/LICENSE +1 -1
  4. package/README.ko.md +90 -62
  5. package/README.md +109 -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_docs.md +225 -0
  43. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_infinite.md +202 -0
  44. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_initialize.md +134 -0
  45. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_issue_create.md +65 -0
  46. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_manager.md +287 -0
  47. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_status.md +246 -0
  48. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_mermaid.md +272 -0
  49. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_pr_create.md +76 -0
  50. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime.md +9 -0
  51. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_project_review.md +261 -0
  52. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_switch_language.md +160 -0
  53. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_test.md +125 -0
  54. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_testing_review.md +198 -0
  55. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +206 -0
  56. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +460 -0
  57. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +165 -0
  58. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_general.md +362 -0
  59. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_yolo.md +300 -0
  60. package/claude-code/aiwf/en/.claude/mcp.json +31 -0
  61. package/claude-code/aiwf/en/.claude/settings.json +102 -0
  62. package/claude-code/aiwf/ko/.aiwf/00_PROJECT_MANIFEST.md +49 -0
  63. package/claude-code/aiwf/ko/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +55 -0
  64. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/CLAUDE.md +78 -0
  65. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +42 -0
  66. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +73 -0
  67. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +98 -0
  68. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +232 -0
  69. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/CLAUDE.md +83 -0
  70. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +49 -0
  71. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +60 -0
  72. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
  73. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +54 -0
  74. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +58 -0
  75. package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +119 -0
  76. package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +124 -0
  77. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +139 -0
  78. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +155 -0
  79. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +122 -0
  80. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +141 -0
  81. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +177 -0
  82. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +149 -0
  83. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/index.json +5 -0
  84. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/sync-index.js +78 -0
  85. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/github_integration.md +130 -0
  86. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
  87. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
  88. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/adr_template.md +49 -0
  89. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/milestone_meta_template.md +25 -0
  90. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/project_manifest_template.md +39 -0
  91. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/sprint_meta_template.md +23 -0
  92. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/task_template.md +36 -0
  93. package/claude-code/aiwf/ko/.aiwf/CLAUDE.md +76 -0
  94. package/claude-code/aiwf/ko/.aiwf/README.md +97 -0
  95. package/claude-code/aiwf/ko/.claude/CLAUDE_BE.md +276 -0
  96. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_changelog.md +82 -0
  97. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_code_review.md +88 -0
  98. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_commit.md +160 -0
  99. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_general_task.md +147 -0
  100. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_milestone_plan.md +194 -0
  101. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_prd.md +280 -0
  102. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +189 -0
  103. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +121 -0
  104. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_discuss_review.md +29 -0
  105. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_do_task.md +109 -0
  106. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_docs.md +225 -0
  107. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_infinite.md +202 -0
  108. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_initialize.md +134 -0
  109. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_issue_create.md +65 -0
  110. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_manager.md +287 -0
  111. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_status.md +246 -0
  112. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_mermaid.md +272 -0
  113. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_pr_create.md +76 -0
  114. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime.md +9 -0
  115. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_project_review.md +261 -0
  116. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_switch_language.md +160 -0
  117. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_test.md +124 -0
  118. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_testing_review.md +198 -0
  119. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +210 -0
  120. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +460 -0
  121. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +165 -0
  122. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_general.md +305 -0
  123. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +300 -0
  124. package/claude-code/aiwf/ko/.claude/mcp.json +31 -0
  125. package/claude-code/aiwf/ko/.claude/settings.json +102 -0
  126. package/{AI-WORKFLOW.md → docs/AI-WORKFLOW.ko.md} +38 -24
  127. package/docs/AI-WORKFLOW.md +299 -0
  128. package/docs/COMMANDS_GUIDE.ko.md +727 -0
  129. package/docs/COMMANDS_GUIDE.md +726 -0
  130. package/docs/CONTRIBUTING.md +406 -0
  131. package/docs/DEVELOPMENT_GUIDE.md +727 -0
  132. package/docs/Enhanced_Installation_Flow_Design.md +498 -0
  133. package/docs/PRD.ko.md +148 -0
  134. package/docs/PRD.md +150 -0
  135. package/docs/moonklabs-metadata-system-prd.md +127 -0
  136. package/index.js +1493 -122
  137. package/jest.config.js +4 -0
  138. package/language-cli.js +279 -0
  139. package/language-utils.js +330 -0
  140. package/package.json +23 -10
  141. package/scripts/validate-commands.cjs +338 -0
  142. package/scripts/validate-commands.js +254 -0
  143. package/tests/basic.test.js +62 -0
  144. package/tests/commands.test.js +127 -0
  145. package/tests/installer.test.js +129 -0
  146. package/tests/language-utils.test.js +271 -0
  147. package/COMMANDS_GUIDE.md +0 -462
  148. package/PRD.ko.md +0 -96
  149. package/PRD.md +0 -98
  150. package/claude-code/simone/.simone/04_GENERAL_TASKS/CLAUDE.MD +0 -51
  151. package/claude-code/simone/CHANGELOG.md +0 -71
  152. package/claude-code/simone/LICENSE +0 -21
  153. package/claude-code/simone/README.md +0 -219
  154. package/claude-code/simone/SYNC_GUIDE.md +0 -172
  155. package/claude-code/simone/sync-simone.sh +0 -138
  156. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/00_PROJECT_MANIFEST.md +0 -0
  157. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/CLAUDE.md +0 -0
  158. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +0 -0
  159. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +0 -0
  160. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/adr_template.md +0 -0
  161. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/milestone_meta_template.md +0 -0
  162. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/project_manifest_template.md +0 -0
  163. /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/sprint_meta_template.md +0 -0
@@ -0,0 +1,82 @@
1
+ # Generate Changelog from Git Commit History
2
+
3
+ Analyzes git commit history to generate a structured changelog.
4
+
5
+ ## Work Steps
6
+
7
+ ### 1. Analyze Git History
8
+ - Analyze recent commits to understand changes
9
+ - Check tag information (if available)
10
+ - Parse conventional commit format from commit messages
11
+
12
+ ### 2. Categorize Changes
13
+ Classify commits into the following categories:
14
+ - ✨ Features (feat)
15
+ - 🐛 Bug Fixes (fix)
16
+ - 📝 Documentation (docs)
17
+ - 🎨 Code Style (style)
18
+ - ♻️ Refactoring (refactor)
19
+ - ⚡ Performance (perf)
20
+ - ✅ Tests (test)
21
+ - 🔧 Build/Config (build, chore)
22
+
23
+ ### 3. Generate Changelog
24
+ - Create or update CHANGELOG.md file
25
+ - Organize sections by version (based on tags)
26
+ - Group changes by category
27
+ - Display with commit SHA
28
+
29
+ ### 4. Usage
30
+ ```bash
31
+ # Basic execution (full history)
32
+ /project:aiwf:changelog
33
+
34
+ # Specify commit range
35
+ /project:aiwf:changelog v1.0.0..HEAD
36
+
37
+ # Recent commits with count
38
+ /project:aiwf:changelog -n 50
39
+ ```
40
+
41
+ ### 5. Example Output
42
+ ```markdown
43
+ # Changelog
44
+
45
+ ## [Unreleased]
46
+
47
+ ### ✨ Features
48
+ - feat(auth): add social login functionality (abc1234)
49
+ - feat(api): implement RESTful API v2 (def5678)
50
+
51
+ ### 🐛 Bug Fixes
52
+ - fix(ui): correct mobile responsive layout (ghi9012)
53
+
54
+ ### 📝 Documentation
55
+ - docs(readme): update installation guide (jkl3456)
56
+ ```
57
+
58
+ ## Implementation Details
59
+
60
+ 1. Parse Git Log:
61
+ ```bash
62
+ git log --pretty=format:"%h|%s|%an|%ad" --date=short
63
+ ```
64
+
65
+ 2. Conventional Commit Pattern Matching:
66
+ ```regex
67
+ ^(feat|fix|docs|style|refactor|perf|test|build|chore)(\(.+\))?:\s+(.+)$
68
+ ```
69
+
70
+ 3. Utilize Tag Information:
71
+ ```bash
72
+ git describe --tags --abbrev=0
73
+ ```
74
+
75
+ 4. Apply changelog template and generate file
76
+
77
+ 5. Merge appropriately if existing CHANGELOG.md exists
78
+
79
+ ## Notes
80
+ - Commits not following Conventional Commit format are classified as "Other Changes"
81
+ - Merge commits are excluded by default
82
+ - Generated changelog can be manually edited after review
@@ -0,0 +1,88 @@
1
+ # Code Review - Top-Down Execution
2
+
3
+ Use the following instructions from top to bottom to execute a Code Review.
4
+
5
+ ## Create a TODO with EXACTLY these 6 Items
6
+
7
+ 1. Analyze the Scope given
8
+ 2. Find code changes within Scope
9
+ 3. Find relevant Specification and Documentation
10
+ 4. Compare code changes against Documentation and Requirements
11
+ 5. Analyze possible differences
12
+ 6. Provide PASS/FAIL verdict with details
13
+
14
+ Follow step by step and adhere closely to the following instructions for each step.
15
+
16
+ ## DETAILS on every TODO item
17
+
18
+ ### 1. Analyze the Scope given
19
+
20
+ check: <$ARGUMENTS>
21
+
22
+ If empty, use default, otherwise interpret <$ARGUMENTS> to identify the scope of the Review. Only continue if you can find meaningful changes to review.
23
+
24
+ **CONTEXT:** Before reviewing code changes:
25
+
26
+ - Read `.aiwf/00_PROJECT_MANIFEST.md` to understand current sprint and milestone context
27
+ - Use the manifest to identify which sprint is active and what work is in scope
28
+ - Only evaluate against requirements appropriate for the current sprint's deliverables
29
+
30
+ ### 2. Find code changes within Scope
31
+
32
+ With the identified Scope use `git diff` (on default: `git diff HEAD~1`) to find code changes.
33
+
34
+ ### 3. Find relevant Specifications and Documentation
35
+
36
+ - FIND the Task, Sprint and Milestone involved in the work that was done and output your findings
37
+ - Navigate to `.aiwf/03_SPRINTS/` to find the current sprint directory
38
+ - READ the sprint meta file to understand sprint objectives and deliverables
39
+ - If a specific task is in scope, find and READ the task file in the sprint directory
40
+ - IDENTIFY related requirements in `.aiwf/02_REQUIREMENTS/` for the current milestone
41
+ - READ involved Documents especially in `.aiwf/01_PROJECT_DOCS/` and `.aiwf/02_REQUIREMENTS/`
42
+ - **IMPORTANT:** Focus on current sprint deliverables, not future milestone features
43
+
44
+ ### 4. Compare code changes against Documentation and Requirements
45
+
46
+ - Use DEEP THINKING to compare changes against found Requirements and Specs.
47
+ - Compare especially these things:
48
+ - **Data models / schemas** — fields, types, constraints, relationships.
49
+ - **APIs / interfaces** — endpoints, params, return shapes, status codes, errors.
50
+ - **Config / environment** — keys, defaults, required/optional.
51
+ - **Behaviour** — business rules, side-effects, error handling.
52
+ - **Quality** — naming, formatting, tests, linter status.
53
+
54
+ **IMPORTANT**:
55
+
56
+ - Deviations from the Specs is not allowed. Not even small ones. Be very picky here!
57
+ - If in doubt call a **FAIL** and ask the User.
58
+ - Zero tolerance on not following the Specs and Documentation.
59
+
60
+ ### 5. Analyze the differences
61
+
62
+ - Analyze any difference found
63
+ - Give every issue a Severity Score
64
+ - Severity ranges from 1 (low) to 10 (high)
65
+ - Remember List of issues and Scores for output
66
+
67
+ ### 6. Provide PASS/FAIL verdict with details
68
+
69
+ - Call a **FAIL** on any differences found.
70
+ - Zero Tolerance - even on well meant additions.
71
+ - Leave it on the user to decide if small changes are allowed.
72
+ - Only **PASS** if no discrepancy appeared.
73
+
74
+ #### IMPORTANT: Output Format
75
+
76
+ - Output the results of your review to the task's **## Output Log** section in the task file
77
+ - Find the task file in `.aiwf/03_SPRINTS/` or `.aiwf/04_GENERAL_TASKS/` based on the scope
78
+ - Append the review results to the existing Output Log with timestamp
79
+ - Output Format:
80
+ ```
81
+ [YYYY-MM-DD HH:MM]: Code Review - PASS/FAIL
82
+ Result: **FAIL/PASS** Your final decision on if it's a PASS or a FAIL.
83
+ **Scope:** Inform the user about the review scope.
84
+ **Findings:** Detailed list with all Issues found and Severity Score.
85
+ **Summary:** Short summary on what is wrong or not.
86
+ **Recommendation:** Your personal recommendation on further steps.
87
+ ```
88
+ - Also output a brief result summary to the console for immediate feedback
@@ -0,0 +1,160 @@
1
+ # Analyze Changes and Create Logical Git Commits
2
+
3
+ Follow these instructions from top to bottom.
4
+
5
+ ## Create a TODO with EXACTLY these 6 items
6
+
7
+ 1. Parse arguments and analyze git status
8
+ 2. Review changes and group by logical commits
9
+ 3. Propose commit structure and messages
10
+ 4. Check if user approval is necessary
11
+ 5. Execute approved commits
12
+ 6. Report commit results
13
+
14
+ ---
15
+
16
+ ## 1 · Analyze git status and parse arguments
17
+
18
+ - Run these commands in parallel for maximum efficiency: `git status`, `git diff --staged`, `git diff`
19
+ - List all changed files with their folder structure to understand the scope
20
+
21
+ ### CRITICAL: Argument Interpretation Rules
22
+
23
+ **Context Provided** (when <$ARGUMENTS> contains text):
24
+
25
+ - If YOLO is part of the <$ARGUMENTS> it is meant to skip user Approval (see Step 4 on your Todo)
26
+ - The other text in <$ARGUMENTS> represents a **task ID**, **sprint ID**, or other **contextual identifier** provided by the user
27
+ - This is NOT a file path - it's a semantic context for filtering changes
28
+ - **PRIMARY FOCUS**: Only commit files directly related to this context
29
+ - **SECONDARY CONSIDERATION**: After handling the primary context, ask if user wants to commit other unrelated changes
30
+
31
+ **Task ID Pattern** (e.g., T01_S02, TX03_S01, T003):
32
+
33
+ - Sprint Tasks: `T<NN>_S<NN>` format (e.g., T01_S02, T03_S02)
34
+ - Completed Sprint Tasks: `TX<NN>_S<NN>` format (e.g., TX01_S02, TX03_S01)
35
+ - General Tasks: `T<NNN>` format (e.g., T001, T002)
36
+ - Completed General Tasks: `TX<NNN>` format (e.g., TX001, TX002)
37
+ - Search for this task ID in:
38
+ - `.aiwf/03_SPRINTS/` directory (for sprint tasks)
39
+ - `.aiwf/04_GENERAL_TASKS/` directory (for general tasks)
40
+ - Task metadata in files (look for `task_id: T01_S02` in frontmatter)
41
+ - Git diff content (to see if code comments or commits reference the task)
42
+ - Identify ALL files that were modified as part of this task's implementation
43
+ - This includes: source code, tests, configuration, and the task documentation file itself
44
+
45
+ **Sprint ID Pattern** (e.g., S01, S02):
46
+
47
+ - When only sprint ID is provided, commit all changes related to ANY task within that sprint
48
+ - Search pattern: `T*_S<NN>` in the sprint directory
49
+ - Example: "S02" would include changes for T01_S02, T02_S02, T03_S02, etc.
50
+
51
+ **No Context Provided** (when <$ARGUMENTS> is empty):
52
+
53
+ - Analyze all changes and group them logically
54
+ - Propose separate commits for different logical units of work
55
+
56
+ ### Implementation Steps
57
+
58
+ 1. First, determine if <$ARGUMENTS> contains any text
59
+ 2. If yes, explicitly state: "Context provided: '$ARGUMENTS' - I will focus on changes related to this context"
60
+ 3. If it's a task ID pattern, find the task file and understand what was implemented
61
+ 4. Filter the changed files to only those related to the identified context
62
+ 5. If no files match the context, inform the user: "No changes found related to '$ARGUMENTS'"
63
+ 6. If unrelated changes exist, mention them but DO NOT include in initial commit proposal
64
+
65
+ ## 2 · Review changes and group by logical commits
66
+
67
+ ### PRIORITY: Context Filtering
68
+
69
+ **If context provided in arguments**:
70
+
71
+ 1. **FILTER FIRST**: Separate changes into two groups:
72
+ - **Related to context**: Files that are part of the task/context implementation
73
+ - **Unrelated to context**: Everything else
74
+ 2. **FOCUS**: Only analyze the "related to context" group for the first commit
75
+ 3. **DEFER**: Keep the "unrelated" group for potential later commits (only if user requests)
76
+
77
+ **Standard grouping logic** (for no-context or within-context grouping):
78
+
79
+ - **Think about** which changes belong together logically:
80
+ - Task completion (group by task ID when applicable)
81
+ - Feature additions (group by feature scope)
82
+ - Configuration updates (group separately)
83
+ - Documentation updates (group by documentation type)
84
+ - Bug fixes (group by related functionality)
85
+ - **Think carefully** to ensure each commit represents one logical change that can be understood and potentially reverted independently
86
+ - Avoid mixing unrelated changes in the same commit
87
+ - Consider dependencies between changes when ordering commits
88
+
89
+ ## 3 · Propose commit
90
+
91
+ ### Context-Aware Commit Proposal
92
+
93
+ **When context was provided** (e.g., task ID):
94
+
95
+ - **FIRST COMMIT**: Must contain ONLY files related to the provided context
96
+ - State clearly: "This commit includes changes for $ARGUMENTS"
97
+ - After this commit is done, then ask: "There are also unrelated changes in [list files]. Would you like me to create additional commits for these?"
98
+
99
+ **When no context provided**:
100
+
101
+ - Propose commits based on logical grouping of all changes
102
+
103
+ For the next commit to create:
104
+
105
+ - **Context**: If applicable, which task/context this commit addresses
106
+ - **Files**: List the specific files to be included
107
+ - **Commit message**: Use conventional commit format, be clear and concise
108
+ - **CRITICAL:** Must not contain any attribution to Claude, Anthropic, or AI assistance
109
+ - If task-related, include task ID in message (e.g., "feat(agents): implement T01_S02 coordinator agent" or "fix(api): resolve T003 authentication issue")
110
+ - **GitHub Issue Linking**: If task has a GitHub issue, include `fixes #123` or `relates to #456` in commit message
111
+ - **Reasoning**: Brief explanation of why these changes belong together
112
+
113
+ ## 4 · Check if user approval is necessary
114
+
115
+ If YOLO **IS** part of the <$ARGUMENTS> skip this and jump to next step.
116
+
117
+ Otherwise ask the User for approval.
118
+
119
+ - Show the complete commit plan including files and message
120
+ - Wait for explicit user confirmation before proceeding
121
+ - If user says no, ask what should be changed
122
+ - If user wants to modify the commit message or scope, make adjustments
123
+
124
+ ## 5 · Execute approved commit and continue
125
+
126
+ For the approved commit:
127
+
128
+ - Stage the specified files with `git add`
129
+ - **IMPORTANT:** We are using pre-commit hooks that will likely report shortcomings. You need to fix them. Don't skip validation unless there are open tasks adressing especially these problems.
130
+ - **Create the commit** with the approved message
131
+ - Verify commit was created successfully
132
+ - **GitHub Issue Update (if applicable):**
133
+ - If task has a linked GitHub issue
134
+ - Add commit link comment to issue:
135
+ ```bash
136
+ gh issue comment {issue_number} --body "🔗 Commit: {commit_sha} - {commit_message}"
137
+ ```
138
+ - **IMPORTANT:** If there are more commits remaining, return to step 3 for the next commit
139
+ - Only proceed to step 6 when all commits are completed
140
+
141
+ ## 6 · Report commit results
142
+
143
+ Provide summary:
144
+
145
+ - **Commits Created**: List each commit with SHA and message
146
+ - **Files Committed**: Total count of files committed
147
+ - **Remaining Changes**: Any uncommitted changes still pending
148
+ - **Repository Status**: Current git status after commits
149
+
150
+ ## 7 · Generate Changelog (Optional)
151
+
152
+ After successful commits:
153
+
154
+ - Ask user: "Commits completed successfully. Would you like to update the Changelog? (y/n)"
155
+ - If yes, execute: `/project:aiwf:changelog`
156
+ - This will:
157
+ - Analyze recent commit history
158
+ - Generate or update CHANGELOG.md
159
+ - Categorize changes by type (feat, fix, docs, etc.)
160
+ - Include the commits just created
@@ -0,0 +1,147 @@
1
+ # Create General Task - Top-Down Execution
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
+ # Create Milestone Plan - Top-Down Execution
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