@champpaba/claude-agent-kit 3.0.2 → 3.2.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 (51) hide show
  1. package/.claude/CHANGELOG.md +707 -0
  2. package/.claude/CLAUDE.md +128 -613
  3. package/.claude/agents/_shared/pre-work-checklist.md +108 -7
  4. package/.claude/commands/cdev.md +36 -0
  5. package/.claude/commands/csetup.md +292 -1791
  6. package/.claude/commands/cview.md +364 -364
  7. package/.claude/contexts/design/accessibility.md +611 -611
  8. package/.claude/contexts/design/layout.md +400 -400
  9. package/.claude/contexts/design/responsive.md +551 -551
  10. package/.claude/contexts/design/shadows.md +522 -522
  11. package/.claude/contexts/design/typography.md +465 -465
  12. package/.claude/contexts/domain/README.md +164 -164
  13. package/.claude/contexts/patterns/agent-coordination.md +388 -388
  14. package/.claude/contexts/patterns/development-principles.md +513 -513
  15. package/.claude/contexts/patterns/error-handling.md +478 -478
  16. package/.claude/contexts/patterns/logging.md +424 -424
  17. package/.claude/contexts/patterns/tdd-classification.md +516 -516
  18. package/.claude/contexts/patterns/testing.md +413 -413
  19. package/.claude/lib/README.md +3 -3
  20. package/.claude/lib/detailed-guides/taskmaster-analysis.md +1 -1
  21. package/.claude/lib/task-analyzer.md +144 -0
  22. package/.claude/lib/tdd-workflow.md +2 -1
  23. package/.claude/lib/validation-gates.md +484 -484
  24. package/.claude/settings.local.json +42 -42
  25. package/.claude/templates/PROJECT_STATUS.template.yml +16 -41
  26. package/.claude/templates/context-template.md +45 -45
  27. package/.claude/templates/flags-template.json +42 -42
  28. package/.claude/templates/phases-sections/accessibility-test.md +17 -17
  29. package/.claude/templates/phases-sections/api-design.md +37 -37
  30. package/.claude/templates/phases-sections/backend-tests.md +16 -16
  31. package/.claude/templates/phases-sections/backend.md +37 -37
  32. package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
  33. package/.claude/templates/phases-sections/component-tests.md +17 -17
  34. package/.claude/templates/phases-sections/contract-backend.md +16 -16
  35. package/.claude/templates/phases-sections/contract-frontend.md +16 -16
  36. package/.claude/templates/phases-sections/database.md +35 -35
  37. package/.claude/templates/phases-sections/e2e-tests.md +16 -16
  38. package/.claude/templates/phases-sections/fix-implementation.md +17 -17
  39. package/.claude/templates/phases-sections/frontend-integration.md +18 -18
  40. package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
  41. package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
  42. package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
  43. package/.claude/templates/phases-sections/refactor.md +16 -16
  44. package/.claude/templates/phases-sections/regression-tests.md +15 -15
  45. package/.claude/templates/phases-sections/responsive-test.md +16 -16
  46. package/.claude/templates/phases-sections/script-implementation.md +43 -43
  47. package/.claude/templates/phases-sections/test-coverage.md +16 -16
  48. package/.claude/templates/phases-sections/user-approval.md +14 -14
  49. package/LICENSE +21 -21
  50. package/package.json +1 -1
  51. package/.claude/lib/tdd-classifier.md +0 -345
@@ -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`!**