@champpaba/claude-agent-kit 1.6.0 → 1.7.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/.claude/CHANGELOG-v1.1.1.md +259 -259
- package/.claude/CLAUDE.md +21 -6
- package/.claude/agents/01-integration.md +1 -1
- package/.claude/agents/02-uxui-frontend.md +1 -1
- package/.claude/agents/03-test-debug.md +1 -1
- package/.claude/agents/04-frontend.md +1 -1
- package/.claude/agents/05-backend.md +1 -1
- package/.claude/agents/06-database.md +1 -1
- package/.claude/commands/agentsetup.md +1464 -1464
- package/.claude/commands/cdev.md +3 -4
- package/.claude/commands/csetup.md +82 -3
- package/.claude/commands/cstatus.md +60 -60
- package/.claude/commands/cview.md +364 -364
- package/.claude/commands/psetup.md +101 -101
- package/.claude/contexts/design/accessibility.md +611 -611
- package/.claude/contexts/design/layout.md +400 -400
- package/.claude/contexts/design/responsive.md +551 -551
- package/.claude/contexts/design/shadows.md +522 -522
- package/.claude/contexts/design/typography.md +465 -465
- package/.claude/contexts/domain/README.md +164 -164
- package/.claude/contexts/patterns/agent-coordination.md +388 -388
- package/.claude/contexts/patterns/agent-discovery.md +182 -182
- package/.claude/contexts/patterns/change-workflow.md +538 -538
- package/.claude/contexts/patterns/code-standards.md +515 -515
- package/.claude/contexts/patterns/development-principles.md +513 -513
- package/.claude/contexts/patterns/error-handling.md +478 -478
- package/.claude/contexts/patterns/error-recovery.md +365 -365
- package/.claude/contexts/patterns/logging.md +424 -424
- package/.claude/contexts/patterns/task-breakdown.md +452 -452
- package/.claude/contexts/patterns/task-classification.md +523 -523
- package/.claude/contexts/patterns/tdd-classification.md +516 -516
- package/.claude/contexts/patterns/testing.md +413 -413
- package/.claude/contexts/patterns/validation-framework.md +776 -776
- package/.claude/lib/agent-executor.md +450 -1
- package/.claude/lib/agent-router.md +572 -572
- package/.claude/lib/detailed-guides/agent-system.md +11 -9
- package/.claude/lib/detailed-guides/incremental-testing.md +460 -0
- package/.claude/lib/flags-updater.md +469 -469
- package/.claude/lib/task-analyzer.md +398 -2
- package/.claude/lib/tdd-classifier.md +345 -345
- package/.claude/lib/validation-gates.md +484 -484
- package/.claude/settings.local.json +42 -42
- package/.claude/templates/context-template.md +45 -45
- package/.claude/templates/flags-template.json +42 -42
- package/.claude/templates/phase-templates.json +173 -124
- package/.claude/templates/phases-sections/accessibility-test.md +17 -17
- package/.claude/templates/phases-sections/api-design.md +37 -37
- package/.claude/templates/phases-sections/backend-tests.md +16 -16
- package/.claude/templates/phases-sections/backend.md +37 -37
- package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
- package/.claude/templates/phases-sections/component-tests.md +17 -17
- package/.claude/templates/phases-sections/contract-backend.md +16 -16
- package/.claude/templates/phases-sections/contract-frontend.md +16 -16
- package/.claude/templates/phases-sections/database.md +35 -35
- package/.claude/templates/phases-sections/documentation.md +17 -17
- package/.claude/templates/phases-sections/e2e-tests.md +16 -16
- package/.claude/templates/phases-sections/fix-implementation.md +17 -17
- package/.claude/templates/phases-sections/frontend-integration.md +18 -18
- package/.claude/templates/phases-sections/frontend-mockup.md +123 -123
- package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
- package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
- package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
- package/.claude/templates/phases-sections/refactor.md +16 -16
- package/.claude/templates/phases-sections/regression-tests.md +15 -15
- package/.claude/templates/phases-sections/report.md +16 -16
- package/.claude/templates/phases-sections/responsive-test.md +16 -16
- package/.claude/templates/phases-sections/script-implementation.md +43 -43
- package/.claude/templates/phases-sections/test-coverage.md +16 -16
- package/.claude/templates/phases-sections/user-approval.md +14 -14
- package/LICENSE +21 -21
- package/README.md +171 -35
- package/package.json +1 -1
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
# Phase: Frontend Mockup
|
|
2
|
-
|
|
3
|
-
**Agent:** `uxui-frontend`
|
|
4
|
-
**Metadata:** `| design-work | TDD | mockup |`
|
|
5
|
-
**Estimated time:** 90 minutes
|
|
6
|
-
|
|
7
|
-
## 📚 Context Loading Strategy
|
|
8
|
-
|
|
9
|
-
**Tier 1 - Critical (Always Load):**
|
|
10
|
-
- ✅ `tech-stack.md` → Package manager, React/Next.js versions
|
|
11
|
-
- ✅ `project.md` (Code Conventions, Testing Strategy sections)
|
|
12
|
-
- ✅ `ui-component-consistency.md` → Visual consistency patterns
|
|
13
|
-
|
|
14
|
-
**Tier 2 - Conditional (Metadata: design-work):**
|
|
15
|
-
- ✅ `design/index.md` → Design system overview
|
|
16
|
-
- ✅ `design/box-thinking.md` → Layout analysis
|
|
17
|
-
- ✅ `design/color-theory.md` → Color usage
|
|
18
|
-
- ✅ `design/spacing.md` → Spacing scale (8, 16, 24, 32, 40, 48px)
|
|
19
|
-
|
|
20
|
-
**Tier 3 - Skip (Not Needed):**
|
|
21
|
-
- ❌ `error-handling.md` → Not needed for mockup (no real API)
|
|
22
|
-
- ❌ `logging.md` → Not production code yet
|
|
23
|
-
|
|
24
|
-
**Token estimate:** ~7,000 tokens (vs 15,000 without filtering)
|
|
25
|
-
|
|
26
|
-
## 🎯 Purpose
|
|
27
|
-
|
|
28
|
-
Create UI components with mockup data. Focus on visual design, layout, and user experience without backend integration.
|
|
29
|
-
|
|
30
|
-
## 📝 Agent-Specific Instructions
|
|
31
|
-
|
|
32
|
-
**MANDATORY PRE-WORK (STEP 0-5 from CLAUDE.md):**
|
|
33
|
-
|
|
34
|
-
1. **Project Discovery:**
|
|
35
|
-
- Read: `domain/index.md` → Get project name
|
|
36
|
-
- Read: `domain/project/README.md` → Get core stack
|
|
37
|
-
- Read: `domain/project/best-practices/index.md` → Get relevant practices
|
|
38
|
-
- Read relevant best practices files
|
|
39
|
-
|
|
40
|
-
2. **Change Context:**
|
|
41
|
-
- Read: `../proposal.md` → Business requirements
|
|
42
|
-
- Read: `../.claude/context.md` → Change-specific tech
|
|
43
|
-
|
|
44
|
-
3. **Design Contexts (design-work flag):**
|
|
45
|
-
- Read ALL design contexts (listed in Tier 2 above)
|
|
46
|
-
|
|
47
|
-
4. **Box Thinking Analysis:**
|
|
48
|
-
- Identify boxes: containers, children, siblings
|
|
49
|
-
- Document relationships: nested, adjacent
|
|
50
|
-
- Plan space flow: spacing scale
|
|
51
|
-
- Plan responsive: stack/merge/compress
|
|
52
|
-
|
|
53
|
-
5. **Search for Existing Components:**
|
|
54
|
-
```bash
|
|
55
|
-
Glob: "**/*{Keyword}*.{tsx,jsx,vue}"
|
|
56
|
-
Grep: "[similar-pattern]"
|
|
57
|
-
```
|
|
58
|
-
- Decision: Reuse > Compose > Extend > Create New
|
|
59
|
-
- Extract design tokens from similar components
|
|
60
|
-
|
|
61
|
-
6. **Report Pre-Implementation:**
|
|
62
|
-
Provide detailed report covering steps 1-5 BEFORE writing code.
|
|
63
|
-
|
|
64
|
-
**IMPLEMENTATION:**
|
|
65
|
-
|
|
66
|
-
- Use **mockup data** for all dynamic content
|
|
67
|
-
- Follow TDD if applicable (see testing.md)
|
|
68
|
-
- Visual consistency: match existing components
|
|
69
|
-
- Loading states: skeleton loaders
|
|
70
|
-
- Error states: user-friendly messages (mockup errors)
|
|
71
|
-
- Responsive design: test 3 breakpoints minimum
|
|
72
|
-
|
|
73
|
-
**CRITICAL RULES:**
|
|
74
|
-
- ❌ NO hardcoded colors → ✅ Use theme tokens
|
|
75
|
-
- ❌ NO arbitrary spacing → ✅ Use spacing scale
|
|
76
|
-
- ❌ NO inconsistent icons → ✅ Match reference components
|
|
77
|
-
- ❌ NO creating duplicate components → ✅ Search and reuse first
|
|
78
|
-
|
|
79
|
-
## ✅ Success Criteria
|
|
80
|
-
|
|
81
|
-
- [ ] UI components created with mockup data
|
|
82
|
-
- [ ] Responsive design implemented (3 breakpoints)
|
|
83
|
-
- [ ] Visual consistency matches design system
|
|
84
|
-
- [ ] Component reuses existing UI primitives
|
|
85
|
-
- [ ] No hardcoded colors or spacing values
|
|
86
|
-
- [ ] Pre-implementation analysis completed
|
|
87
|
-
|
|
88
|
-
## 📤 Output
|
|
89
|
-
|
|
90
|
-
**Files created/modified:**
|
|
91
|
-
- List all component files created
|
|
92
|
-
- List all files modified
|
|
93
|
-
|
|
94
|
-
**Update flags.json:**
|
|
95
|
-
```json
|
|
96
|
-
{
|
|
97
|
-
"phases": {
|
|
98
|
-
"frontend_mockup": {
|
|
99
|
-
"status": "completed",
|
|
100
|
-
"completed_at": "{ISO-timestamp}",
|
|
101
|
-
"actual_minutes": {duration},
|
|
102
|
-
"tasks_completed": ["{task-ids}"],
|
|
103
|
-
"files_created": ["{file-paths}"],
|
|
104
|
-
"notes": "Summary of work done"
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
**Report to user:**
|
|
111
|
-
```
|
|
112
|
-
✅ Phase 1: Frontend Mockup completed!
|
|
113
|
-
|
|
114
|
-
⏱️ Time: {actual} minutes (estimated: 90)
|
|
115
|
-
|
|
116
|
-
📁 Files created:
|
|
117
|
-
{list-of-files}
|
|
118
|
-
|
|
119
|
-
✓ Tasks completed:
|
|
120
|
-
{list-of-task-ids}
|
|
121
|
-
|
|
122
|
-
📍 Next phase: #2 Accessibility Test (test-debug agent)
|
|
123
|
-
```
|
|
1
|
+
# Phase: Frontend Mockup
|
|
2
|
+
|
|
3
|
+
**Agent:** `uxui-frontend`
|
|
4
|
+
**Metadata:** `| design-work | TDD | mockup |`
|
|
5
|
+
**Estimated time:** 90 minutes
|
|
6
|
+
|
|
7
|
+
## 📚 Context Loading Strategy
|
|
8
|
+
|
|
9
|
+
**Tier 1 - Critical (Always Load):**
|
|
10
|
+
- ✅ `tech-stack.md` → Package manager, React/Next.js versions
|
|
11
|
+
- ✅ `project.md` (Code Conventions, Testing Strategy sections)
|
|
12
|
+
- ✅ `ui-component-consistency.md` → Visual consistency patterns
|
|
13
|
+
|
|
14
|
+
**Tier 2 - Conditional (Metadata: design-work):**
|
|
15
|
+
- ✅ `design/index.md` → Design system overview
|
|
16
|
+
- ✅ `design/box-thinking.md` → Layout analysis
|
|
17
|
+
- ✅ `design/color-theory.md` → Color usage
|
|
18
|
+
- ✅ `design/spacing.md` → Spacing scale (8, 16, 24, 32, 40, 48px)
|
|
19
|
+
|
|
20
|
+
**Tier 3 - Skip (Not Needed):**
|
|
21
|
+
- ❌ `error-handling.md` → Not needed for mockup (no real API)
|
|
22
|
+
- ❌ `logging.md` → Not production code yet
|
|
23
|
+
|
|
24
|
+
**Token estimate:** ~7,000 tokens (vs 15,000 without filtering)
|
|
25
|
+
|
|
26
|
+
## 🎯 Purpose
|
|
27
|
+
|
|
28
|
+
Create UI components with mockup data. Focus on visual design, layout, and user experience without backend integration.
|
|
29
|
+
|
|
30
|
+
## 📝 Agent-Specific Instructions
|
|
31
|
+
|
|
32
|
+
**MANDATORY PRE-WORK (STEP 0-5 from CLAUDE.md):**
|
|
33
|
+
|
|
34
|
+
1. **Project Discovery:**
|
|
35
|
+
- Read: `domain/index.md` → Get project name
|
|
36
|
+
- Read: `domain/project/README.md` → Get core stack
|
|
37
|
+
- Read: `domain/project/best-practices/index.md` → Get relevant practices
|
|
38
|
+
- Read relevant best practices files
|
|
39
|
+
|
|
40
|
+
2. **Change Context:**
|
|
41
|
+
- Read: `../proposal.md` → Business requirements
|
|
42
|
+
- Read: `../.claude/context.md` → Change-specific tech
|
|
43
|
+
|
|
44
|
+
3. **Design Contexts (design-work flag):**
|
|
45
|
+
- Read ALL design contexts (listed in Tier 2 above)
|
|
46
|
+
|
|
47
|
+
4. **Box Thinking Analysis:**
|
|
48
|
+
- Identify boxes: containers, children, siblings
|
|
49
|
+
- Document relationships: nested, adjacent
|
|
50
|
+
- Plan space flow: spacing scale
|
|
51
|
+
- Plan responsive: stack/merge/compress
|
|
52
|
+
|
|
53
|
+
5. **Search for Existing Components:**
|
|
54
|
+
```bash
|
|
55
|
+
Glob: "**/*{Keyword}*.{tsx,jsx,vue}"
|
|
56
|
+
Grep: "[similar-pattern]"
|
|
57
|
+
```
|
|
58
|
+
- Decision: Reuse > Compose > Extend > Create New
|
|
59
|
+
- Extract design tokens from similar components
|
|
60
|
+
|
|
61
|
+
6. **Report Pre-Implementation:**
|
|
62
|
+
Provide detailed report covering steps 1-5 BEFORE writing code.
|
|
63
|
+
|
|
64
|
+
**IMPLEMENTATION:**
|
|
65
|
+
|
|
66
|
+
- Use **mockup data** for all dynamic content
|
|
67
|
+
- Follow TDD if applicable (see testing.md)
|
|
68
|
+
- Visual consistency: match existing components
|
|
69
|
+
- Loading states: skeleton loaders
|
|
70
|
+
- Error states: user-friendly messages (mockup errors)
|
|
71
|
+
- Responsive design: test 3 breakpoints minimum
|
|
72
|
+
|
|
73
|
+
**CRITICAL RULES:**
|
|
74
|
+
- ❌ NO hardcoded colors → ✅ Use theme tokens
|
|
75
|
+
- ❌ NO arbitrary spacing → ✅ Use spacing scale
|
|
76
|
+
- ❌ NO inconsistent icons → ✅ Match reference components
|
|
77
|
+
- ❌ NO creating duplicate components → ✅ Search and reuse first
|
|
78
|
+
|
|
79
|
+
## ✅ Success Criteria
|
|
80
|
+
|
|
81
|
+
- [ ] UI components created with mockup data
|
|
82
|
+
- [ ] Responsive design implemented (3 breakpoints)
|
|
83
|
+
- [ ] Visual consistency matches design system
|
|
84
|
+
- [ ] Component reuses existing UI primitives
|
|
85
|
+
- [ ] No hardcoded colors or spacing values
|
|
86
|
+
- [ ] Pre-implementation analysis completed
|
|
87
|
+
|
|
88
|
+
## 📤 Output
|
|
89
|
+
|
|
90
|
+
**Files created/modified:**
|
|
91
|
+
- List all component files created
|
|
92
|
+
- List all files modified
|
|
93
|
+
|
|
94
|
+
**Update flags.json:**
|
|
95
|
+
```json
|
|
96
|
+
{
|
|
97
|
+
"phases": {
|
|
98
|
+
"frontend_mockup": {
|
|
99
|
+
"status": "completed",
|
|
100
|
+
"completed_at": "{ISO-timestamp}",
|
|
101
|
+
"actual_minutes": {duration},
|
|
102
|
+
"tasks_completed": ["{task-ids}"],
|
|
103
|
+
"files_created": ["{file-paths}"],
|
|
104
|
+
"notes": "Summary of work done"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Report to user:**
|
|
111
|
+
```
|
|
112
|
+
✅ Phase 1: Frontend Mockup completed!
|
|
113
|
+
|
|
114
|
+
⏱️ Time: {actual} minutes (estimated: 90)
|
|
115
|
+
|
|
116
|
+
📁 Files created:
|
|
117
|
+
{list-of-files}
|
|
118
|
+
|
|
119
|
+
✓ Tasks completed:
|
|
120
|
+
{list-of-task-ids}
|
|
121
|
+
|
|
122
|
+
📍 Next phase: #2 Accessibility Test (test-debug agent)
|
|
123
|
+
```
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Phase: Manual Flow Test
|
|
2
|
-
|
|
3
|
-
**Agent:** `user`
|
|
4
|
-
**Metadata:** `| manual-test | flow |`
|
|
5
|
-
**Estimated time:** 20 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Manual testing of complete data flow (frontend → backend → database).
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Complete flow works
|
|
12
|
-
- [ ] Edge cases handled
|
|
13
|
-
|
|
14
|
-
## 📤 Output
|
|
15
|
-
- Update flags.json with results
|
|
1
|
+
# Phase: Manual Flow Test
|
|
2
|
+
|
|
3
|
+
**Agent:** `user`
|
|
4
|
+
**Metadata:** `| manual-test | flow |`
|
|
5
|
+
**Estimated time:** 20 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Manual testing of complete data flow (frontend → backend → database).
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Complete flow works
|
|
12
|
+
- [ ] Edge cases handled
|
|
13
|
+
|
|
14
|
+
## 📤 Output
|
|
15
|
+
- Update flags.json with results
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Phase: Manual UX Test
|
|
2
|
-
|
|
3
|
-
**Agent:** `user`
|
|
4
|
-
**Metadata:** `| manual-test | ux |`
|
|
5
|
-
**Estimated time:** 15 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Manual testing of UX, visual consistency, and responsive design.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Visual consistency verified
|
|
12
|
-
- [ ] Responsive design tested (3 breakpoints)
|
|
13
|
-
- [ ] User journey works smoothly
|
|
14
|
-
|
|
15
|
-
## 📤 Output
|
|
16
|
-
- Update flags.json with issues found/fixed
|
|
1
|
+
# Phase: Manual UX Test
|
|
2
|
+
|
|
3
|
+
**Agent:** `user`
|
|
4
|
+
**Metadata:** `| manual-test | ux |`
|
|
5
|
+
**Estimated time:** 15 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Manual testing of UX, visual consistency, and responsive design.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Visual consistency verified
|
|
12
|
+
- [ ] Responsive design tested (3 breakpoints)
|
|
13
|
+
- [ ] User journey works smoothly
|
|
14
|
+
|
|
15
|
+
## 📤 Output
|
|
16
|
+
- Update flags.json with issues found/fixed
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# Phase: Refactor Implementation
|
|
2
|
-
|
|
3
|
-
**Agent:** `test-debug`
|
|
4
|
-
**Metadata:** `| refactor |`
|
|
5
|
-
**Estimated time:** 60 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Refactor code to improve quality.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Code improved
|
|
12
|
-
- [ ] All tests pass
|
|
13
|
-
- [ ] No functionality changes
|
|
14
|
-
|
|
15
|
-
## 📤 Output
|
|
16
|
-
- Refactored code
|
|
17
|
-
- Update flags.json
|
|
1
|
+
# Phase: Refactor Implementation
|
|
2
|
+
|
|
3
|
+
**Agent:** `test-debug`
|
|
4
|
+
**Metadata:** `| refactor |`
|
|
5
|
+
**Estimated time:** 60 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Refactor code to improve quality.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Code improved
|
|
12
|
+
- [ ] All tests pass
|
|
13
|
+
- [ ] No functionality changes
|
|
14
|
+
|
|
15
|
+
## 📤 Output
|
|
16
|
+
- Refactored code
|
|
17
|
+
- Update flags.json
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Phase: Refactor
|
|
2
|
-
|
|
3
|
-
**Agent:** `test-debug`
|
|
4
|
-
**Metadata:** `| refactor |`
|
|
5
|
-
**Estimated time:** 20 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Improve code quality without changing functionality.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Code refactored
|
|
12
|
-
- [ ] All tests still pass
|
|
13
|
-
|
|
14
|
-
## 📤 Output
|
|
15
|
-
- Refactored code
|
|
16
|
-
- Update flags.json
|
|
1
|
+
# Phase: Refactor
|
|
2
|
+
|
|
3
|
+
**Agent:** `test-debug`
|
|
4
|
+
**Metadata:** `| refactor |`
|
|
5
|
+
**Estimated time:** 20 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Improve code quality without changing functionality.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Code refactored
|
|
12
|
+
- [ ] All tests still pass
|
|
13
|
+
|
|
14
|
+
## 📤 Output
|
|
15
|
+
- Refactored code
|
|
16
|
+
- Update flags.json
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Phase: Regression Tests
|
|
2
|
-
|
|
3
|
-
**Agent:** `test-debug`
|
|
4
|
-
**Metadata:** `| automated | regression |`
|
|
5
|
-
**Estimated time:** 10 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Ensure refactoring didn't break anything.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] All regression tests pass
|
|
12
|
-
|
|
13
|
-
## 📤 Output
|
|
14
|
-
- Test report
|
|
15
|
-
- Update flags.json
|
|
1
|
+
# Phase: Regression Tests
|
|
2
|
+
|
|
3
|
+
**Agent:** `test-debug`
|
|
4
|
+
**Metadata:** `| automated | regression |`
|
|
5
|
+
**Estimated time:** 10 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Ensure refactoring didn't break anything.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] All regression tests pass
|
|
12
|
+
|
|
13
|
+
## 📤 Output
|
|
14
|
+
- Test report
|
|
15
|
+
- Update flags.json
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Phase: Final Report
|
|
2
|
-
|
|
3
|
-
**Agent:** `integration`
|
|
4
|
-
**Metadata:** `| report |`
|
|
5
|
-
**Estimated time:** 10 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Generate verbose report for archive.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Report generated with all stats
|
|
12
|
-
- [ ] Ready to archive
|
|
13
|
-
|
|
14
|
-
## 📤 Output
|
|
15
|
-
- .claude/report.md
|
|
16
|
-
- Update flags.json
|
|
1
|
+
# Phase: Final Report
|
|
2
|
+
|
|
3
|
+
**Agent:** `integration`
|
|
4
|
+
**Metadata:** `| report |`
|
|
5
|
+
**Estimated time:** 10 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Generate verbose report for archive.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Report generated with all stats
|
|
12
|
+
- [ ] Ready to archive
|
|
13
|
+
|
|
14
|
+
## 📤 Output
|
|
15
|
+
- .claude/report.md
|
|
16
|
+
- Update flags.json
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Phase: Responsive Test
|
|
2
|
-
|
|
3
|
-
**Agent:** `user`
|
|
4
|
-
**Metadata:** `| manual-test | responsive |`
|
|
5
|
-
**Estimated time:** 15 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Manual testing of responsive design across breakpoints.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Desktop layout works
|
|
12
|
-
- [ ] Tablet layout works
|
|
13
|
-
- [ ] Mobile layout works
|
|
14
|
-
|
|
15
|
-
## 📤 Output
|
|
16
|
-
- Update flags.json with test results
|
|
1
|
+
# Phase: Responsive Test
|
|
2
|
+
|
|
3
|
+
**Agent:** `user`
|
|
4
|
+
**Metadata:** `| manual-test | responsive |`
|
|
5
|
+
**Estimated time:** 15 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Manual testing of responsive design across breakpoints.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Desktop layout works
|
|
12
|
+
- [ ] Tablet layout works
|
|
13
|
+
- [ ] Mobile layout works
|
|
14
|
+
|
|
15
|
+
## 📤 Output
|
|
16
|
+
- Update flags.json with test results
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
# Phase: Script Implementation
|
|
2
|
-
|
|
3
|
-
**Agent:** `backend` (reused for scripts)
|
|
4
|
-
**Metadata:** `| TDD | script | cli |`
|
|
5
|
-
**Estimated time:** 60 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
|
|
9
|
-
Implement CLI tool or background script with proper error handling, logging, and user-friendly output.
|
|
10
|
-
|
|
11
|
-
## 📚 Context Loading
|
|
12
|
-
|
|
13
|
-
- ✅ `tech-stack.md` → Python/Node.js version, package manager
|
|
14
|
-
- ✅ `testing.md` (TDD: RED-GREEN-REFACTOR)
|
|
15
|
-
- ✅ `error-handling.md` → Network/file errors
|
|
16
|
-
- ✅ `logging.md` → CLI logging patterns
|
|
17
|
-
- ❌ Skip: API-specific contexts
|
|
18
|
-
|
|
19
|
-
## 📝 Follow TDD
|
|
20
|
-
|
|
21
|
-
This is a **CLI script**, not an API.
|
|
22
|
-
|
|
23
|
-
Focus on:
|
|
24
|
-
- CLI argument parsing (Click/argparse/yargs)
|
|
25
|
-
- Progress indicators (tqdm/ora)
|
|
26
|
-
- Exit codes (0 = success, 1 = error)
|
|
27
|
-
- User-friendly error messages
|
|
28
|
-
- File I/O operations
|
|
29
|
-
- Network requests (if applicable)
|
|
30
|
-
|
|
31
|
-
## ✅ Success Criteria
|
|
32
|
-
|
|
33
|
-
- [ ] Script functionality implemented
|
|
34
|
-
- [ ] CLI arguments working
|
|
35
|
-
- [ ] Progress indicators shown
|
|
36
|
-
- [ ] Error handling implemented
|
|
37
|
-
- [ ] Tests pass (≥80% coverage)
|
|
38
|
-
|
|
39
|
-
## 📤 Output
|
|
40
|
-
|
|
41
|
-
- Script files
|
|
42
|
-
- Test files
|
|
43
|
-
- Update flags.json
|
|
1
|
+
# Phase: Script Implementation
|
|
2
|
+
|
|
3
|
+
**Agent:** `backend` (reused for scripts)
|
|
4
|
+
**Metadata:** `| TDD | script | cli |`
|
|
5
|
+
**Estimated time:** 60 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
|
|
9
|
+
Implement CLI tool or background script with proper error handling, logging, and user-friendly output.
|
|
10
|
+
|
|
11
|
+
## 📚 Context Loading
|
|
12
|
+
|
|
13
|
+
- ✅ `tech-stack.md` → Python/Node.js version, package manager
|
|
14
|
+
- ✅ `testing.md` (TDD: RED-GREEN-REFACTOR)
|
|
15
|
+
- ✅ `error-handling.md` → Network/file errors
|
|
16
|
+
- ✅ `logging.md` → CLI logging patterns
|
|
17
|
+
- ❌ Skip: API-specific contexts
|
|
18
|
+
|
|
19
|
+
## 📝 Follow TDD
|
|
20
|
+
|
|
21
|
+
This is a **CLI script**, not an API.
|
|
22
|
+
|
|
23
|
+
Focus on:
|
|
24
|
+
- CLI argument parsing (Click/argparse/yargs)
|
|
25
|
+
- Progress indicators (tqdm/ora)
|
|
26
|
+
- Exit codes (0 = success, 1 = error)
|
|
27
|
+
- User-friendly error messages
|
|
28
|
+
- File I/O operations
|
|
29
|
+
- Network requests (if applicable)
|
|
30
|
+
|
|
31
|
+
## ✅ Success Criteria
|
|
32
|
+
|
|
33
|
+
- [ ] Script functionality implemented
|
|
34
|
+
- [ ] CLI arguments working
|
|
35
|
+
- [ ] Progress indicators shown
|
|
36
|
+
- [ ] Error handling implemented
|
|
37
|
+
- [ ] Tests pass (≥80% coverage)
|
|
38
|
+
|
|
39
|
+
## 📤 Output
|
|
40
|
+
|
|
41
|
+
- Script files
|
|
42
|
+
- Test files
|
|
43
|
+
- Update flags.json
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Phase: Test Coverage Report
|
|
2
|
-
|
|
3
|
-
**Agent:** `test-debug`
|
|
4
|
-
**Metadata:** `| report |`
|
|
5
|
-
**Estimated time:** 5 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Generate final test coverage report.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Coverage report generated
|
|
12
|
-
- [ ] Coverage ≥ target
|
|
13
|
-
|
|
14
|
-
## 📤 Output
|
|
15
|
-
- Coverage report
|
|
16
|
-
- Update flags.json
|
|
1
|
+
# Phase: Test Coverage Report
|
|
2
|
+
|
|
3
|
+
**Agent:** `test-debug`
|
|
4
|
+
**Metadata:** `| report |`
|
|
5
|
+
**Estimated time:** 5 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Generate final test coverage report.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Coverage report generated
|
|
12
|
+
- [ ] Coverage ≥ target
|
|
13
|
+
|
|
14
|
+
## 📤 Output
|
|
15
|
+
- Coverage report
|
|
16
|
+
- Update flags.json
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# Phase: User Approval
|
|
2
|
-
|
|
3
|
-
**Agent:** `user`
|
|
4
|
-
**Metadata:** `| approval-gate |`
|
|
5
|
-
**Estimated time:** 5 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
User reviews and approves work before backend development starts.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] User approves mockup/implementation
|
|
12
|
-
|
|
13
|
-
## 📤 Output
|
|
14
|
-
- Update flags.json with approval status
|
|
1
|
+
# Phase: User Approval
|
|
2
|
+
|
|
3
|
+
**Agent:** `user`
|
|
4
|
+
**Metadata:** `| approval-gate |`
|
|
5
|
+
**Estimated time:** 5 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
User reviews and approves work before backend development starts.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] User approves mockup/implementation
|
|
12
|
+
|
|
13
|
+
## 📤 Output
|
|
14
|
+
- Update flags.json with approval status
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 ChampPABA
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 ChampPABA
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|