@champpaba/claude-agent-kit 2.5.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/commands/csetup.md +73 -15
- 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/package.json +1 -1
|
@@ -2609,33 +2609,91 @@ contextTemplate = contextTemplate
|
|
|
2609
2609
|
|
|
2610
2610
|
Write to: `openspec/changes/{change-id}/.claude/context.md`
|
|
2611
2611
|
|
|
2612
|
-
### Step 8: Output Summary
|
|
2612
|
+
### Step 8: Output Summary (ENHANCED v2.6.0)
|
|
2613
2613
|
|
|
2614
|
-
```
|
|
2614
|
+
```typescript
|
|
2615
|
+
// Check if UI work was detected (from Step 2.5/Step 3)
|
|
2616
|
+
const hasUIWork = hasFrontend || (hasDatabase && lower.includes('ui'))
|
|
2617
|
+
|
|
2618
|
+
// Check for existing page-plan.md
|
|
2619
|
+
const pagePlanPath = `openspec/changes/${changeId}/page-plan.md`
|
|
2620
|
+
const hasPagePlan = fileExists(pagePlanPath)
|
|
2621
|
+
|
|
2622
|
+
// Build output
|
|
2623
|
+
let output = `
|
|
2615
2624
|
✅ Change setup complete!
|
|
2616
2625
|
|
|
2617
|
-
📦 Change: {
|
|
2618
|
-
📋 Template: {
|
|
2619
|
-
🛠️ Detected: {
|
|
2626
|
+
📦 Change: ${changeId}
|
|
2627
|
+
📋 Template: ${templateName} (${totalPhases} phases)
|
|
2628
|
+
🛠️ Detected: ${detectedCategories.join(', ')}
|
|
2620
2629
|
|
|
2621
2630
|
📁 Files created:
|
|
2622
|
-
✓ openspec/changes
|
|
2623
|
-
✓ openspec/changes
|
|
2624
|
-
✓ openspec/changes
|
|
2631
|
+
✓ openspec/changes/${changeId}/.claude/phases.md
|
|
2632
|
+
✓ openspec/changes/${changeId}/.claude/flags.json
|
|
2633
|
+
✓ openspec/changes/${changeId}/.claude/context.md
|
|
2625
2634
|
|
|
2626
2635
|
📊 Workflow:
|
|
2627
|
-
Phase 1: {
|
|
2636
|
+
Phase 1: ${firstPhaseName} (${firstPhaseAgent} agent, ${firstPhaseMin} min)
|
|
2628
2637
|
...
|
|
2629
|
-
Phase {
|
|
2638
|
+
Phase ${totalPhases}: ${lastPhaseName}
|
|
2630
2639
|
|
|
2631
|
-
⏱️ Total estimated time:
|
|
2640
|
+
⏱️ Total estimated time: ~${hours}h ${minutes}m
|
|
2641
|
+
`
|
|
2632
2642
|
|
|
2643
|
+
// 🆕 v2.6.0: Recommend /pageplan if UI work detected
|
|
2644
|
+
if (hasUIWork) {
|
|
2645
|
+
if (hasPagePlan) {
|
|
2646
|
+
output += `
|
|
2647
|
+
✅ page-plan.md found: ${pagePlanPath}
|
|
2648
|
+
→ uxui-frontend will use this for component planning
|
|
2649
|
+
`
|
|
2650
|
+
} else {
|
|
2651
|
+
output += `
|
|
2652
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2653
|
+
🎨 UI Work Detected!
|
|
2654
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2655
|
+
|
|
2656
|
+
Phases with UI work:
|
|
2657
|
+
${uiPhases.map(p => \` • Phase \${p.number}: \${p.name} (\${p.agent})\`).join('\\n')}
|
|
2658
|
+
|
|
2659
|
+
💡 RECOMMENDED: Run /pageplan before /cdev
|
|
2660
|
+
|
|
2661
|
+
Why?
|
|
2662
|
+
├── Content variants (3 options per element - user picks A/B/C)
|
|
2663
|
+
├── Component index (auto-generated, prevents duplicates)
|
|
2664
|
+
├── Asset checklist (images, icons with specs)
|
|
2665
|
+
└── Approval process (user reviews before implementation)
|
|
2666
|
+
|
|
2667
|
+
📝 Recommended Steps:
|
|
2668
|
+
1. /pageplan @prd.md ← Generate page plan
|
|
2669
|
+
2. Edit page-plan.md ← Pick A/B/C content, prepare assets
|
|
2670
|
+
3. Mark APPROVED in Section 6 ← Sign-off before implementation
|
|
2671
|
+
4. /cdev ${changeId} ← Implement with real content
|
|
2672
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
2673
|
+
`
|
|
2674
|
+
}
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
output += `
|
|
2633
2678
|
🚀 Ready to start development!
|
|
2634
2679
|
|
|
2635
|
-
Next steps
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2680
|
+
Next steps:`
|
|
2681
|
+
|
|
2682
|
+
if (hasUIWork && !hasPagePlan) {
|
|
2683
|
+
output += `
|
|
2684
|
+
1. (Recommended) Run: /pageplan @prd.md
|
|
2685
|
+
2. Edit page-plan.md (content, assets, approval)
|
|
2686
|
+
3. Review workflow: openspec/changes/${changeId}/.claude/phases.md
|
|
2687
|
+
4. Start development: /cdev ${changeId}
|
|
2688
|
+
5. View progress: /cview ${changeId}`
|
|
2689
|
+
} else {
|
|
2690
|
+
output += `
|
|
2691
|
+
1. Review workflow: openspec/changes/${changeId}/.claude/phases.md
|
|
2692
|
+
2. Start development: /cdev ${changeId}
|
|
2693
|
+
3. View progress: /cview ${changeId}`
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
console.log(output)
|
|
2639
2697
|
```
|
|
2640
2698
|
|
|
2641
2699
|
---
|