@champpaba/claude-agent-kit 2.4.0 → 2.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.
- package/.claude/CLAUDE.md +102 -9
- package/.claude/commands/csetup.md +335 -16
- package/.claude/commands/cview.md +364 -364
- package/.claude/commands/pageplan.md +18 -0
- package/.claude/contexts/design/accessibility.md +611 -611
- 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/development-principles.md +513 -513
- package/.claude/contexts/patterns/error-handling.md +478 -478
- package/.claude/contexts/patterns/logging.md +424 -424
- package/.claude/contexts/patterns/tdd-classification.md +516 -516
- package/.claude/contexts/patterns/testing.md +413 -413
- 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/context-template.md +45 -45
- 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/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 +23 -3
- package/package.json +1 -1
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
1. **Reads User-Specified Context:**
|
|
25
25
|
- Only reads files that user mentions with `@` prefix
|
|
26
26
|
- Always reads `openspec/changes/{change-id}/proposal.md` (if exists)
|
|
27
|
+
- Always reads `openspec/changes/{change-id}/tasks.md` (for page type detection)
|
|
28
|
+
- **Always reads `openspec/changes/{change-id}/.claude/phases.md`** (if exists - for phase info) ✅ NEW v2.6.0
|
|
27
29
|
- **Always reads `design-system/STYLE_TOKENS.json`** (lightweight, ~500 tokens) ✅
|
|
28
30
|
- Validates `design-system/STYLE_GUIDE.md` exists (doesn't load full content)
|
|
29
31
|
|
|
@@ -97,6 +99,22 @@ if (fileExists(tasksPath)) {
|
|
|
97
99
|
tasksContent = Read(tasksPath)
|
|
98
100
|
}
|
|
99
101
|
|
|
102
|
+
// 🆕 v2.6.0: Read phases.md if exists (for phase info, UI detection)
|
|
103
|
+
const phasesPath = `openspec/changes/${changeId}/.claude/phases.md`
|
|
104
|
+
let phasesContent = ''
|
|
105
|
+
if (fileExists(phasesPath)) {
|
|
106
|
+
phasesContent = Read(phasesPath)
|
|
107
|
+
output(`✅ phases.md Found - reading phase information`)
|
|
108
|
+
|
|
109
|
+
// Extract UI phases from phases.md
|
|
110
|
+
const uiPhaseMatch = phasesContent.match(/uxui-frontend|frontend-mockup|Frontend Mockup/gi)
|
|
111
|
+
if (uiPhaseMatch) {
|
|
112
|
+
output(` - UI phases detected: ${uiPhaseMatch.length}`)
|
|
113
|
+
}
|
|
114
|
+
} else {
|
|
115
|
+
output(`ℹ️ phases.md not found - run /csetup first if you want phase-aware planning`)
|
|
116
|
+
}
|
|
117
|
+
|
|
100
118
|
// Extract brief from user files
|
|
101
119
|
const briefFile = userFiles.find(f => f.toLowerCase().includes('brief'))
|
|
102
120
|
if (briefFile && fileExists(briefFile)) {
|