@champpaba/claude-agent-kit 2.0.0 → 2.0.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.
- package/.claude/CHANGELOG-v1.1.1.md +259 -259
- package/.claude/CLAUDE.md +196 -31
- package/.claude/agents/01-integration.md +106 -552
- package/.claude/agents/02-uxui-frontend.md +188 -850
- package/.claude/agents/03-test-debug.md +152 -521
- package/.claude/agents/04-frontend.md +169 -549
- package/.claude/agents/05-backend.md +132 -661
- package/.claude/agents/06-database.md +149 -698
- package/.claude/agents/_shared/README.md +57 -0
- package/.claude/agents/_shared/agent-boundaries.md +64 -0
- package/.claude/agents/_shared/documentation-policy.md +47 -0
- package/.claude/agents/_shared/package-manager.md +59 -0
- package/.claude/agents/_shared/pre-work-checklist.md +57 -0
- package/.claude/commands/cdev.md +36 -61
- package/.claude/commands/csetup.md +15 -14
- package/.claude/commands/cstatus.md +60 -60
- package/.claude/commands/cview.md +364 -364
- package/.claude/commands/designsetup.md +1 -1
- package/.claude/commands/pageplan.md +53 -177
- package/.claude/contexts/design/accessibility.md +611 -611
- package/.claude/contexts/design/box-thinking.md +1 -1
- package/.claude/contexts/design/index.md +1 -1
- 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 +2 -2
- package/.claude/contexts/patterns/animation-patterns.md +1 -1
- package/.claude/contexts/patterns/change-workflow.md +541 -538
- package/.claude/contexts/patterns/code-standards.md +10 -8
- 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/frontend-component-strategy.md +1 -1
- package/.claude/contexts/patterns/logging.md +424 -424
- package/.claude/contexts/patterns/performance-optimization.md +1 -1
- 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/ui-component-consistency.md +3 -3
- package/.claude/contexts/patterns/validation-framework.md +779 -776
- package/.claude/lib/README.md +4 -4
- package/.claude/lib/agent-executor.md +31 -40
- package/.claude/lib/agent-router.md +450 -572
- package/.claude/lib/context-loading-protocol.md +19 -36
- package/.claude/lib/detailed-guides/agent-system.md +43 -121
- package/.claude/lib/detailed-guides/taskmaster-analysis.md +1 -1
- package/.claude/lib/document-loader.md +22 -25
- package/.claude/lib/flags-updater.md +461 -469
- 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/STYLE_GUIDE.template.md +1 -1
- package/.claude/templates/context-template.md +45 -45
- package/.claude/templates/design-context-template.md +1 -1
- package/.claude/templates/flags-template.json +42 -42
- 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/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 +126 -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/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 +511 -133
- package/package.json +1 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
# Phase: Database Schema
|
|
2
|
-
|
|
3
|
-
**Agent:** `database`
|
|
4
|
-
**Metadata:** `| prisma | migration |`
|
|
5
|
-
**Estimated time:** 30 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
|
|
9
|
-
Design database schema, create migrations, add indexes for performance.
|
|
10
|
-
|
|
11
|
-
## 📚 Context Loading
|
|
12
|
-
|
|
13
|
-
- ✅ `tech-stack.md` → Database ORM (Prisma, SQLAlchemy, etc.)
|
|
14
|
-
- ✅ `../proposal.md` → Data requirements
|
|
15
|
-
- ✅ Best practices for ORM
|
|
16
|
-
|
|
17
|
-
## 📝 Tasks
|
|
18
|
-
|
|
19
|
-
1. Design Prisma/SQLAlchemy schema
|
|
20
|
-
2. Create migration
|
|
21
|
-
3. Add indexes for frequently queried fields
|
|
22
|
-
4. Add foreign keys and constraints
|
|
23
|
-
|
|
24
|
-
## ✅ Success Criteria
|
|
25
|
-
|
|
26
|
-
- [ ] Schema designed and created
|
|
27
|
-
- [ ] Migration created and applied
|
|
28
|
-
- [ ] Indexes added for performance
|
|
29
|
-
- [ ] No migration conflicts
|
|
30
|
-
|
|
31
|
-
## 📤 Output
|
|
32
|
-
|
|
33
|
-
- Schema file (schema.prisma / models.py)
|
|
34
|
-
- Migration files
|
|
35
|
-
- Update flags.json
|
|
1
|
+
# Phase: Database Schema
|
|
2
|
+
|
|
3
|
+
**Agent:** `database`
|
|
4
|
+
**Metadata:** `| prisma | migration |`
|
|
5
|
+
**Estimated time:** 30 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
|
|
9
|
+
Design database schema, create migrations, add indexes for performance.
|
|
10
|
+
|
|
11
|
+
## 📚 Context Loading
|
|
12
|
+
|
|
13
|
+
- ✅ `tech-stack.md` → Database ORM (Prisma, SQLAlchemy, etc.)
|
|
14
|
+
- ✅ `../proposal.md` → Data requirements
|
|
15
|
+
- ✅ Best practices for ORM
|
|
16
|
+
|
|
17
|
+
## 📝 Tasks
|
|
18
|
+
|
|
19
|
+
1. Design Prisma/SQLAlchemy schema
|
|
20
|
+
2. Create migration
|
|
21
|
+
3. Add indexes for frequently queried fields
|
|
22
|
+
4. Add foreign keys and constraints
|
|
23
|
+
|
|
24
|
+
## ✅ Success Criteria
|
|
25
|
+
|
|
26
|
+
- [ ] Schema designed and created
|
|
27
|
+
- [ ] Migration created and applied
|
|
28
|
+
- [ ] Indexes added for performance
|
|
29
|
+
- [ ] No migration conflicts
|
|
30
|
+
|
|
31
|
+
## 📤 Output
|
|
32
|
+
|
|
33
|
+
- Schema file (schema.prisma / models.py)
|
|
34
|
+
- Migration files
|
|
35
|
+
- Update flags.json
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Phase: E2E Tests
|
|
2
|
-
|
|
3
|
-
**Agent:** `test-debug`
|
|
4
|
-
**Metadata:** `| e2e | playwright |`
|
|
5
|
-
**Estimated time:** 30 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
End-to-end testing of complete user journeys.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] E2E tests pass
|
|
12
|
-
- [ ] Complete user journey tested
|
|
13
|
-
|
|
14
|
-
## 📤 Output
|
|
15
|
-
- E2E test files
|
|
16
|
-
- Update flags.json
|
|
1
|
+
# Phase: E2E Tests
|
|
2
|
+
|
|
3
|
+
**Agent:** `test-debug`
|
|
4
|
+
**Metadata:** `| e2e | playwright |`
|
|
5
|
+
**Estimated time:** 30 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
End-to-end testing of complete user journeys.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] E2E tests pass
|
|
12
|
+
- [ ] Complete user journey tested
|
|
13
|
+
|
|
14
|
+
## 📤 Output
|
|
15
|
+
- E2E test files
|
|
16
|
+
- Update flags.json
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# Phase: Fix Implementation
|
|
2
|
-
|
|
3
|
-
**Agent:** (varies based on bug location)
|
|
4
|
-
**Metadata:** `| bug-fix |`
|
|
5
|
-
**Estimated time:** 30 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Fix bug and restore intended functionality.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Bug fixed
|
|
12
|
-
- [ ] Tests added to prevent regression
|
|
13
|
-
|
|
14
|
-
## 📤 Output
|
|
15
|
-
- Fixed code
|
|
16
|
-
- Tests
|
|
17
|
-
- Update flags.json
|
|
1
|
+
# Phase: Fix Implementation
|
|
2
|
+
|
|
3
|
+
**Agent:** (varies based on bug location)
|
|
4
|
+
**Metadata:** `| bug-fix |`
|
|
5
|
+
**Estimated time:** 30 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Fix bug and restore intended functionality.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Bug fixed
|
|
12
|
+
- [ ] Tests added to prevent regression
|
|
13
|
+
|
|
14
|
+
## 📤 Output
|
|
15
|
+
- Fixed code
|
|
16
|
+
- Tests
|
|
17
|
+
- Update flags.json
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# Phase: Frontend Integration
|
|
2
|
-
|
|
3
|
-
**Agent:** `frontend`
|
|
4
|
-
**Metadata:** `| api-work | TDD |`
|
|
5
|
-
**Estimated time:** 60 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Replace mockup data with real API calls using TanStack Query.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Mockup replaced with real API
|
|
12
|
-
- [ ] Loading states working
|
|
13
|
-
- [ ] Error handling implemented
|
|
14
|
-
|
|
15
|
-
## 📤 Output
|
|
16
|
-
- Updated components
|
|
17
|
-
- Hooks for API calls
|
|
18
|
-
- Update flags.json
|
|
1
|
+
# Phase: Frontend Integration
|
|
2
|
+
|
|
3
|
+
**Agent:** `frontend`
|
|
4
|
+
**Metadata:** `| api-work | TDD |`
|
|
5
|
+
**Estimated time:** 60 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Replace mockup data with real API calls using TanStack Query.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Mockup replaced with real API
|
|
12
|
+
- [ ] Loading states working
|
|
13
|
+
- [ ] Error handling implemented
|
|
14
|
+
|
|
15
|
+
## 📤 Output
|
|
16
|
+
- Updated components
|
|
17
|
+
- Hooks for API calls
|
|
18
|
+
- Update flags.json
|
|
@@ -1,123 +1,126 @@
|
|
|
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
|
-
**
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
- [ ]
|
|
85
|
-
- [ ]
|
|
86
|
-
- [ ]
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
{
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
{list-of-
|
|
121
|
-
|
|
122
|
-
|
|
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
|
+
**Design Consistency Rules:**
|
|
74
|
+
|
|
75
|
+
| Instead of | Use | WHY |
|
|
76
|
+
|------------|-----|-----|
|
|
77
|
+
| Hardcoded colors | Theme tokens | Maintains dark/light mode support |
|
|
78
|
+
| Arbitrary spacing | Spacing scale (8, 16, 24...) | Consistent visual rhythm |
|
|
79
|
+
| Random icons | Reference component icons | Visual consistency |
|
|
80
|
+
| Creating new components | Search and reuse existing | Prevents duplicates, faster development |
|
|
81
|
+
|
|
82
|
+
## ✅ Success Criteria
|
|
83
|
+
|
|
84
|
+
- [ ] UI components created with mockup data
|
|
85
|
+
- [ ] Responsive design implemented (3 breakpoints)
|
|
86
|
+
- [ ] Visual consistency matches design system
|
|
87
|
+
- [ ] Component reuses existing UI primitives
|
|
88
|
+
- [ ] No hardcoded colors or spacing values
|
|
89
|
+
- [ ] Pre-implementation analysis completed
|
|
90
|
+
|
|
91
|
+
## 📤 Output
|
|
92
|
+
|
|
93
|
+
**Files created/modified:**
|
|
94
|
+
- List all component files created
|
|
95
|
+
- List all files modified
|
|
96
|
+
|
|
97
|
+
**Update flags.json:**
|
|
98
|
+
```json
|
|
99
|
+
{
|
|
100
|
+
"phases": {
|
|
101
|
+
"frontend_mockup": {
|
|
102
|
+
"status": "completed",
|
|
103
|
+
"completed_at": "{ISO-timestamp}",
|
|
104
|
+
"actual_minutes": {duration},
|
|
105
|
+
"tasks_completed": ["{task-ids}"],
|
|
106
|
+
"files_created": ["{file-paths}"],
|
|
107
|
+
"notes": "Summary of work done"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**Report to user:**
|
|
114
|
+
```
|
|
115
|
+
✅ Phase 1: Frontend Mockup completed!
|
|
116
|
+
|
|
117
|
+
⏱️ Time: {actual} minutes (estimated: 90)
|
|
118
|
+
|
|
119
|
+
📁 Files created:
|
|
120
|
+
{list-of-files}
|
|
121
|
+
|
|
122
|
+
✓ Tasks completed:
|
|
123
|
+
{list-of-task-ids}
|
|
124
|
+
|
|
125
|
+
📍 Next phase: #2 Accessibility Test (test-debug agent)
|
|
126
|
+
```
|
|
@@ -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: 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
|