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.
- package/CHANGELOG.md +44 -0
- package/CLAUDE.md +220 -0
- package/LICENSE +1 -1
- package/README.ko.md +90 -62
- package/README.md +89 -62
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/01_PROJECT_DOCS/ARCHITECTURE.md +1 -1
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +5 -1
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +5 -1
- package/claude-code/{simone/.simone/03_SPRINTS/CLAUDE.MD → aiwf/en/.aiwf/03_SPRINTS/CLAUDE.md} +28 -7
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +8 -1
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +5 -1
- package/claude-code/aiwf/en/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +7 -2
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +7 -2
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +7 -1
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +7 -1
- package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +139 -0
- package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +155 -0
- package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +122 -0
- package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +141 -0
- package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +177 -0
- package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +149 -0
- package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/index.json +5 -0
- package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/sync-index.js +78 -0
- package/claude-code/aiwf/en/.aiwf/98_PROMPTS/github_integration.md +130 -0
- package/claude-code/aiwf/en/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
- package/claude-code/aiwf/en/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/task_template.md +1 -0
- package/claude-code/{simone/.simone/CLAUDE.MD → aiwf/en/.aiwf/CLAUDE.md} +13 -4
- package/claude-code/{simone/.simone → aiwf/en/.aiwf}/README.md +6 -6
- package/claude-code/aiwf/en/.claude/CLAUDE_BE.md +276 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_changelog.md +82 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_code_review.md +88 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_commit.md +160 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_general_task.md +147 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_milestone_plan.md +194 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_prd.md +272 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +189 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +121 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_discuss_review.md +29 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_do_task.md +109 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_infinite.md +202 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_initialize.md +134 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_issue_create.md +65 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_mermaid.md +272 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_pr_create.md +76 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime.md +9 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime_context.md +5 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_project_review.md +261 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_test.md +125 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_testing_review.md +198 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +206 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +460 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +165 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_general.md +362 -0
- package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_yolo.md +300 -0
- package/claude-code/aiwf/en/.claude/mcp.json +31 -0
- package/claude-code/aiwf/en/.claude/settings.json +102 -0
- package/claude-code/aiwf/ko/.aiwf/00_PROJECT_MANIFEST.md +49 -0
- package/claude-code/aiwf/ko/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +55 -0
- package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/CLAUDE.md +78 -0
- package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +42 -0
- package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +73 -0
- package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +98 -0
- package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +232 -0
- package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/CLAUDE.md +83 -0
- package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +49 -0
- package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +60 -0
- package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
- package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +54 -0
- package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +58 -0
- package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +119 -0
- package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +124 -0
- package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +139 -0
- package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +155 -0
- package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +122 -0
- package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +141 -0
- package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +177 -0
- package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +149 -0
- package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/index.json +5 -0
- package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/sync-index.js +78 -0
- package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/github_integration.md +130 -0
- package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
- package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
- package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/adr_template.md +49 -0
- package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/milestone_meta_template.md +25 -0
- package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/project_manifest_template.md +39 -0
- package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/sprint_meta_template.md +23 -0
- package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/task_template.md +36 -0
- package/claude-code/aiwf/ko/.aiwf/CLAUDE.md +76 -0
- package/claude-code/aiwf/ko/.aiwf/README.md +97 -0
- package/claude-code/aiwf/ko/.claude/CLAUDE_BE.md +276 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_changelog.md +82 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_code_review.md +88 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_commit.md +160 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_general_task.md +147 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_milestone_plan.md +194 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_prd.md +280 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +189 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +121 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_discuss_review.md +29 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_do_task.md +109 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_infinite.md +202 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_initialize.md +134 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_issue_create.md +65 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_mermaid.md +272 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_pr_create.md +76 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime.md +9 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime_context.md +8 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_project_review.md +261 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_test.md +125 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_testing_review.md +198 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +210 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +460 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +165 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_general.md +362 -0
- package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +300 -0
- package/claude-code/aiwf/ko/.claude/mcp.json +31 -0
- package/claude-code/aiwf/ko/.claude/settings.json +102 -0
- package/{AI-WORKFLOW.md → docs/AI-WORKFLOW.ko.md} +31 -24
- package/docs/AI-WORKFLOW.md +292 -0
- package/docs/COMMANDS_GUIDE.ko.md +637 -0
- package/docs/COMMANDS_GUIDE.md +636 -0
- package/docs/CONTRIBUTING.md +406 -0
- package/docs/DEVELOPMENT_GUIDE.md +727 -0
- package/{PRD.ko.md → docs/PRD.ko.md} +9 -9
- package/{PRD.md → docs/PRD.md} +9 -9
- package/docs/moonklabs-metadata-system-prd.md +127 -0
- package/index.js +272 -121
- package/package.json +12 -7
- package/COMMANDS_GUIDE.md +0 -462
- package/claude-code/simone/.simone/04_GENERAL_TASKS/CLAUDE.MD +0 -51
- package/claude-code/simone/CHANGELOG.md +0 -71
- package/claude-code/simone/LICENSE +0 -21
- package/claude-code/simone/README.md +0 -219
- package/claude-code/simone/SYNC_GUIDE.md +0 -172
- package/claude-code/simone/sync-simone.sh +0 -138
- /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/00_PROJECT_MANIFEST.md +0 -0
- /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/CLAUDE.md +0 -0
- /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +0 -0
- /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +0 -0
- /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/adr_template.md +0 -0
- /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/milestone_meta_template.md +0 -0
- /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/project_manifest_template.md +0 -0
- /package/claude-code/{simone/.simone → aiwf/en/.aiwf}/99_TEMPLATES/sprint_meta_template.md +0 -0
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
# 프로젝트 리뷰 - 탑 다운 실행
|
|
2
|
+
|
|
3
|
+
Perform a comprehensive project-level review focusing on architecture, progress, and technical decisions.
|
|
4
|
+
|
|
5
|
+
**IMPORTANT:**
|
|
6
|
+
|
|
7
|
+
- This is a high-level review of overall project state, not recent changes.
|
|
8
|
+
- Unless clearly mentioned in project documents, there is no timeline and schedule is irrelevant
|
|
9
|
+
|
|
10
|
+
## Create a TODO with EXACTLY these 9 Items
|
|
11
|
+
|
|
12
|
+
1. Analyze review scope and timing
|
|
13
|
+
2. Execute and assess test infrastructure health
|
|
14
|
+
3. Assess project documentation alignment
|
|
15
|
+
4. Review milestone and sprint progress
|
|
16
|
+
5. Analyze codebase architecture and structure
|
|
17
|
+
6. Audit file organization and workflow compliance
|
|
18
|
+
7. Evaluate technical decisions and complexity
|
|
19
|
+
8. Critique implementation quality (John Carmack perspective)
|
|
20
|
+
9. Provide comprehensive assessment with recommendations
|
|
21
|
+
|
|
22
|
+
Follow step by step and adhere closely to the following instructions for each step.
|
|
23
|
+
|
|
24
|
+
## DETAILS on every TODO item
|
|
25
|
+
|
|
26
|
+
### 1. Analyze review scope and timing
|
|
27
|
+
|
|
28
|
+
Check: <$ARGUMENTS>
|
|
29
|
+
|
|
30
|
+
If empty, perform full project review. Otherwise interpret <$ARGUMENTS> to identify specific focus areas (milestone, sprint, architecture component, etc.). Unless stated in Argument do not compare to previews project reviews in `.aiwf/10_STATE_OF_PROJECT`.
|
|
31
|
+
|
|
32
|
+
**IMPORTANT:** This review looks at overall project state in context of recent changes.
|
|
33
|
+
|
|
34
|
+
**CRITICAL:** Read `.aiwf/00_PROJECT_MANIFEST.md` FIRST to understand:
|
|
35
|
+
|
|
36
|
+
- Current milestone and sprint status
|
|
37
|
+
- What work is complete vs in-progress vs planned
|
|
38
|
+
- Active sprint objectives and deliverables
|
|
39
|
+
|
|
40
|
+
**CONTEXT CHECK:** Before evaluating functionality:
|
|
41
|
+
|
|
42
|
+
- Navigate to `.aiwf/03_SPRINTS/` to find the current sprint
|
|
43
|
+
- Read the sprint meta file to understand what's in scope
|
|
44
|
+
- Check completed vs planned tasks within the sprint
|
|
45
|
+
- Understand what future sprints will deliver
|
|
46
|
+
|
|
47
|
+
**REVIEW PRINCIPLE:** Evaluate against CURRENT SPRINT deliverables, not full milestone scope.
|
|
48
|
+
|
|
49
|
+
### 2. Execute and assess test infrastructure health
|
|
50
|
+
|
|
51
|
+
**CRITICAL:** Test infrastructure health is a BLOCKING criteria for sprint/milestone progression.
|
|
52
|
+
|
|
53
|
+
- USE test.md command to execute full test suite (@.claude/commands/aiwf/aiwf_test.md)
|
|
54
|
+
- ANALYZE test results: passed/failed/skipped counts and failure categories
|
|
55
|
+
- CALCULATE test health score (0-10 scale):
|
|
56
|
+
- 10: 100% pass rate, no infrastructure issues
|
|
57
|
+
- 8-9: >95% pass rate, minor issues only
|
|
58
|
+
- 6-7: 80-95% pass rate, some non-critical failures
|
|
59
|
+
- 4-5: 60-80% pass rate, significant issues
|
|
60
|
+
- 0-3: <60% pass rate, critical infrastructure problems
|
|
61
|
+
- CATEGORIZE failures:
|
|
62
|
+
- Infrastructure: Import errors, missing modules
|
|
63
|
+
- Configuration: Environment variables, database connections
|
|
64
|
+
- Logic: Assertion failures, actual bugs
|
|
65
|
+
- Flaky: Intermittent failures
|
|
66
|
+
- DETERMINE blocking status:
|
|
67
|
+
- Score < 6: BLOCKS sprint progression
|
|
68
|
+
- Score < 8: BLOCKS milestone completion
|
|
69
|
+
- Score < 4: TRIGGERS emergency escalation
|
|
70
|
+
- IDENTIFY root causes of any infrastructure failures
|
|
71
|
+
- TRACK trend vs previous review (improvement/degradation)
|
|
72
|
+
- ASSESS test strategy validity for scope of the project. Tests should be pragmatic and help assuring functionality but not get in the way of development progress too much.
|
|
73
|
+
|
|
74
|
+
### 3. Assess project documentation alignment
|
|
75
|
+
|
|
76
|
+
**USE PARALLEL AGENTS** to follow these steps:
|
|
77
|
+
|
|
78
|
+
- READ all core documents in `.aiwf/01_PROJECT_DOCS/` especially ARCHITECTURE.md
|
|
79
|
+
- READ current milestone requirements in `.aiwf/02_REQUIREMENTS/`
|
|
80
|
+
- READ architecture decisions in `.aiwf/05_ARCHITECTURE_DECISIONS` as they might extend/contradict other documents
|
|
81
|
+
- IDENTIFY any gaps between documentation and current implementation
|
|
82
|
+
- CHECK if the project is still following the documented architecture vision
|
|
83
|
+
- VERIFY that current code structure matches documented patterns
|
|
84
|
+
|
|
85
|
+
**IMPORTANT:** Documentation is our source of truth. Any deviation needs justification.
|
|
86
|
+
|
|
87
|
+
### 4. Review milestone and sprint progress
|
|
88
|
+
|
|
89
|
+
**USE PARALLEL AGENTS** to follow these steps:
|
|
90
|
+
|
|
91
|
+
- READ `.aiwf/00_PROJECT_MANIFEST.md` for current status
|
|
92
|
+
- ANALYZE completed sprints in `.aiwf/03_SPRINTS/`
|
|
93
|
+
- COMPARE actual progress against CURRENT SPRINT deliverables (not full milestone)
|
|
94
|
+
- DISTINGUISH between sprint-level tasks vs milestone-level features
|
|
95
|
+
- ASSESS if current sprint focus aligns with milestone goals
|
|
96
|
+
|
|
97
|
+
### 5. Analyze codebase architecture and structure
|
|
98
|
+
|
|
99
|
+
#
|
|
100
|
+
|
|
101
|
+
**USE PARALLEL AGENTS** to follow these steps:
|
|
102
|
+
|
|
103
|
+
- EXAMINE overall project structure and organization
|
|
104
|
+
- ANALYZE import patterns and dependency relationships
|
|
105
|
+
- REVIEW database models and API structure for consistency
|
|
106
|
+
- CHECK for architectural patterns: are we following DDD, clean architecture, etc.?
|
|
107
|
+
- IDENTIFY any architectural debt or inconsistencies
|
|
108
|
+
|
|
109
|
+
**Focus areas:**
|
|
110
|
+
|
|
111
|
+
- **Directory structure** — logical organization, separation of concerns
|
|
112
|
+
- **Dependencies** — are we over-engineering? unnecessary libraries?
|
|
113
|
+
- **Models/Schemas** — consistency, proper relationships, normalization
|
|
114
|
+
- **APIs** — RESTful design, proper HTTP methods, consistent patterns
|
|
115
|
+
- **Configuration** — environment management, secrets handling
|
|
116
|
+
|
|
117
|
+
### 6. Audit file organization and workflow compliance
|
|
118
|
+
|
|
119
|
+
**IMPORTANT:** Check for workflow discipline and architectural boundary violations.
|
|
120
|
+
|
|
121
|
+
- **Root directory audit** — identify files that don't belong in project root
|
|
122
|
+
- **Development scripts** — verify all dev scripts follow `run_dev.py` pattern
|
|
123
|
+
- **Test file organization** — check tests are in `tests/` directory, not scattered
|
|
124
|
+
- **Documentation placement** — verify docs are in proper locations
|
|
125
|
+
- **Temporary/experimental files** — flag any `.py` files that look ad-hoc or experimental
|
|
126
|
+
|
|
127
|
+
**File Organization Rules to Enforce:**
|
|
128
|
+
|
|
129
|
+
- **Development scripts** — MUST go through `run_dev.py`, not standalone files
|
|
130
|
+
- **Test files** — MUST be in `tests/` directory with proper naming (`test_*.py`)
|
|
131
|
+
- **Documentation** — MUST be in `docs/` or `.aiwf/01_PROJECT_DOCS/`
|
|
132
|
+
- **Configuration** — MUST follow established patterns (`.env.example`, `pyproject.toml`)
|
|
133
|
+
- **Temporary files** — SHOULD NOT exist in committed code
|
|
134
|
+
|
|
135
|
+
**Red Flags to Identify:**
|
|
136
|
+
|
|
137
|
+
- Multiple scripts doing similar things (duplicate functionality)
|
|
138
|
+
- Random `.py` files in root directory
|
|
139
|
+
- Test files outside `tests/` directory
|
|
140
|
+
- Development scripts bypassing `run_dev.py`
|
|
141
|
+
- Unclear file purposes or experimental code
|
|
142
|
+
|
|
143
|
+
**CRITICAL:** File proliferation indicates workflow breakdown. Flag for immediate cleanup task creation.
|
|
144
|
+
|
|
145
|
+
### 7. Evaluate technical decisions and complexity
|
|
146
|
+
|
|
147
|
+
- ASSESS complexity vs. business value ratio
|
|
148
|
+
- REVIEW choice of frameworks, libraries, and tools
|
|
149
|
+
- ANALYZE if current patterns will scale with project growth
|
|
150
|
+
- IDENTIFY areas where we might be over-complicating simple problems
|
|
151
|
+
- CHECK for premature optimization or under-optimization
|
|
152
|
+
|
|
153
|
+
**IMPORTANT:** Think like an experienced developer. Are we solving the right problems the right way?
|
|
154
|
+
|
|
155
|
+
### 8. Critique implementation quality (John Carmack perspective)
|
|
156
|
+
|
|
157
|
+
Think as John Carmack would: focus on simplicity, performance, and maintainability, but keep the projects goal in mind. Especially long term vision as well. Don't over simplify.
|
|
158
|
+
|
|
159
|
+
- **Simplicity:** Are we solving problems in the most straightforward way?
|
|
160
|
+
- **Performance:** Are there obvious performance issues or bottlenecks?
|
|
161
|
+
- **Maintainability:** Will a new developer understand this code in 6 months?
|
|
162
|
+
- **Robustness:** How does the system handle edge cases and failures?
|
|
163
|
+
- **Technical debt:** What shortcuts are we taking that will hurt us later?
|
|
164
|
+
|
|
165
|
+
Be **brutally honest**. Carmack-level critique means no sugar-coating but still staying true to the project's reality.
|
|
166
|
+
Be thorough and **go above and beyond** in your analysis - leave no stone unturned.
|
|
167
|
+
|
|
168
|
+
### 9. Provide comprehensive assessment with recommendations
|
|
169
|
+
|
|
170
|
+
**IMPORTANT:** Get current timestamp and create output file
|
|
171
|
+
|
|
172
|
+
- Get current timestamp using system date command
|
|
173
|
+
- Create filename: `YYYY-MM-DD-HH-MM-<judgment-slug>.md` in `.aiwf/10_STATE_OF_PROJECT/`
|
|
174
|
+
- Judgment slug should be 2-3 words describing overall project health (e.g., "solid-progress", "needs-focus", "critical-issues", "doing-great", "on-track")
|
|
175
|
+
|
|
176
|
+
**IMPORTANT:** Write full report to the timestamped file with this format:
|
|
177
|
+
|
|
178
|
+
```markdown
|
|
179
|
+
# Project Review - [YYYY-MM-DD HH:MM]
|
|
180
|
+
|
|
181
|
+
## 🎭 Review Sentiment
|
|
182
|
+
|
|
183
|
+
[3 emojis only - no explanations]
|
|
184
|
+
|
|
185
|
+
## Executive Summary
|
|
186
|
+
|
|
187
|
+
- **Result:** EXCELLENT | GOOD | NEEDS_WORK | CRITICAL_ISSUES
|
|
188
|
+
- **Scope:** What areas were reviewed
|
|
189
|
+
- **Overall Judgment:** [2-3 word assessment used in filename]
|
|
190
|
+
|
|
191
|
+
## Test Infrastructure Assessment
|
|
192
|
+
|
|
193
|
+
- **Test Suite Status**: [PASSING/FAILING/BLOCKED] (X/Y tests)
|
|
194
|
+
- **Test Pass Rate**: X% (Y passed, Z failed)
|
|
195
|
+
- **Test Health Score**: X/10
|
|
196
|
+
- **Infrastructure Health**: [HEALTHY/DEGRADED/BROKEN]
|
|
197
|
+
- Import errors: [count]
|
|
198
|
+
- Configuration errors: [count]
|
|
199
|
+
- Fixture issues: [count]
|
|
200
|
+
- **Test Categories**:
|
|
201
|
+
- Unit Tests: X/Y passing
|
|
202
|
+
- Integration Tests: X/Y passing
|
|
203
|
+
- API Tests: X/Y passing
|
|
204
|
+
- **Critical Issues**:
|
|
205
|
+
- [List of blocking test infrastructure problems]
|
|
206
|
+
- [Module import mismatches]
|
|
207
|
+
- [Environment configuration failures]
|
|
208
|
+
- **Sprint Coverage**: [% of sprint deliverables with passing tests]
|
|
209
|
+
- **Blocking Status**: [CLEAR/BLOCKED - reason]
|
|
210
|
+
- **Recommendations**:
|
|
211
|
+
- [Immediate fixes required]
|
|
212
|
+
- [Test infrastructure improvements needed]
|
|
213
|
+
|
|
214
|
+
## Development Context
|
|
215
|
+
|
|
216
|
+
- **Current Milestone:** [ID and status from manifest]
|
|
217
|
+
- **Current Sprint:** [ID and focus]
|
|
218
|
+
- **Expected Completeness:** [what SHOULD be done at this stage]
|
|
219
|
+
|
|
220
|
+
## Progress Assessment
|
|
221
|
+
|
|
222
|
+
- **Milestone Progress:** [percentage complete]
|
|
223
|
+
- **Sprint Status:** [current sprint assessment]
|
|
224
|
+
- **Deliverable Tracking:** [what's done vs planned]
|
|
225
|
+
|
|
226
|
+
## Architecture & Technical Assessment
|
|
227
|
+
|
|
228
|
+
- **Architecture Score:** 1-10 rating with explanation
|
|
229
|
+
- **Technical Debt Level:** LOW | MEDIUM | HIGH with specific examples
|
|
230
|
+
- **Code Quality:** [overall assessment with examples]
|
|
231
|
+
|
|
232
|
+
## File Organization Audit
|
|
233
|
+
|
|
234
|
+
- **Workflow Compliance:** GOOD | NEEDS_ATTENTION | CRITICAL_VIOLATIONS
|
|
235
|
+
- **File Organization Issues:** [list any misplaced files, duplicate scripts, etc.]
|
|
236
|
+
- **Cleanup Tasks Needed:** [specific file moves/deletions/consolidations required]
|
|
237
|
+
|
|
238
|
+
## Critical Findings
|
|
239
|
+
|
|
240
|
+
### Critical Issues (Severity 8-10)
|
|
241
|
+
|
|
242
|
+
[Lists of must-fix problems headed with #### heading, one empty line and then list of details]
|
|
243
|
+
|
|
244
|
+
### Improvement Opportunities (Severity 4-7)
|
|
245
|
+
|
|
246
|
+
[List of recommended enhancements headed with #### heading, one empty line and then list of details]
|
|
247
|
+
|
|
248
|
+
## John Carmack Critique 🔥
|
|
249
|
+
|
|
250
|
+
[Top 3 brutally honest observations about technical decisions]
|
|
251
|
+
|
|
252
|
+
## Recommendations
|
|
253
|
+
|
|
254
|
+
Based on your findings recommend Action items - chose whatever fits your findings
|
|
255
|
+
|
|
256
|
+
- **Important fixes:** What needs to be fixed immediately?
|
|
257
|
+
- **Optional fixes/changes:** What would still be recommended though optional?
|
|
258
|
+
- **Next Sprint Focus:** Can the user move to the next sprint?
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
**IMPORTANT:** Be specific with file paths and line numbers. This review should be actionable and permanently archived.
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# 테스트 실행 및 일반적인 문제 수정
|
|
2
|
+
|
|
3
|
+
Follow these instructions from top to bottom.
|
|
4
|
+
|
|
5
|
+
## Create a TODO with EXACTLY these 4 items
|
|
6
|
+
|
|
7
|
+
1. Execute test suite
|
|
8
|
+
2. Analyze results and identify issues
|
|
9
|
+
3. Fix common problems if found
|
|
10
|
+
4. Provide test summary
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## 1 · Execute test suite
|
|
15
|
+
|
|
16
|
+
### First, detect the project's test runner:
|
|
17
|
+
|
|
18
|
+
1. **Python projects:**
|
|
19
|
+
|
|
20
|
+
- If `pyproject.toml` exists with `[tool.poetry]`: Try `poetry run pytest`
|
|
21
|
+
- If `setup.py` or `requirements.txt`: Try `pytest` or `python -m pytest`
|
|
22
|
+
- If custom test script exists (e.g., `run_tests.py`, `run_dev.py`): Use that
|
|
23
|
+
- Add common flags: `--tb=short` for pytest
|
|
24
|
+
|
|
25
|
+
2. **JavaScript/TypeScript projects:**
|
|
26
|
+
|
|
27
|
+
- If `package.json` exists: Check "scripts" section for "test" command
|
|
28
|
+
- Common: `npm test`, `npm run test`, `yarn test`, `pnpm test`
|
|
29
|
+
- Framework specific: `jest`, `vitest`, `mocha`
|
|
30
|
+
|
|
31
|
+
3. **Other languages:**
|
|
32
|
+
- Rust: `cargo test`
|
|
33
|
+
- Go: `go test ./...`
|
|
34
|
+
- Java: `mvn test` or `gradle test`
|
|
35
|
+
- Ruby: `bundle exec rspec` or `rake test`
|
|
36
|
+
- PHP: `composer test` or `phpunit`
|
|
37
|
+
|
|
38
|
+
### Execute the detected test command:
|
|
39
|
+
|
|
40
|
+
- RUN the appropriate test command
|
|
41
|
+
- CAPTURE full output including any errors
|
|
42
|
+
- NOTE execution time and test counts
|
|
43
|
+
|
|
44
|
+
**If no test runner is found:** Report this to the user and ask for the correct test command.
|
|
45
|
+
|
|
46
|
+
## 2 · Analyze results and identify issues
|
|
47
|
+
|
|
48
|
+
Check for common issues in this order:
|
|
49
|
+
|
|
50
|
+
### Language-specific issues:
|
|
51
|
+
|
|
52
|
+
**Python:**
|
|
53
|
+
|
|
54
|
+
- Missing **init**.py files (import errors, tests not discovered)
|
|
55
|
+
- Import path problems
|
|
56
|
+
- Fixture issues (pytest)
|
|
57
|
+
- Virtual environment problems
|
|
58
|
+
|
|
59
|
+
**JavaScript/TypeScript:**
|
|
60
|
+
|
|
61
|
+
- Module resolution errors
|
|
62
|
+
- Missing dependencies in node_modules
|
|
63
|
+
- Jest/Vitest configuration issues
|
|
64
|
+
- TypeScript compilation errors
|
|
65
|
+
|
|
66
|
+
**Common across languages:**
|
|
67
|
+
|
|
68
|
+
- Environment variable issues (missing config)
|
|
69
|
+
- Database/external service connection errors
|
|
70
|
+
- File path problems (absolute vs relative)
|
|
71
|
+
- Permission issues
|
|
72
|
+
|
|
73
|
+
## 3 · Fix common problems if found
|
|
74
|
+
|
|
75
|
+
**ONLY** fix these specific issues automatically:\*\*
|
|
76
|
+
|
|
77
|
+
### Python-specific fixes:
|
|
78
|
+
|
|
79
|
+
- CREATE empty `__init__.py` files where needed
|
|
80
|
+
- FIX simple import path issues
|
|
81
|
+
- ADD missing test directory to Python path if needed
|
|
82
|
+
|
|
83
|
+
### JavaScript/TypeScript fixes:
|
|
84
|
+
|
|
85
|
+
- RUN `npm install` if node_modules missing
|
|
86
|
+
- FIX simple module resolution in jest.config.js
|
|
87
|
+
- CREATE missing test setup files
|
|
88
|
+
|
|
89
|
+
### General fixes:
|
|
90
|
+
|
|
91
|
+
- CREATE missing test directories
|
|
92
|
+
- FIX file permissions if possible
|
|
93
|
+
- IDENTIFY missing env vars and inform user
|
|
94
|
+
|
|
95
|
+
**DO NOT** fix:
|
|
96
|
+
|
|
97
|
+
- Actual test logic failures
|
|
98
|
+
- Business logic bugs
|
|
99
|
+
- Complex configuration issues
|
|
100
|
+
- Database schema problems
|
|
101
|
+
- External service dependencies
|
|
102
|
+
|
|
103
|
+
## 4 · Provide test summary
|
|
104
|
+
|
|
105
|
+
Create a brief summary:
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
Test Results:
|
|
109
|
+
- Total: X tests
|
|
110
|
+
- Passed: Y (Z%)
|
|
111
|
+
- Failed: A
|
|
112
|
+
- Skipped: B
|
|
113
|
+
- Time: C seconds
|
|
114
|
+
|
|
115
|
+
Issues Fixed:
|
|
116
|
+
- [List any fixes applied]
|
|
117
|
+
|
|
118
|
+
Issues Found (requires manual fix):
|
|
119
|
+
- [List problems that need attention]
|
|
120
|
+
|
|
121
|
+
Status: PASSING | FAILING | BLOCKED
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
**IMPORTANT:** Keep it concise. This command should be quick and focused on running tests, not detailed analysis.
|
|
125
|
+
EOF < /dev/null
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
# 테스팅 리뷰 - 탑 다운 실행
|
|
2
|
+
|
|
3
|
+
아키텍처, 진행 상황, 기술 결정에 초점을 맞춘 포괄적인 프로젝트 수준 리뷰를 수행합니다.
|
|
4
|
+
|
|
5
|
+
## Prerequisites Check
|
|
6
|
+
|
|
7
|
+
**FIRST**, check if a testing strategy document exists:
|
|
8
|
+
|
|
9
|
+
- CHECK for `.aiwf/01_PROJECT_DOCS/TESTING_STRATEGY.md`
|
|
10
|
+
- If NOT found, inform the user: "No testing strategy document found. Would you like me to help create one, or proceed with a general test quality review?"
|
|
11
|
+
- If user wants to proceed without strategy, adapt the review to focus on general test quality principles
|
|
12
|
+
|
|
13
|
+
## Create a TODO with EXACTLY these 7 Items
|
|
14
|
+
|
|
15
|
+
1. Load testing strategy document (or define review criteria)
|
|
16
|
+
2. Analyze test implementation structure
|
|
17
|
+
3. Evaluate test-to-code alignment
|
|
18
|
+
4. Identify misaligned or unnecessary tests
|
|
19
|
+
5. Assess critical functionality coverage
|
|
20
|
+
6. Generate modification recommendations
|
|
21
|
+
7. Create alignment report
|
|
22
|
+
|
|
23
|
+
Follow step by step and adhere closely to the following instructions for each step.
|
|
24
|
+
|
|
25
|
+
## DETAILS on every TODO item
|
|
26
|
+
|
|
27
|
+
### 1. Load testing strategy document (or define review criteria)
|
|
28
|
+
|
|
29
|
+
**Option A - Strategy document exists:**
|
|
30
|
+
|
|
31
|
+
- LOAD `.aiwf/01_PROJECT_DOCS/TESTING_STRATEGY.md`
|
|
32
|
+
- EXTRACT key principles and priorities
|
|
33
|
+
- IDENTIFY what should and shouldn't be tested
|
|
34
|
+
- NOTE coverage expectations and quality gates
|
|
35
|
+
- UNDERSTAND the testing philosophy
|
|
36
|
+
|
|
37
|
+
**Option B - No strategy document:**
|
|
38
|
+
Use general best practices as review criteria:
|
|
39
|
+
|
|
40
|
+
- Tests should focus on behavior, not implementation
|
|
41
|
+
- Critical paths must have coverage
|
|
42
|
+
- Tests should be maintainable and clear
|
|
43
|
+
- Avoid over-testing simple getters/setters
|
|
44
|
+
- Balance between coverage and maintenance burden
|
|
45
|
+
|
|
46
|
+
**DOCUMENT** which approach is being used for this review.
|
|
47
|
+
|
|
48
|
+
### 2. Analyze test implementation structure
|
|
49
|
+
|
|
50
|
+
**EXAMINE** the current test codebase:
|
|
51
|
+
|
|
52
|
+
- USE test.md command to run tests (@.claude/commands/aiwf/aiwf_test.md)
|
|
53
|
+
- EXPLORE test directory structure and organization
|
|
54
|
+
- IDENTIFY test categories and their purposes
|
|
55
|
+
- CHECK test naming conventions and patterns
|
|
56
|
+
- NOTE any test infrastructure or utilities
|
|
57
|
+
|
|
58
|
+
**Focus on understanding what exists, not counting.**
|
|
59
|
+
|
|
60
|
+
### 3. Evaluate test-to-code alignment
|
|
61
|
+
|
|
62
|
+
**COMPARE** tests against actual implementation:
|
|
63
|
+
|
|
64
|
+
- For each major component, check if tests match functionality
|
|
65
|
+
- IDENTIFY tests that test implementation details vs behavior
|
|
66
|
+
- FIND tests with excessive setup or mocking
|
|
67
|
+
- LOCATE tests that break frequently on refactoring
|
|
68
|
+
- CHECK if test complexity matches code complexity
|
|
69
|
+
|
|
70
|
+
**Key question:** Do the tests validate what users care about?
|
|
71
|
+
|
|
72
|
+
### 4. Identify misaligned or unnecessary tests
|
|
73
|
+
|
|
74
|
+
**SEARCH** for tests that don't provide value:
|
|
75
|
+
|
|
76
|
+
**If using strategy document:**
|
|
77
|
+
|
|
78
|
+
- Tests for areas marked as "skip" in strategy
|
|
79
|
+
- Tests outside the defined scope
|
|
80
|
+
- Over-specified tests per strategy guidelines
|
|
81
|
+
|
|
82
|
+
**If using general principles:**
|
|
83
|
+
|
|
84
|
+
- Over-engineered tests for simple functionality
|
|
85
|
+
- Tests that break on every refactor
|
|
86
|
+
- Edge case tests for non-critical features
|
|
87
|
+
- Tests with excessive mocking/setup
|
|
88
|
+
- Performance tests without performance requirements
|
|
89
|
+
|
|
90
|
+
**Create a list of specific tests to modify or remove.**
|
|
91
|
+
|
|
92
|
+
### 5. Assess critical functionality coverage
|
|
93
|
+
|
|
94
|
+
**VERIFY** that essential functionality has appropriate tests:
|
|
95
|
+
|
|
96
|
+
**If using strategy document:**
|
|
97
|
+
|
|
98
|
+
- CHECK coverage of high-priority areas defined in strategy
|
|
99
|
+
- VERIFY strategy-specific requirements are tested
|
|
100
|
+
|
|
101
|
+
**For all reviews:**
|
|
102
|
+
|
|
103
|
+
- IDENTIFY gaps in critical path testing
|
|
104
|
+
- CHECK authentication/authorization if applicable
|
|
105
|
+
- VERIFY error handling for important operations
|
|
106
|
+
- ENSURE data integrity tests exist where needed
|
|
107
|
+
- CONFIRM integration points are tested
|
|
108
|
+
|
|
109
|
+
**Note specific gaps that need addressing.**
|
|
110
|
+
|
|
111
|
+
### 6. Generate modification recommendations
|
|
112
|
+
|
|
113
|
+
**CREATE** specific, actionable recommendations:
|
|
114
|
+
|
|
115
|
+
For each finding:
|
|
116
|
+
|
|
117
|
+
- SPECIFY the test file and function
|
|
118
|
+
- EXPLAIN why it needs modification
|
|
119
|
+
- SUGGEST the specific change (remove, simplify, add)
|
|
120
|
+
- PROVIDE example of the improved approach if helpful
|
|
121
|
+
|
|
122
|
+
**Format:**
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
File: tests/test_example.py::test_function_name
|
|
126
|
+
Issue: [What's wrong]
|
|
127
|
+
Action: [What to do]
|
|
128
|
+
Reason: [Why this aligns with strategy]
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### 7. Create alignment report
|
|
132
|
+
|
|
133
|
+
**GENERATE** a focused report on test-strategy alignment:
|
|
134
|
+
|
|
135
|
+
- Get current timestamp using system date command
|
|
136
|
+
- Create report in `.aiwf/10_STATE_OF_PROJECT/YYYY-MM-DD-HH-MM-test-alignment.md`
|
|
137
|
+
|
|
138
|
+
**Report structure:**
|
|
139
|
+
|
|
140
|
+
```markdown
|
|
141
|
+
# Test-Strategy Alignment Review - [YYYY-MM-DD HH:MM]
|
|
142
|
+
|
|
143
|
+
## Alignment Summary
|
|
144
|
+
|
|
145
|
+
Overall alignment with testing strategy: [EXCELLENT | GOOD | NEEDS WORK | POOR]
|
|
146
|
+
|
|
147
|
+
Key findings:
|
|
148
|
+
|
|
149
|
+
- [Major finding about test suite health]
|
|
150
|
+
- [Major finding about coverage]
|
|
151
|
+
- [Major finding about maintenance burden]
|
|
152
|
+
|
|
153
|
+
## Tests Requiring Modification
|
|
154
|
+
|
|
155
|
+
### Remove (Over-engineered/Out of scope)
|
|
156
|
+
|
|
157
|
+
[List specific tests with reasons]
|
|
158
|
+
|
|
159
|
+
### Simplify (Too complex for purpose)
|
|
160
|
+
|
|
161
|
+
[List specific tests with simplification approach]
|
|
162
|
+
|
|
163
|
+
### Add (Critical gaps)
|
|
164
|
+
|
|
165
|
+
[List specific missing tests for critical paths]
|
|
166
|
+
|
|
167
|
+
## Recommended Actions
|
|
168
|
+
|
|
169
|
+
### Immediate (Blocking issues)
|
|
170
|
+
|
|
171
|
+
- [ ] [Specific action with file/test reference]
|
|
172
|
+
|
|
173
|
+
### Short-term (Quality improvements)
|
|
174
|
+
|
|
175
|
+
- [ ] [Specific action with file/test reference]
|
|
176
|
+
|
|
177
|
+
### Long-term (Technical debt)
|
|
178
|
+
|
|
179
|
+
- [ ] [Specific action with file/test reference]
|
|
180
|
+
|
|
181
|
+
## Test Health Indicators
|
|
182
|
+
|
|
183
|
+
- Tests align with code purpose: [YES | PARTIALLY | NO]
|
|
184
|
+
- Critical paths covered: [YES | PARTIALLY | NO]
|
|
185
|
+
- Maintenance burden reasonable: [YES | PARTIALLY | NO]
|
|
186
|
+
- Tests support development velocity: [YES | PARTIALLY | NO]
|
|
187
|
+
|
|
188
|
+
## Implementation Examples
|
|
189
|
+
|
|
190
|
+
[If needed, show before/after examples of test improvements]
|
|
191
|
+
|
|
192
|
+
## Next Review
|
|
193
|
+
|
|
194
|
+
Recommended review in: [X weeks/sprints]
|
|
195
|
+
Focus areas for next review: [Specific areas to monitor]
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
**IMPORTANT:** Focus on alignment and balance, not metrics. The goal is tests that serve the project's actual needs.
|