@champpaba/claude-agent-kit 2.6.0 → 2.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.
Files changed (72) hide show
  1. package/.claude/CLAUDE.md +103 -58
  2. package/.claude/agents/02-uxui-frontend.md +5 -6
  3. package/.claude/agents/07-ux-tester.md +407 -0
  4. package/.claude/commands/cdev.md +113 -8
  5. package/.claude/commands/csetup.md +13 -13
  6. package/.claude/commands/cview.md +364 -364
  7. package/.claude/commands/designsetup.md +171 -48
  8. package/.claude/commands/extract.md +382 -668
  9. package/.claude/commands/pageplan.md +25 -27
  10. package/.claude/contexts/design/accessibility.md +611 -611
  11. package/.claude/contexts/design/box-thinking.md +4 -4
  12. package/.claude/contexts/design/color-theory.md +5 -5
  13. package/.claude/contexts/design/index.md +9 -9
  14. package/.claude/contexts/design/layout.md +400 -400
  15. package/.claude/contexts/design/responsive.md +551 -551
  16. package/.claude/contexts/design/shadows.md +522 -522
  17. package/.claude/contexts/design/spacing.md +4 -4
  18. package/.claude/contexts/design/typography.md +465 -465
  19. package/.claude/contexts/domain/README.md +164 -164
  20. package/.claude/contexts/patterns/agent-coordination.md +388 -388
  21. package/.claude/contexts/patterns/agent-discovery.md +1 -1
  22. package/.claude/contexts/patterns/animation-patterns.md +3 -3
  23. package/.claude/contexts/patterns/development-principles.md +513 -513
  24. package/.claude/contexts/patterns/error-handling.md +478 -478
  25. package/.claude/contexts/patterns/logging.md +424 -424
  26. package/.claude/contexts/patterns/tdd-classification.md +516 -516
  27. package/.claude/contexts/patterns/testing.md +413 -413
  28. package/.claude/contexts/patterns/ui-component-consistency.md +3 -3
  29. package/.claude/lib/README.md +1 -1
  30. package/.claude/lib/agent-executor.md +223 -0
  31. package/.claude/lib/context-loading-protocol.md +5 -6
  32. package/.claude/lib/detailed-guides/agent-system.md +4 -4
  33. package/.claude/lib/detailed-guides/best-practices-system.md +5 -4
  34. package/.claude/lib/detailed-guides/context-optimization.md +21 -22
  35. package/.claude/lib/detailed-guides/design-system.md +6 -5
  36. package/.claude/lib/detailed-guides/page-planning.md +6 -6
  37. package/.claude/lib/document-loader.md +32 -47
  38. package/.claude/lib/task-analyzer.md +194 -1
  39. package/.claude/lib/tdd-classifier.md +345 -345
  40. package/.claude/lib/validation-gates.md +484 -484
  41. package/.claude/settings.local.json +42 -42
  42. package/.claude/templates/PROJECT_STATUS.template.yml +1 -1
  43. package/.claude/templates/STYLE_GUIDE.template.md +7 -7
  44. package/.claude/templates/context-template.md +45 -45
  45. package/.claude/templates/design-context-template.md +22 -29
  46. package/.claude/templates/flags-template.json +42 -42
  47. package/.claude/templates/page-plan-example.md +9 -9
  48. package/.claude/templates/phases-sections/accessibility-test.md +17 -17
  49. package/.claude/templates/phases-sections/api-design.md +37 -37
  50. package/.claude/templates/phases-sections/backend-tests.md +16 -16
  51. package/.claude/templates/phases-sections/backend.md +37 -37
  52. package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
  53. package/.claude/templates/phases-sections/component-tests.md +17 -17
  54. package/.claude/templates/phases-sections/contract-backend.md +16 -16
  55. package/.claude/templates/phases-sections/contract-frontend.md +16 -16
  56. package/.claude/templates/phases-sections/database.md +35 -35
  57. package/.claude/templates/phases-sections/e2e-tests.md +16 -16
  58. package/.claude/templates/phases-sections/fix-implementation.md +17 -17
  59. package/.claude/templates/phases-sections/frontend-integration.md +18 -18
  60. package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
  61. package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
  62. package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
  63. package/.claude/templates/phases-sections/refactor.md +16 -16
  64. package/.claude/templates/phases-sections/regression-tests.md +15 -15
  65. package/.claude/templates/phases-sections/responsive-test.md +16 -16
  66. package/.claude/templates/phases-sections/script-implementation.md +43 -43
  67. package/.claude/templates/phases-sections/test-coverage.md +16 -16
  68. package/.claude/templates/phases-sections/user-approval.md +14 -14
  69. package/.claude/templates/phases-sections/ux-testing.md +164 -0
  70. package/LICENSE +21 -21
  71. package/README.md +3 -1
  72. package/package.json +1 -1
@@ -1,42 +1,42 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(git add:*)",
5
- "Bash(env)",
6
- "Bash(npx:*)",
7
- "mcp__context7__resolve-library-id",
8
- "mcp__context7__get-library-docs",
9
- "Bash(where:*)",
10
- "Bash(claude mcp add chrome-devtools npx chrome-devtools-mcp@latest)",
11
- "Read(//c/Users/User/**)",
12
- "Bash(cat:*)",
13
- "Bash(tasklist:*)",
14
- "Bash(start chrome:*)",
15
- "Bash(curl:*)",
16
- "mcp__chrome-devtools__list_pages",
17
- "mcp__chrome-devtools__new_page",
18
- "Bash(taskkill:*)",
19
- "mcp__chrome-devtools__take_snapshot",
20
- "mcp__chrome-devtools__navigate_page",
21
- "mcp__chrome-devtools__fill",
22
- "mcp__chrome-devtools__click",
23
- "mcp__chrome-devtools__take_screenshot",
24
- "Bash(/agents uxui-frontend)",
25
- "WebFetch(domain:github.com)",
26
- "WebFetch(domain:raw.githubusercontent.com)",
27
- "Bash(git -C \"E:\\project\\claude-multi-agent-template\" status)",
28
- "Bash(npm init:*)",
29
- "Bash(npm install:*)",
30
- "Bash(npm run build:*)",
31
- "Bash(find:*)",
32
- "Bash(npm test:*)",
33
- "Bash(npm run dev:*)",
34
- "Bash(git commit:*)",
35
- "Bash(git config:*)",
36
- "Bash(git push:*)",
37
- "Bash(git log:*)"
38
- ],
39
- "deny": [],
40
- "ask": []
41
- }
42
- }
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(git add:*)",
5
+ "Bash(env)",
6
+ "Bash(npx:*)",
7
+ "mcp__context7__resolve-library-id",
8
+ "mcp__context7__get-library-docs",
9
+ "Bash(where:*)",
10
+ "Bash(claude mcp add chrome-devtools npx chrome-devtools-mcp@latest)",
11
+ "Read(//c/Users/User/**)",
12
+ "Bash(cat:*)",
13
+ "Bash(tasklist:*)",
14
+ "Bash(start chrome:*)",
15
+ "Bash(curl:*)",
16
+ "mcp__chrome-devtools__list_pages",
17
+ "mcp__chrome-devtools__new_page",
18
+ "Bash(taskkill:*)",
19
+ "mcp__chrome-devtools__take_snapshot",
20
+ "mcp__chrome-devtools__navigate_page",
21
+ "mcp__chrome-devtools__fill",
22
+ "mcp__chrome-devtools__click",
23
+ "mcp__chrome-devtools__take_screenshot",
24
+ "Bash(/agents uxui-frontend)",
25
+ "WebFetch(domain:github.com)",
26
+ "WebFetch(domain:raw.githubusercontent.com)",
27
+ "Bash(git -C \"E:\\project\\claude-multi-agent-template\" status)",
28
+ "Bash(npm init:*)",
29
+ "Bash(npm install:*)",
30
+ "Bash(npm run build:*)",
31
+ "Bash(find:*)",
32
+ "Bash(npm test:*)",
33
+ "Bash(npm run dev:*)",
34
+ "Bash(git commit:*)",
35
+ "Bash(git config:*)",
36
+ "Bash(git push:*)",
37
+ "Bash(git log:*)"
38
+ ],
39
+ "deny": [],
40
+ "ask": []
41
+ }
42
+ }
@@ -167,4 +167,4 @@ notes: |
167
167
  references:
168
168
  # roadmap: "docs/proposal_list.md"
169
169
  # architecture: "openspec/specs/architecture.md"
170
- # style_guide: "design-system/STYLE_GUIDE.md"
170
+ # design_tokens: "design-system/data.yaml"
@@ -734,10 +734,10 @@ module.exports = {
734
734
 
735
735
  **Priority:**
736
736
  ```
737
- STYLE_GUIDE.md > best-practices/ > generic design contexts
737
+ data.yaml > best-practices/ > generic design contexts
738
738
  ```
739
739
 
740
- This file is the single source of truth for design.
740
+ The data.yaml file is the single source of truth for design.
741
741
 
742
742
  ### For Designers
743
743
 
@@ -752,7 +752,7 @@ This file is the single source of truth for design.
752
752
 
753
753
  **Good:**
754
754
  ```tsx
755
- // Uses STYLE_GUIDE values
755
+ // Uses data.yaml values
756
756
  <button className="bg-[#6366f1] px-4 py-2 rounded-md shadow-sm">
757
757
  Sign In
758
758
  </button>
@@ -760,7 +760,7 @@ This file is the single source of truth for design.
760
760
 
761
761
  **Bad:**
762
762
  ```tsx
763
- // Arbitrary values not in STYLE_GUIDE
763
+ // Arbitrary values not in data.yaml
764
764
  <button className="bg-[#5555ff] px-5 py-3 rounded-lg shadow-md">
765
765
  Sign In
766
766
  </button>
@@ -800,7 +800,7 @@ Before submitting a new component, verify:
800
800
  ```
801
801
 
802
802
  2. **Review changes:**
803
- - Compare new STYLE_GUIDE with old
803
+ - Compare new data.yaml with old
804
804
  - Identify breaking changes
805
805
  - Document migration path
806
806
 
@@ -846,11 +846,11 @@ Before submitting a new component, verify:
846
846
 
847
847
  ### Components look inconsistent
848
848
 
849
- **Cause:** Not following STYLE_GUIDE, using arbitrary values
849
+ **Cause:** Not following data.yaml, using arbitrary values
850
850
 
851
851
  **Solution:**
852
852
  - Review component code
853
- - Compare against STYLE_GUIDE values
853
+ - Compare against data.yaml values
854
854
  - Refactor to match specifications
855
855
 
856
856
  ---
@@ -1,45 +1,45 @@
1
- # Agent Context: {CHANGE_ID} {CHANGE_TITLE}
2
-
3
- ## Change Info
4
- - **ID:** {CHANGE_ID}
5
- - **Type:** {CHANGE_TYPE}
6
- - **Status:** Phase {CURRENT_PHASE_NUMBER}/{TOTAL_PHASES}
7
- - **Created:** {CREATED_DATE}
8
-
9
- ## References
10
- **IMPORTANT:** Agents MUST read these before starting work!
11
-
12
- - **Proposal:** [../proposal.md](../proposal.md) - Business requirements and scope
13
- - **Tasks:** [../tasks.md](../tasks.md) - Implementation checklist
14
- - **Design:** [../design.md](../design.md) - Technical decisions (if exists)
15
- - **Specs:** ../specs/ - Delta requirements
16
-
17
- ## Tech Stack
18
-
19
- ### Core (from project-level)
20
- Reference: `@/.claude/contexts/domain/project/best-practices/`
21
-
22
- {CORE_TECH_LIST}
23
-
24
- ### Additional (Change-specific)
25
- **New tech for this Change only:**
26
-
27
- {ADDITIONAL_TECH_LIST}
28
-
29
- ## Change-Specific Patterns
30
-
31
- {CHANGE_SPECIFIC_PATTERNS}
32
-
33
- ## Agent Instructions per Phase
34
-
35
- {AGENT_INSTRUCTIONS}
36
-
37
- ## Phase Tracking
38
- **Current phase:** {CURRENT_PHASE}
39
-
40
- See `flags.json` for detailed tracking.
41
-
42
- ---
43
-
44
- **Last updated:** {UPDATED_DATE}
45
- **Phase:** {CURRENT_PHASE} ({STATUS})
1
+ # Agent Context: {CHANGE_ID} {CHANGE_TITLE}
2
+
3
+ ## Change Info
4
+ - **ID:** {CHANGE_ID}
5
+ - **Type:** {CHANGE_TYPE}
6
+ - **Status:** Phase {CURRENT_PHASE_NUMBER}/{TOTAL_PHASES}
7
+ - **Created:** {CREATED_DATE}
8
+
9
+ ## References
10
+ **IMPORTANT:** Agents MUST read these before starting work!
11
+
12
+ - **Proposal:** [../proposal.md](../proposal.md) - Business requirements and scope
13
+ - **Tasks:** [../tasks.md](../tasks.md) - Implementation checklist
14
+ - **Design:** [../design.md](../design.md) - Technical decisions (if exists)
15
+ - **Specs:** ../specs/ - Delta requirements
16
+
17
+ ## Tech Stack
18
+
19
+ ### Core (from project-level)
20
+ Reference: `@/.claude/contexts/domain/project/best-practices/`
21
+
22
+ {CORE_TECH_LIST}
23
+
24
+ ### Additional (Change-specific)
25
+ **New tech for this Change only:**
26
+
27
+ {ADDITIONAL_TECH_LIST}
28
+
29
+ ## Change-Specific Patterns
30
+
31
+ {CHANGE_SPECIFIC_PATTERNS}
32
+
33
+ ## Agent Instructions per Phase
34
+
35
+ {AGENT_INSTRUCTIONS}
36
+
37
+ ## Phase Tracking
38
+ **Current phase:** {CURRENT_PHASE}
39
+
40
+ See `flags.json` for detailed tracking.
41
+
42
+ ---
43
+
44
+ **Last updated:** {UPDATED_DATE}
45
+ **Phase:** {CURRENT_PHASE} ({STATUS})
@@ -8,8 +8,8 @@
8
8
  ## 🎨 Design System Overview
9
9
 
10
10
  **Status:** {DESIGN_SYSTEM_STATUS}
11
- - ✅ Complete (STYLE_GUIDE.md + STYLE_TOKENS.json exist)
12
- - ⚠️ Partial (STYLE_GUIDE.md only)
11
+ - ✅ Complete (data.yaml + README.md exist)
12
+ - ⚠️ Partial (only one file exists)
13
13
  - ❌ None (needs /designsetup)
14
14
 
15
15
  **Generated from:**
@@ -24,20 +24,20 @@
24
24
 
25
25
  ### Primary Reference (Lightweight)
26
26
  ```
27
- STYLE_TOKENS.json (~500 tokens)
28
- design-system/STYLE_TOKENS.json
27
+ data.yaml (~800 tokens)
28
+ design-system/data.yaml
29
29
 
30
30
  Contains: Colors, spacing, typography, shadows, borders, animations
31
31
  Use: Quick reference for all commands and agents
32
32
  ```
33
33
 
34
- ### Full Reference (Optional - Load on Demand)
34
+ ### Human-Readable Summary (For Humans Only)
35
35
  ```
36
- 📖 STYLE_GUIDE.md (~5000 tokens)
37
- design-system/STYLE_GUIDE.md
36
+ 📖 README.md (~100 tokens)
37
+ design-system/README.md
38
38
 
39
- Contains: 17 sections including component examples, layout patterns
40
- Use: Only load specific sections when needed
39
+ Contains: Summary of design system for human review
40
+ Use: Humans reviewing design, NOT for agents
41
41
  ```
42
42
 
43
43
  ### Fallback (Universal Principles)
@@ -139,13 +139,13 @@ Read: .claude/contexts/domain/{PROJECT_NAME}/design-context.md
139
139
  Tokens: ~1000
140
140
  ```
141
141
 
142
- **Step 2: Load STYLE_TOKENS.json (if needed)**
142
+ **Step 2: Load data.yaml (if needed)**
143
143
  ```
144
- Read: design-system/STYLE_TOKENS.json
145
- Tokens: ~500
144
+ Read: design-system/data.yaml
145
+ Tokens: ~800
146
146
  ```
147
147
 
148
- **Total: ~1500 tokens (vs 5000+ for full STYLE_GUIDE.md)**
148
+ **Total: ~1500 tokens (efficient loading)**
149
149
 
150
150
  ---
151
151
 
@@ -158,22 +158,16 @@ Tokens: ~500
158
158
  - File paths
159
159
  - Critical rules
160
160
 
161
- 2. **Read STYLE_TOKENS.json**
161
+ 2. **Read data.yaml**
162
162
  - Full design tokens
163
163
  - Component library info
164
164
  - Usage patterns
165
165
 
166
- 3. **Optional: Read STYLE_GUIDE.md sections**
167
- - Only load sections needed for current task
168
- - Example: Component Styles, Layout Patterns
169
- - Tokens: ~2000 (selective loading)
170
-
171
- 4. **Report:**
166
+ 3. **Report:**
172
167
  ```
173
168
  ✅ Design Context Loaded
174
169
  📁 design-context.md ✓
175
- 📦 STYLE_TOKENS.json
176
- 📖 STYLE_GUIDE.md (Section 6: Component Styles) ✓
170
+ 📦 data.yaml
177
171
 
178
172
  Design Tokens Extracted:
179
173
  - Primary: {PRIMARY_COLOR}
@@ -187,9 +181,8 @@ Tokens: ~500
187
181
 
188
182
  | Approach | Tokens | Speed | Recommended |
189
183
  |----------|--------|-------|-------------|
190
- | **Old: Load full STYLE_GUIDE.md** | ~5000 | Slow | |
191
- | **New: design-context.md + STYLE_TOKENS.json** | ~1500 | Fast | ✅ |
192
- | **Agent: Selective STYLE_GUIDE sections** | ~3500 | Medium | ✅ (when needed) |
184
+ | **design-context.md + data.yaml** | ~1800 | Fast | |
185
+ | **data.yaml only** | ~800 | Very Fast | ✅ (quick tasks) |
193
186
 
194
187
  ---
195
188
 
@@ -198,15 +191,15 @@ Tokens: ~500
198
191
  Run `/csetup` or `/designsetup` again when:
199
192
  - ✅ Design tokens change (new colors, spacing)
200
193
  - ✅ Component library changes (shadcn → Chakra UI)
201
- - ✅ STYLE_GUIDE.md updated
194
+ - ✅ data.yaml updated
202
195
  - ✅ New project phase (rebrand, redesign)
203
196
 
204
197
  ---
205
198
 
206
199
  ## 📖 References
207
200
 
208
- - **Full Style Guide:** `design-system/STYLE_GUIDE.md`
209
- - **Design Tokens:** `design-system/STYLE_TOKENS.json`
201
+ - **Design Tokens:** `design-system/data.yaml` (agent reads this)
202
+ - **Human Summary:** `design-system/README.md` (for humans)
210
203
  - **Universal Design:** `.claude/contexts/design/`
211
204
  - **Best Practices:** `.claude/contexts/domain/{PROJECT_NAME}/best-practices/`
212
205
 
@@ -214,7 +207,7 @@ Run `/csetup` or `/designsetup` again when:
214
207
 
215
208
  **🎯 Next Steps for Agents:**
216
209
  1. Load design-context.md (~1K tokens) ✅
217
- 2. Load STYLE_TOKENS.json (~500 tokens) ✅
210
+ 2. Load data.yaml (~800 tokens) ✅
218
211
  3. Extract design tokens ✅
219
212
  4. Report loaded context ✅
220
213
  5. Begin implementation with design system awareness ✅
@@ -1,42 +1,42 @@
1
- {
2
- "version": "1.0.0",
3
- "change_id": "",
4
- "change_type": "",
5
- "template": "",
6
- "created_at": "",
7
- "updated_at": "",
8
-
9
- "current_phase": "",
10
-
11
- "phases": {},
12
-
13
- "meta": {
14
- "total_phases": 0,
15
- "completed_phases": 0,
16
- "in_progress_phases": 0,
17
- "pending_phases": 0,
18
- "progress_percentage": 0,
19
-
20
- "total_estimated_minutes": 0,
21
- "total_actual_minutes": 0,
22
- "time_remaining_estimate": 0,
23
-
24
- "tests_total": 0,
25
- "tests_passed": 0,
26
- "tests_failed": 0,
27
- "coverage_percentage": 0,
28
-
29
- "issues_found": 0,
30
- "issues_fixed": 0,
31
- "issues_remaining": 0,
32
-
33
- "files_created": 0,
34
- "files_modified": 0
35
- },
36
-
37
- "ready_to_archive": false,
38
- "blocked": false,
39
- "blocking_reason": null,
40
-
41
- "history": []
42
- }
1
+ {
2
+ "version": "1.0.0",
3
+ "change_id": "",
4
+ "change_type": "",
5
+ "template": "",
6
+ "created_at": "",
7
+ "updated_at": "",
8
+
9
+ "current_phase": "",
10
+
11
+ "phases": {},
12
+
13
+ "meta": {
14
+ "total_phases": 0,
15
+ "completed_phases": 0,
16
+ "in_progress_phases": 0,
17
+ "pending_phases": 0,
18
+ "progress_percentage": 0,
19
+
20
+ "total_estimated_minutes": 0,
21
+ "total_actual_minutes": 0,
22
+ "time_remaining_estimate": 0,
23
+
24
+ "tests_total": 0,
25
+ "tests_passed": 0,
26
+ "tests_failed": 0,
27
+ "coverage_percentage": 0,
28
+
29
+ "issues_found": 0,
30
+ "issues_fixed": 0,
31
+ "issues_remaining": 0,
32
+
33
+ "files_created": 0,
34
+ "files_modified": 0
35
+ },
36
+
37
+ "ready_to_archive": false,
38
+ "blocked": false,
39
+ "blocking_reason": null,
40
+
41
+ "history": []
42
+ }
@@ -1,6 +1,6 @@
1
1
  # Page Plan: Landing Page (EXAMPLE)
2
2
  > This is an example template showing the structure of page-plan.md
3
- > Generated from: proposal.md, prd.md, project_brief.md, STYLE_GUIDE.md
3
+ > Generated from: proposal.md, prd.md, project_brief.md, data.yaml
4
4
  > Change ID: landing-page
5
5
 
6
6
  ---
@@ -562,18 +562,18 @@ _Length: 75 words_
562
562
 
563
563
  ## 5. Design Notes
564
564
 
565
- **Follow STYLE_GUIDE.md for all design decisions:**
565
+ **Follow data.yaml for all design decisions:**
566
566
 
567
- - **Primary Color:** `#0d7276` (from STYLE_GUIDE.md Section 3)
568
- - **Font Family:** `Prompt` (from STYLE_GUIDE.md Section 4)
569
- - **Spacing Scale:** 8px grid system - use `p-4`, `p-6`, `p-8`, `gap-4`, `gap-6` (from STYLE_GUIDE.md Section 5)
570
- - **Component Library:** shadcn/ui (from STYLE_GUIDE.md Section 6)
571
- - **Icons:** Material Symbols (Outline style) (from STYLE_GUIDE.md Section 17)
567
+ - **Primary Color:** `#0d7276` (from data.yaml colors section)
568
+ - **Font Family:** `Prompt` (from data.yaml typography section)
569
+ - **Spacing Scale:** 8px grid system - use `p-4`, `p-6`, `p-8`, `gap-4`, `gap-6` (from data.yaml spacing)
570
+ - **Component Library:** shadcn/ui (from data.yaml)
571
+ - **Icons:** Material Symbols (Outline style) (from data.yaml)
572
572
  - **Shadows:**
573
573
  - Cards: `shadow-sm` on default, `shadow-md` on hover
574
574
  - Elevated elements: `shadow-lg`
575
575
  - **Border Radius:** `rounded-lg` for cards, `rounded-md` for buttons/inputs
576
- - **Responsive Breakpoints:** (from STYLE_GUIDE.md Section 13)
576
+ - **Responsive Breakpoints:** (from data.yaml)
577
577
  - Mobile: < 640px
578
578
  - Tablet: 640px - 1024px
579
579
  - Desktop: > 1024px
@@ -686,7 +686,7 @@ public/
686
686
  **Generated by:** /pageplan command
687
687
  **Date:** 2025-01-15
688
688
  **For:** Change ID `landing-page`
689
- **Context files used:** proposal.md, prd.md, project_brief.md, STYLE_GUIDE.md
689
+ **Context files used:** proposal.md, prd.md, project_brief.md, data.yaml
690
690
 
691
691
  ---
692
692
 
@@ -1,17 +1,17 @@
1
- # Phase: Accessibility Test
2
-
3
- **Agent:** `test-debug`
4
- **Metadata:** `| automated | accessibility |`
5
- **Estimated time:** 10 minutes
6
-
7
- ## 🎯 Purpose
8
- Run automated accessibility tests (Lighthouse, axe-core).
9
-
10
- ## ✅ Success Criteria
11
- - [ ] Lighthouse score ≥ 95
12
- - [ ] Contrast ratios pass WCAG AAA
13
- - [ ] ARIA labels complete
14
-
15
- ## 📤 Output
16
- - Test report
17
- - Update flags.json
1
+ # Phase: Accessibility Test
2
+
3
+ **Agent:** `test-debug`
4
+ **Metadata:** `| automated | accessibility |`
5
+ **Estimated time:** 10 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Run automated accessibility tests (Lighthouse, axe-core).
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] Lighthouse score ≥ 95
12
+ - [ ] Contrast ratios pass WCAG AAA
13
+ - [ ] ARIA labels complete
14
+
15
+ ## 📤 Output
16
+ - Test report
17
+ - Update flags.json
@@ -1,37 +1,37 @@
1
- # Phase: API Specification
2
-
3
- **Agent:** `integration`
4
- **Metadata:** `| api-design |`
5
- **Estimated time:** 30 minutes
6
-
7
- ## 🎯 Purpose
8
-
9
- Create OpenAPI 3.0 specification for all API endpoints. Define request/response schemas, validation rules, and error responses.
10
-
11
- ## 📚 Context Loading
12
-
13
- - ✅ `../proposal.md` → Business requirements
14
- - ✅ `../tasks.md` → API endpoints to implement
15
- - ✅ Frontend mockup code → Data requirements
16
- - ⚠️ `error-handling.md` → API error patterns
17
-
18
- ## 📝 Tasks
19
-
20
- 1. Analyze frontend mockup → Determine data needs
21
- 2. Design API endpoints (RESTful)
22
- 3. Define request/response schemas (JSON Schema)
23
- 4. Define error responses (4xx, 5xx)
24
- 5. Create OpenAPI 3.0 spec file
25
-
26
- ## ✅ Success Criteria
27
-
28
- - [ ] OpenAPI 3.0 spec complete
29
- - [ ] All endpoints documented
30
- - [ ] Request/response schemas defined with examples
31
- - [ ] Error responses defined
32
-
33
- ## 📤 Output
34
-
35
- - `.claude/openapi.yaml` (OpenAPI 3.0 spec)
36
- - API documentation (Swagger UI / Redoc)
37
- - Update flags.json
1
+ # Phase: API Specification
2
+
3
+ **Agent:** `integration`
4
+ **Metadata:** `| api-design |`
5
+ **Estimated time:** 30 minutes
6
+
7
+ ## 🎯 Purpose
8
+
9
+ Create OpenAPI 3.0 specification for all API endpoints. Define request/response schemas, validation rules, and error responses.
10
+
11
+ ## 📚 Context Loading
12
+
13
+ - ✅ `../proposal.md` → Business requirements
14
+ - ✅ `../tasks.md` → API endpoints to implement
15
+ - ✅ Frontend mockup code → Data requirements
16
+ - ⚠️ `error-handling.md` → API error patterns
17
+
18
+ ## 📝 Tasks
19
+
20
+ 1. Analyze frontend mockup → Determine data needs
21
+ 2. Design API endpoints (RESTful)
22
+ 3. Define request/response schemas (JSON Schema)
23
+ 4. Define error responses (4xx, 5xx)
24
+ 5. Create OpenAPI 3.0 spec file
25
+
26
+ ## ✅ Success Criteria
27
+
28
+ - [ ] OpenAPI 3.0 spec complete
29
+ - [ ] All endpoints documented
30
+ - [ ] Request/response schemas defined with examples
31
+ - [ ] Error responses defined
32
+
33
+ ## 📤 Output
34
+
35
+ - `.claude/openapi.yaml` (OpenAPI 3.0 spec)
36
+ - API documentation (Swagger UI / Redoc)
37
+ - Update flags.json
@@ -1,16 +1,16 @@
1
- # Phase: Backend Tests
2
-
3
- **Agent:** `test-debug`
4
- **Metadata:** `| automated | TDD |`
5
- **Estimated time:** 15 minutes
6
-
7
- ## 🎯 Purpose
8
- Run unit and integration tests for backend.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] All tests pass
12
- - [ ] Coverage ≥ 80%
13
-
14
- ## 📤 Output
15
- - Coverage report
16
- - Update flags.json
1
+ # Phase: Backend Tests
2
+
3
+ **Agent:** `test-debug`
4
+ **Metadata:** `| automated | TDD |`
5
+ **Estimated time:** 15 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Run unit and integration tests for backend.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] All tests pass
12
+ - [ ] Coverage ≥ 80%
13
+
14
+ ## 📤 Output
15
+ - Coverage report
16
+ - Update flags.json