@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.
Files changed (72) hide show
  1. package/.claude/CHANGELOG-v1.1.1.md +259 -259
  2. package/.claude/CLAUDE.md +21 -6
  3. package/.claude/agents/01-integration.md +1 -1
  4. package/.claude/agents/02-uxui-frontend.md +1 -1
  5. package/.claude/agents/03-test-debug.md +1 -1
  6. package/.claude/agents/04-frontend.md +1 -1
  7. package/.claude/agents/05-backend.md +1 -1
  8. package/.claude/agents/06-database.md +1 -1
  9. package/.claude/commands/agentsetup.md +1464 -1464
  10. package/.claude/commands/cdev.md +3 -4
  11. package/.claude/commands/csetup.md +82 -3
  12. package/.claude/commands/cstatus.md +60 -60
  13. package/.claude/commands/cview.md +364 -364
  14. package/.claude/commands/psetup.md +101 -101
  15. package/.claude/contexts/design/accessibility.md +611 -611
  16. package/.claude/contexts/design/layout.md +400 -400
  17. package/.claude/contexts/design/responsive.md +551 -551
  18. package/.claude/contexts/design/shadows.md +522 -522
  19. package/.claude/contexts/design/typography.md +465 -465
  20. package/.claude/contexts/domain/README.md +164 -164
  21. package/.claude/contexts/patterns/agent-coordination.md +388 -388
  22. package/.claude/contexts/patterns/agent-discovery.md +182 -182
  23. package/.claude/contexts/patterns/change-workflow.md +538 -538
  24. package/.claude/contexts/patterns/code-standards.md +515 -515
  25. package/.claude/contexts/patterns/development-principles.md +513 -513
  26. package/.claude/contexts/patterns/error-handling.md +478 -478
  27. package/.claude/contexts/patterns/error-recovery.md +365 -365
  28. package/.claude/contexts/patterns/logging.md +424 -424
  29. package/.claude/contexts/patterns/task-breakdown.md +452 -452
  30. package/.claude/contexts/patterns/task-classification.md +523 -523
  31. package/.claude/contexts/patterns/tdd-classification.md +516 -516
  32. package/.claude/contexts/patterns/testing.md +413 -413
  33. package/.claude/contexts/patterns/validation-framework.md +776 -776
  34. package/.claude/lib/agent-executor.md +450 -1
  35. package/.claude/lib/agent-router.md +572 -572
  36. package/.claude/lib/detailed-guides/agent-system.md +11 -9
  37. package/.claude/lib/detailed-guides/incremental-testing.md +460 -0
  38. package/.claude/lib/flags-updater.md +469 -469
  39. package/.claude/lib/task-analyzer.md +398 -2
  40. package/.claude/lib/tdd-classifier.md +345 -345
  41. package/.claude/lib/validation-gates.md +484 -484
  42. package/.claude/settings.local.json +42 -42
  43. package/.claude/templates/context-template.md +45 -45
  44. package/.claude/templates/flags-template.json +42 -42
  45. package/.claude/templates/phase-templates.json +173 -124
  46. package/.claude/templates/phases-sections/accessibility-test.md +17 -17
  47. package/.claude/templates/phases-sections/api-design.md +37 -37
  48. package/.claude/templates/phases-sections/backend-tests.md +16 -16
  49. package/.claude/templates/phases-sections/backend.md +37 -37
  50. package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
  51. package/.claude/templates/phases-sections/component-tests.md +17 -17
  52. package/.claude/templates/phases-sections/contract-backend.md +16 -16
  53. package/.claude/templates/phases-sections/contract-frontend.md +16 -16
  54. package/.claude/templates/phases-sections/database.md +35 -35
  55. package/.claude/templates/phases-sections/documentation.md +17 -17
  56. package/.claude/templates/phases-sections/e2e-tests.md +16 -16
  57. package/.claude/templates/phases-sections/fix-implementation.md +17 -17
  58. package/.claude/templates/phases-sections/frontend-integration.md +18 -18
  59. package/.claude/templates/phases-sections/frontend-mockup.md +123 -123
  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/report.md +16 -16
  66. package/.claude/templates/phases-sections/responsive-test.md +16 -16
  67. package/.claude/templates/phases-sections/script-implementation.md +43 -43
  68. package/.claude/templates/phases-sections/test-coverage.md +16 -16
  69. package/.claude/templates/phases-sections/user-approval.md +14 -14
  70. package/LICENSE +21 -21
  71. package/README.md +171 -35
  72. package/package.json +1 -1
@@ -1,164 +1,164 @@
1
- # Domain-Specific Contexts
2
-
3
- This folder contains **project-specific** business logic, design tokens, and domain patterns.
4
-
5
- ---
6
-
7
- ## 📁 Structure
8
-
9
- ```
10
- domain/
11
- ├── README.md (this file)
12
- └── {project-name}/ # Your project domain
13
- ├── overview.md # Domain overview
14
- ├── design-tokens.md # Project-specific colors, fonts
15
- ├── business-rules.md # Domain logic, validations
16
- ├── api-contracts.md # API specifications
17
- └── workflows.md # User flows, process diagrams
18
- ```
19
-
20
- ---
21
-
22
- ## 🎯 Examples
23
-
24
- ### E-commerce Project
25
- ```
26
- domain/ecommerce/
27
- ├── overview.md # E-commerce platform overview
28
- ├── design-tokens.md # Brand colors (primary, secondary, accent)
29
- ├── checkout-flow.md # 4-step checkout process
30
- ├── inventory-rules.md # Stock management, backorder logic
31
- └── payment-gateway.md # Stripe integration patterns
32
- ```
33
-
34
- ### IELTS Speaking Test
35
- ```
36
- domain/ielts/
37
- ├── overview.md # IELTS platform overview
38
- ├── design-tokens.md # Primary: rgb(15, 42, 74), Secondary: rgb(212, 185, 120)
39
- ├── test-structure.md # Part 1, 2, 3 specifications
40
- ├── scoring.md # Speechace (0-100) → IELTS (0-9) conversion
41
- ├── speechace-api.md # API integration, rate limits
42
- └── audio-validation.md # Part-specific audio limits (45s, 110s, 60s)
43
- ```
44
-
45
- ### CRM System
46
- ```
47
- domain/crm/
48
- ├── overview.md # CRM system overview
49
- ├── design-tokens.md # Enterprise brand colors
50
- ├── sales-pipeline.md # Lead → Opportunity → Customer
51
- ├── contact-management.md # Contact lifecycle, data model
52
- └── reporting.md # Dashboard metrics, KPIs
53
- ```
54
-
55
- ---
56
-
57
- ## 🔧 How to Create Your Domain
58
-
59
- ### Step 1: Create Directory
60
- ```bash
61
- mkdir -p .claude/contexts/domain/myproject
62
- ```
63
-
64
- ### Step 2: Add Overview
65
- ```markdown
66
- <!-- domain/myproject/overview.md -->
67
- # MyProject Overview
68
-
69
- ## What is this?
70
- Brief description of your project domain.
71
-
72
- ## Core Concepts
73
- - Concept 1: Description
74
- - Concept 2: Description
75
-
76
- ## Key Features
77
- - Feature 1
78
- - Feature 2
79
- ```
80
-
81
- ### Step 3: Add Design Tokens (Optional)
82
- ```markdown
83
- <!-- domain/myproject/design-tokens.md -->
84
- # MyProject Design Tokens
85
-
86
- ## Colors
87
- ```css
88
- --color-primary: #007bff /* Brand Blue */
89
- --color-secondary: #6c757d /* Gray */
90
- --color-accent: #28a745 /* Green */
91
- --color-error: #dc3545 /* Red */
92
- ```
93
-
94
- ## Typography
95
- - Font Family: 'Inter', sans-serif
96
- - Headings: 700 (bold)
97
- - Body: 400 (regular)
98
- ```
99
-
100
- ### Step 4: Add Business Rules (Optional)
101
- ```markdown
102
- <!-- domain/myproject/business-rules.md -->
103
- # Business Rules
104
-
105
- ## Validation Rules
106
- - Email must be unique
107
- - Password min 8 characters
108
- - Phone number format: +XX-XXX-XXX-XXXX
109
-
110
- ## Business Logic
111
- - Free shipping: Orders > $50
112
- - Discount: 10% for members
113
- - Refund: Within 30 days
114
- ```
115
-
116
- ---
117
-
118
- ## 🤖 How Agents Use Domain Contexts
119
-
120
- ### Automatic Loading
121
- ```
122
- Orchestrator:
123
- 1. Detects tech stack (Next.js, Prisma)
124
- 2. Checks domain/ folder
125
- 3. IF exists → Loads domain/{project}/*.md
126
- 4. Passes to specialist agents
127
-
128
- Example:
129
- Task: "Create login form"
130
- → uxui-frontend agent loads:
131
- ✅ patterns/testing.md (universal)
132
- ✅ design/color-theory.md (universal)
133
- ✅ domain/myproject/design-tokens.md (project-specific)
134
- ✅ Context7: Next.js docs (dynamic)
135
- ```
136
-
137
- ---
138
-
139
- ## ✅ Best Practices
140
-
141
- ### DO:
142
- - ✅ Create domain folder for each project
143
- - ✅ Document business rules clearly
144
- - ✅ Include examples and edge cases
145
- - ✅ Keep design tokens separate from universal design foundation
146
- - ✅ Update when requirements change
147
-
148
- ### DON'T:
149
- - ❌ Mix domain logic with universal patterns
150
- - ❌ Hardcode values (use env variables)
151
- - ❌ Leave outdated documentation
152
- - ❌ Skip domain context for complex projects
153
-
154
- ---
155
-
156
- ## 📖 References
157
-
158
- - **Universal Patterns:** `.claude/contexts/patterns/`
159
- - **Design Foundation:** `.claude/contexts/design/`
160
- - **Agents:** `.claude/agents/`
161
-
162
- ---
163
-
164
- **Start by creating `domain/{your-project}/overview.md`!**
1
+ # Domain-Specific Contexts
2
+
3
+ This folder contains **project-specific** business logic, design tokens, and domain patterns.
4
+
5
+ ---
6
+
7
+ ## 📁 Structure
8
+
9
+ ```
10
+ domain/
11
+ ├── README.md (this file)
12
+ └── {project-name}/ # Your project domain
13
+ ├── overview.md # Domain overview
14
+ ├── design-tokens.md # Project-specific colors, fonts
15
+ ├── business-rules.md # Domain logic, validations
16
+ ├── api-contracts.md # API specifications
17
+ └── workflows.md # User flows, process diagrams
18
+ ```
19
+
20
+ ---
21
+
22
+ ## 🎯 Examples
23
+
24
+ ### E-commerce Project
25
+ ```
26
+ domain/ecommerce/
27
+ ├── overview.md # E-commerce platform overview
28
+ ├── design-tokens.md # Brand colors (primary, secondary, accent)
29
+ ├── checkout-flow.md # 4-step checkout process
30
+ ├── inventory-rules.md # Stock management, backorder logic
31
+ └── payment-gateway.md # Stripe integration patterns
32
+ ```
33
+
34
+ ### IELTS Speaking Test
35
+ ```
36
+ domain/ielts/
37
+ ├── overview.md # IELTS platform overview
38
+ ├── design-tokens.md # Primary: rgb(15, 42, 74), Secondary: rgb(212, 185, 120)
39
+ ├── test-structure.md # Part 1, 2, 3 specifications
40
+ ├── scoring.md # Speechace (0-100) → IELTS (0-9) conversion
41
+ ├── speechace-api.md # API integration, rate limits
42
+ └── audio-validation.md # Part-specific audio limits (45s, 110s, 60s)
43
+ ```
44
+
45
+ ### CRM System
46
+ ```
47
+ domain/crm/
48
+ ├── overview.md # CRM system overview
49
+ ├── design-tokens.md # Enterprise brand colors
50
+ ├── sales-pipeline.md # Lead → Opportunity → Customer
51
+ ├── contact-management.md # Contact lifecycle, data model
52
+ └── reporting.md # Dashboard metrics, KPIs
53
+ ```
54
+
55
+ ---
56
+
57
+ ## 🔧 How to Create Your Domain
58
+
59
+ ### Step 1: Create Directory
60
+ ```bash
61
+ mkdir -p .claude/contexts/domain/myproject
62
+ ```
63
+
64
+ ### Step 2: Add Overview
65
+ ```markdown
66
+ <!-- domain/myproject/overview.md -->
67
+ # MyProject Overview
68
+
69
+ ## What is this?
70
+ Brief description of your project domain.
71
+
72
+ ## Core Concepts
73
+ - Concept 1: Description
74
+ - Concept 2: Description
75
+
76
+ ## Key Features
77
+ - Feature 1
78
+ - Feature 2
79
+ ```
80
+
81
+ ### Step 3: Add Design Tokens (Optional)
82
+ ```markdown
83
+ <!-- domain/myproject/design-tokens.md -->
84
+ # MyProject Design Tokens
85
+
86
+ ## Colors
87
+ ```css
88
+ --color-primary: #007bff /* Brand Blue */
89
+ --color-secondary: #6c757d /* Gray */
90
+ --color-accent: #28a745 /* Green */
91
+ --color-error: #dc3545 /* Red */
92
+ ```
93
+
94
+ ## Typography
95
+ - Font Family: 'Inter', sans-serif
96
+ - Headings: 700 (bold)
97
+ - Body: 400 (regular)
98
+ ```
99
+
100
+ ### Step 4: Add Business Rules (Optional)
101
+ ```markdown
102
+ <!-- domain/myproject/business-rules.md -->
103
+ # Business Rules
104
+
105
+ ## Validation Rules
106
+ - Email must be unique
107
+ - Password min 8 characters
108
+ - Phone number format: +XX-XXX-XXX-XXXX
109
+
110
+ ## Business Logic
111
+ - Free shipping: Orders > $50
112
+ - Discount: 10% for members
113
+ - Refund: Within 30 days
114
+ ```
115
+
116
+ ---
117
+
118
+ ## 🤖 How Agents Use Domain Contexts
119
+
120
+ ### Automatic Loading
121
+ ```
122
+ Orchestrator:
123
+ 1. Detects tech stack (Next.js, Prisma)
124
+ 2. Checks domain/ folder
125
+ 3. IF exists → Loads domain/{project}/*.md
126
+ 4. Passes to specialist agents
127
+
128
+ Example:
129
+ Task: "Create login form"
130
+ → uxui-frontend agent loads:
131
+ ✅ patterns/testing.md (universal)
132
+ ✅ design/color-theory.md (universal)
133
+ ✅ domain/myproject/design-tokens.md (project-specific)
134
+ ✅ Context7: Next.js docs (dynamic)
135
+ ```
136
+
137
+ ---
138
+
139
+ ## ✅ Best Practices
140
+
141
+ ### DO:
142
+ - ✅ Create domain folder for each project
143
+ - ✅ Document business rules clearly
144
+ - ✅ Include examples and edge cases
145
+ - ✅ Keep design tokens separate from universal design foundation
146
+ - ✅ Update when requirements change
147
+
148
+ ### DON'T:
149
+ - ❌ Mix domain logic with universal patterns
150
+ - ❌ Hardcode values (use env variables)
151
+ - ❌ Leave outdated documentation
152
+ - ❌ Skip domain context for complex projects
153
+
154
+ ---
155
+
156
+ ## 📖 References
157
+
158
+ - **Universal Patterns:** `.claude/contexts/patterns/`
159
+ - **Design Foundation:** `.claude/contexts/design/`
160
+ - **Agents:** `.claude/agents/`
161
+
162
+ ---
163
+
164
+ **Start by creating `domain/{your-project}/overview.md`!**