@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.
Files changed (45) hide show
  1. package/.claude/CLAUDE.md +102 -9
  2. package/.claude/commands/csetup.md +335 -16
  3. package/.claude/commands/cview.md +364 -364
  4. package/.claude/commands/pageplan.md +18 -0
  5. package/.claude/contexts/design/accessibility.md +611 -611
  6. package/.claude/contexts/design/layout.md +400 -400
  7. package/.claude/contexts/design/responsive.md +551 -551
  8. package/.claude/contexts/design/shadows.md +522 -522
  9. package/.claude/contexts/design/typography.md +465 -465
  10. package/.claude/contexts/domain/README.md +164 -164
  11. package/.claude/contexts/patterns/agent-coordination.md +388 -388
  12. package/.claude/contexts/patterns/development-principles.md +513 -513
  13. package/.claude/contexts/patterns/error-handling.md +478 -478
  14. package/.claude/contexts/patterns/logging.md +424 -424
  15. package/.claude/contexts/patterns/tdd-classification.md +516 -516
  16. package/.claude/contexts/patterns/testing.md +413 -413
  17. package/.claude/lib/tdd-classifier.md +345 -345
  18. package/.claude/lib/validation-gates.md +484 -484
  19. package/.claude/settings.local.json +42 -42
  20. package/.claude/templates/context-template.md +45 -45
  21. package/.claude/templates/flags-template.json +42 -42
  22. package/.claude/templates/phases-sections/accessibility-test.md +17 -17
  23. package/.claude/templates/phases-sections/api-design.md +37 -37
  24. package/.claude/templates/phases-sections/backend-tests.md +16 -16
  25. package/.claude/templates/phases-sections/backend.md +37 -37
  26. package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
  27. package/.claude/templates/phases-sections/component-tests.md +17 -17
  28. package/.claude/templates/phases-sections/contract-backend.md +16 -16
  29. package/.claude/templates/phases-sections/contract-frontend.md +16 -16
  30. package/.claude/templates/phases-sections/database.md +35 -35
  31. package/.claude/templates/phases-sections/e2e-tests.md +16 -16
  32. package/.claude/templates/phases-sections/fix-implementation.md +17 -17
  33. package/.claude/templates/phases-sections/frontend-integration.md +18 -18
  34. package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
  35. package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
  36. package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
  37. package/.claude/templates/phases-sections/refactor.md +16 -16
  38. package/.claude/templates/phases-sections/regression-tests.md +15 -15
  39. package/.claude/templates/phases-sections/responsive-test.md +16 -16
  40. package/.claude/templates/phases-sections/script-implementation.md +43 -43
  41. package/.claude/templates/phases-sections/test-coverage.md +16 -16
  42. package/.claude/templates/phases-sections/user-approval.md +14 -14
  43. package/LICENSE +21 -21
  44. package/README.md +23 -3
  45. 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)) {