@champpaba/claude-agent-kit 1.5.0 → 1.6.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 (60) hide show
  1. package/.claude/CHANGELOG-v1.1.1.md +259 -259
  2. package/.claude/CLAUDE.md +18 -7
  3. package/.claude/commands/agentsetup.md +1464 -1464
  4. package/.claude/commands/cstatus.md +60 -60
  5. package/.claude/commands/cview.md +364 -364
  6. package/.claude/commands/pageplan.md +233 -6
  7. package/.claude/commands/psetup.md +101 -101
  8. package/.claude/contexts/design/accessibility.md +611 -611
  9. package/.claude/contexts/design/layout.md +400 -400
  10. package/.claude/contexts/design/responsive.md +551 -551
  11. package/.claude/contexts/design/shadows.md +522 -522
  12. package/.claude/contexts/design/typography.md +465 -465
  13. package/.claude/contexts/domain/README.md +164 -164
  14. package/.claude/contexts/patterns/agent-coordination.md +388 -388
  15. package/.claude/contexts/patterns/agent-discovery.md +182 -182
  16. package/.claude/contexts/patterns/change-workflow.md +538 -538
  17. package/.claude/contexts/patterns/code-standards.md +515 -515
  18. package/.claude/contexts/patterns/development-principles.md +513 -513
  19. package/.claude/contexts/patterns/error-handling.md +478 -478
  20. package/.claude/contexts/patterns/error-recovery.md +365 -365
  21. package/.claude/contexts/patterns/logging.md +424 -424
  22. package/.claude/contexts/patterns/task-breakdown.md +452 -452
  23. package/.claude/contexts/patterns/task-classification.md +523 -523
  24. package/.claude/contexts/patterns/tdd-classification.md +516 -516
  25. package/.claude/contexts/patterns/testing.md +413 -413
  26. package/.claude/contexts/patterns/validation-framework.md +776 -776
  27. package/.claude/lib/agent-router.md +572 -572
  28. package/.claude/lib/flags-updater.md +469 -469
  29. package/.claude/lib/tdd-classifier.md +345 -345
  30. package/.claude/lib/validation-gates.md +484 -484
  31. package/.claude/settings.local.json +42 -42
  32. package/.claude/templates/context-template.md +45 -45
  33. package/.claude/templates/flags-template.json +42 -42
  34. package/.claude/templates/phase-templates.json +124 -124
  35. package/.claude/templates/phases-sections/accessibility-test.md +17 -17
  36. package/.claude/templates/phases-sections/api-design.md +37 -37
  37. package/.claude/templates/phases-sections/backend-tests.md +16 -16
  38. package/.claude/templates/phases-sections/backend.md +37 -37
  39. package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
  40. package/.claude/templates/phases-sections/component-tests.md +17 -17
  41. package/.claude/templates/phases-sections/contract-backend.md +16 -16
  42. package/.claude/templates/phases-sections/contract-frontend.md +16 -16
  43. package/.claude/templates/phases-sections/database.md +35 -35
  44. package/.claude/templates/phases-sections/documentation.md +17 -17
  45. package/.claude/templates/phases-sections/e2e-tests.md +16 -16
  46. package/.claude/templates/phases-sections/fix-implementation.md +17 -17
  47. package/.claude/templates/phases-sections/frontend-integration.md +18 -18
  48. package/.claude/templates/phases-sections/frontend-mockup.md +123 -123
  49. package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
  50. package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
  51. package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
  52. package/.claude/templates/phases-sections/refactor.md +16 -16
  53. package/.claude/templates/phases-sections/regression-tests.md +15 -15
  54. package/.claude/templates/phases-sections/report.md +16 -16
  55. package/.claude/templates/phases-sections/responsive-test.md +16 -16
  56. package/.claude/templates/phases-sections/script-implementation.md +43 -43
  57. package/.claude/templates/phases-sections/test-coverage.md +16 -16
  58. package/.claude/templates/phases-sections/user-approval.md +14 -14
  59. package/LICENSE +21 -21
  60. 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
+ }
@@ -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})
@@ -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,124 +1,124 @@
1
- {
2
- "version": "1.0.0",
3
- "templates": {
4
- "full-stack": {
5
- "name": "Full-Stack Feature",
6
- "description": "Complete feature with frontend UI, backend API, and database",
7
- "phases": [
8
- "frontend-mockup",
9
- "accessibility-test",
10
- "manual-ux-test",
11
- "business-logic-validation",
12
- "user-approval",
13
- "api-design",
14
- "backend",
15
- "database",
16
- "backend-tests",
17
- "contract-backend",
18
- "frontend-integration",
19
- "contract-frontend",
20
- "e2e-tests",
21
- "manual-flow-test",
22
- "refactor",
23
- "regression-tests",
24
- "test-coverage",
25
- "documentation",
26
- "report"
27
- ],
28
- "total_phases": 19,
29
- "estimated_minutes": 420
30
- },
31
-
32
- "frontend-only": {
33
- "name": "Frontend Only",
34
- "description": "UI components with mockup data, no backend integration",
35
- "phases": [
36
- "frontend-mockup",
37
- "accessibility-test",
38
- "manual-ux-test",
39
- "business-logic-validation",
40
- "user-approval",
41
- "component-tests",
42
- "responsive-test",
43
- "refactor",
44
- "test-coverage",
45
- "documentation",
46
- "report"
47
- ],
48
- "total_phases": 11,
49
- "estimated_minutes": 195
50
- },
51
-
52
- "backend-only": {
53
- "name": "Backend Only",
54
- "description": "API endpoints and database without frontend",
55
- "phases": [
56
- "api-design",
57
- "backend",
58
- "database",
59
- "backend-tests",
60
- "contract-backend",
61
- "e2e-api-tests",
62
- "refactor",
63
- "regression-tests",
64
- "documentation",
65
- "report"
66
- ],
67
- "total_phases": 10,
68
- "estimated_minutes": 210
69
- },
70
-
71
- "script-only": {
72
- "name": "Script/CLI Tool",
73
- "description": "Command-line tool or background script",
74
- "phases": [
75
- "script-implementation",
76
- "automated-tests",
77
- "manual-testing",
78
- "business-logic-validation",
79
- "refactor",
80
- "test-coverage",
81
- "documentation"
82
- ],
83
- "total_phases": 7,
84
- "estimated_minutes": 150
85
- },
86
-
87
- "bug-fix": {
88
- "name": "Bug Fix",
89
- "description": "Fix existing functionality",
90
- "phases": [
91
- "fix-implementation",
92
- "unit-tests",
93
- "manual-verification",
94
- "regression-tests",
95
- "report"
96
- ],
97
- "total_phases": 5,
98
- "estimated_minutes": 60
99
- },
100
-
101
- "refactor": {
102
- "name": "Refactoring",
103
- "description": "Improve code quality without changing functionality",
104
- "phases": [
105
- "refactor-implementation",
106
- "regression-tests",
107
- "documentation",
108
- "report"
109
- ],
110
- "total_phases": 4,
111
- "estimated_minutes": 90
112
- }
113
- },
114
-
115
- "detection_keywords": {
116
- "frontend": ["component", "page", "ui", "form", "button", "layout", "responsive", "css", "style", "tsx", "jsx", "vue"],
117
- "backend": ["api", "endpoint", "route", "handler", "server", "backend", "middleware", "controller"],
118
- "database": ["database", "schema", "migration", "prisma", "model", "query", "sql", "table"],
119
- "api_integration": ["fetch", "axios", "api call", "integration", "connect to", "http request"],
120
- "script": ["cli", "command", "script", "automation", "batch", "cron", "job", "worker"],
121
- "bug_fix": ["bug", "fix", "issue", "error", "broken", "crash"],
122
- "refactor": ["refactor", "cleanup", "optimize", "improve", "restructure", "reorganize"]
123
- }
124
- }
1
+ {
2
+ "version": "1.0.0",
3
+ "templates": {
4
+ "full-stack": {
5
+ "name": "Full-Stack Feature",
6
+ "description": "Complete feature with frontend UI, backend API, and database",
7
+ "phases": [
8
+ "frontend-mockup",
9
+ "accessibility-test",
10
+ "manual-ux-test",
11
+ "business-logic-validation",
12
+ "user-approval",
13
+ "api-design",
14
+ "backend",
15
+ "database",
16
+ "backend-tests",
17
+ "contract-backend",
18
+ "frontend-integration",
19
+ "contract-frontend",
20
+ "e2e-tests",
21
+ "manual-flow-test",
22
+ "refactor",
23
+ "regression-tests",
24
+ "test-coverage",
25
+ "documentation",
26
+ "report"
27
+ ],
28
+ "total_phases": 19,
29
+ "estimated_minutes": 420
30
+ },
31
+
32
+ "frontend-only": {
33
+ "name": "Frontend Only",
34
+ "description": "UI components with mockup data, no backend integration",
35
+ "phases": [
36
+ "frontend-mockup",
37
+ "accessibility-test",
38
+ "manual-ux-test",
39
+ "business-logic-validation",
40
+ "user-approval",
41
+ "component-tests",
42
+ "responsive-test",
43
+ "refactor",
44
+ "test-coverage",
45
+ "documentation",
46
+ "report"
47
+ ],
48
+ "total_phases": 11,
49
+ "estimated_minutes": 195
50
+ },
51
+
52
+ "backend-only": {
53
+ "name": "Backend Only",
54
+ "description": "API endpoints and database without frontend",
55
+ "phases": [
56
+ "api-design",
57
+ "backend",
58
+ "database",
59
+ "backend-tests",
60
+ "contract-backend",
61
+ "e2e-api-tests",
62
+ "refactor",
63
+ "regression-tests",
64
+ "documentation",
65
+ "report"
66
+ ],
67
+ "total_phases": 10,
68
+ "estimated_minutes": 210
69
+ },
70
+
71
+ "script-only": {
72
+ "name": "Script/CLI Tool",
73
+ "description": "Command-line tool or background script",
74
+ "phases": [
75
+ "script-implementation",
76
+ "automated-tests",
77
+ "manual-testing",
78
+ "business-logic-validation",
79
+ "refactor",
80
+ "test-coverage",
81
+ "documentation"
82
+ ],
83
+ "total_phases": 7,
84
+ "estimated_minutes": 150
85
+ },
86
+
87
+ "bug-fix": {
88
+ "name": "Bug Fix",
89
+ "description": "Fix existing functionality",
90
+ "phases": [
91
+ "fix-implementation",
92
+ "unit-tests",
93
+ "manual-verification",
94
+ "regression-tests",
95
+ "report"
96
+ ],
97
+ "total_phases": 5,
98
+ "estimated_minutes": 60
99
+ },
100
+
101
+ "refactor": {
102
+ "name": "Refactoring",
103
+ "description": "Improve code quality without changing functionality",
104
+ "phases": [
105
+ "refactor-implementation",
106
+ "regression-tests",
107
+ "documentation",
108
+ "report"
109
+ ],
110
+ "total_phases": 4,
111
+ "estimated_minutes": 90
112
+ }
113
+ },
114
+
115
+ "detection_keywords": {
116
+ "frontend": ["component", "page", "ui", "form", "button", "layout", "responsive", "css", "style", "tsx", "jsx", "vue"],
117
+ "backend": ["api", "endpoint", "route", "handler", "server", "backend", "middleware", "controller"],
118
+ "database": ["database", "schema", "migration", "prisma", "model", "query", "sql", "table"],
119
+ "api_integration": ["fetch", "axios", "api call", "integration", "connect to", "http request"],
120
+ "script": ["cli", "command", "script", "automation", "batch", "cron", "job", "worker"],
121
+ "bug_fix": ["bug", "fix", "issue", "error", "broken", "crash"],
122
+ "refactor": ["refactor", "cleanup", "optimize", "improve", "restructure", "reorganize"]
123
+ }
124
+ }
@@ -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