@champpaba/claude-agent-kit 2.0.0 → 2.1.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 +253 -31
- package/.claude/agents/01-integration.md +106 -552
- package/.claude/agents/02-uxui-frontend.md +188 -850
- package/.claude/agents/03-test-debug.md +152 -521
- package/.claude/agents/04-frontend.md +169 -549
- package/.claude/agents/05-backend.md +132 -661
- package/.claude/agents/06-database.md +149 -698
- package/.claude/agents/_shared/README.md +57 -0
- package/.claude/agents/_shared/agent-boundaries.md +64 -0
- package/.claude/agents/_shared/documentation-policy.md +47 -0
- package/.claude/agents/_shared/package-manager.md +59 -0
- package/.claude/agents/_shared/pre-work-checklist.md +57 -0
- package/.claude/commands/cdev.md +36 -61
- package/.claude/commands/csetup.md +90 -14
- package/.claude/commands/cstatus.md +153 -60
- package/.claude/commands/cview.md +364 -364
- package/.claude/commands/designsetup.md +1 -1
- package/.claude/commands/pageplan.md +53 -177
- package/.claude/commands/pstatus.md +431 -0
- package/.claude/contexts/design/accessibility.md +611 -611
- package/.claude/contexts/design/box-thinking.md +1 -1
- package/.claude/contexts/design/index.md +1 -1
- 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/agent-discovery.md +2 -2
- package/.claude/contexts/patterns/animation-patterns.md +1 -1
- package/.claude/contexts/patterns/change-workflow.md +541 -538
- package/.claude/contexts/patterns/code-standards.md +10 -8
- package/.claude/contexts/patterns/development-principles.md +513 -513
- package/.claude/contexts/patterns/error-handling.md +478 -478
- package/.claude/contexts/patterns/error-recovery.md +365 -365
- package/.claude/contexts/patterns/frontend-component-strategy.md +1 -1
- package/.claude/contexts/patterns/logging.md +424 -424
- package/.claude/contexts/patterns/performance-optimization.md +1 -1
- package/.claude/contexts/patterns/task-breakdown.md +452 -452
- package/.claude/contexts/patterns/task-classification.md +523 -523
- package/.claude/contexts/patterns/tdd-classification.md +516 -516
- package/.claude/contexts/patterns/testing.md +413 -413
- package/.claude/contexts/patterns/ui-component-consistency.md +3 -3
- package/.claude/contexts/patterns/validation-framework.md +779 -776
- package/.claude/lib/README.md +4 -4
- package/.claude/lib/agent-executor.md +31 -40
- package/.claude/lib/agent-router.md +450 -572
- package/.claude/lib/context-loading-protocol.md +19 -36
- package/.claude/lib/detailed-guides/agent-system.md +43 -121
- package/.claude/lib/detailed-guides/taskmaster-analysis.md +1 -1
- package/.claude/lib/document-loader.md +22 -25
- package/.claude/lib/flags-updater.md +461 -469
- 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/STYLE_GUIDE.template.md +1 -1
- package/.claude/templates/context-template.md +45 -45
- package/.claude/templates/design-context-template.md +1 -1
- 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/frontend-mockup.md +126 -123
- 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/PROJECT_STATUS.template.yml +105 -0
- package/README.md +103 -1115
- package/lib/init.js +30 -2
- package/package.json +3 -2
- package/.claude/CHANGELOG-v1.1.1.md +0 -259
|
@@ -1,60 +1,153 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Change Status
|
|
3
|
-
description: Quick progress status for a change
|
|
4
|
-
category: Multi-Agent
|
|
5
|
-
tags: [status, progress, quick]
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Usage
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
/cstatus {change-id}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
├─
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
---
|
|
2
|
+
name: Change Status
|
|
3
|
+
description: Quick progress status for a change (with project context)
|
|
4
|
+
category: Multi-Agent
|
|
5
|
+
tags: [status, progress, quick]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
/cstatus {change-id}
|
|
12
|
+
/cstatus # Shows project status only (no change-id)
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## What It Does
|
|
16
|
+
|
|
17
|
+
Shows quick progress summary:
|
|
18
|
+
- **Project context** (from PROJECT_STATUS.yml if exists)
|
|
19
|
+
- Progress percentage with bar
|
|
20
|
+
- Current phase
|
|
21
|
+
- Time spent/remaining
|
|
22
|
+
- Quick stats
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Step 1: Show Project Context (v2.1.0)
|
|
27
|
+
|
|
28
|
+
```typescript
|
|
29
|
+
const projectStatusPath = 'PROJECT_STATUS.yml'
|
|
30
|
+
|
|
31
|
+
if (fileExists(projectStatusPath)) {
|
|
32
|
+
const projectStatus = parseYaml(Read(projectStatusPath))
|
|
33
|
+
|
|
34
|
+
output(`
|
|
35
|
+
📊 Project Status
|
|
36
|
+
├─ Focus: ${projectStatus.current_focus?.description || 'Not set'}
|
|
37
|
+
├─ Active change: ${projectStatus.current_focus?.active_change || 'None'}
|
|
38
|
+
├─ Blockers: ${projectStatus.blockers?.length || 0}
|
|
39
|
+
├─ Infra: ${summarizeInfraStatus(projectStatus.infrastructure)}
|
|
40
|
+
└─ Updated: ${projectStatus.last_updated}
|
|
41
|
+
`)
|
|
42
|
+
|
|
43
|
+
// Show blockers if any
|
|
44
|
+
if (projectStatus.blockers?.length > 0) {
|
|
45
|
+
output(`
|
|
46
|
+
🚧 Active Blockers:
|
|
47
|
+
${projectStatus.blockers.map(b => ` - ${b.id}: ${b.description}`).join('\n')}
|
|
48
|
+
`)
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// If no change-id provided, stop here
|
|
53
|
+
if (!changeId) {
|
|
54
|
+
output(`
|
|
55
|
+
Commands:
|
|
56
|
+
→ Update project status: /pstatus
|
|
57
|
+
→ View change status: /cstatus {change-id}
|
|
58
|
+
`)
|
|
59
|
+
return
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Step 2: Show Change Status
|
|
66
|
+
|
|
67
|
+
```typescript
|
|
68
|
+
// Read change flags
|
|
69
|
+
const flagsPath = `openspec/changes/${changeId}/.claude/flags.json`
|
|
70
|
+
|
|
71
|
+
if (!fileExists(flagsPath)) {
|
|
72
|
+
return output(`❌ Change ${changeId} not found or not set up. Run /csetup ${changeId} first.`)
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
const flags = JSON.parse(Read(flagsPath))
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Output Format
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
📊 Project Status
|
|
82
|
+
├─ Focus: Building authentication system
|
|
83
|
+
├─ Active change: auth-system
|
|
84
|
+
├─ Blockers: 1
|
|
85
|
+
├─ Infra: DB ✅ | API ✅ | Tunnel ⏳
|
|
86
|
+
└─ Updated: 2025-11-30
|
|
87
|
+
|
|
88
|
+
🚧 Active Blockers:
|
|
89
|
+
- domain-config: Need domain for Cloudflare public routes
|
|
90
|
+
|
|
91
|
+
─────────────────────────────────────────
|
|
92
|
+
|
|
93
|
+
📦 CHANGE-{id}: {type} | {template}
|
|
94
|
+
|
|
95
|
+
Progress: [████████░░] 64% (7/11 phases)
|
|
96
|
+
|
|
97
|
+
Current Phase: #8 Refactor (test-debug)
|
|
98
|
+
├─ Started: 14:15 (15 minutes ago)
|
|
99
|
+
├─ Estimated: 20 minutes
|
|
100
|
+
└─ Status: in_progress
|
|
101
|
+
|
|
102
|
+
✅ Completed: 7 phases
|
|
103
|
+
🔄 In Progress: 1 phase
|
|
104
|
+
⏳ Remaining: 3 phases
|
|
105
|
+
|
|
106
|
+
⏱️ Time:
|
|
107
|
+
├─ Spent: 2h 55min (estimated: 3h 15min)
|
|
108
|
+
├─ Remaining: ~35 minutes
|
|
109
|
+
└─ Efficiency: 111% (ahead of estimate)
|
|
110
|
+
|
|
111
|
+
📈 Stats:
|
|
112
|
+
├─ Tests: 12 passed, 0 failed (75% coverage)
|
|
113
|
+
├─ Issues: 2 found, 2 fixed, 0 remaining
|
|
114
|
+
└─ Files: 4 created, 2 modified
|
|
115
|
+
|
|
116
|
+
🎯 Next Steps:
|
|
117
|
+
1. Complete refactoring (20 min)
|
|
118
|
+
2. Test coverage report (5 min)
|
|
119
|
+
3. Documentation (15 min)
|
|
120
|
+
|
|
121
|
+
Commands:
|
|
122
|
+
→ Update project status: /pstatus
|
|
123
|
+
→ Detailed view: /cview {change-id}
|
|
124
|
+
→ Continue dev: /cdev {change-id}
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## Helper: summarizeInfraStatus()
|
|
130
|
+
|
|
131
|
+
```typescript
|
|
132
|
+
function summarizeInfraStatus(infrastructure) {
|
|
133
|
+
if (!infrastructure) return 'Not configured'
|
|
134
|
+
|
|
135
|
+
return Object.entries(infrastructure)
|
|
136
|
+
.map(([service, info]) => {
|
|
137
|
+
const icon = info.status === 'healthy' ? '✅' :
|
|
138
|
+
info.status === 'degraded' ? '⚠️' :
|
|
139
|
+
info.status === 'down' ? '❌' :
|
|
140
|
+
info.status === 'waiting' ? '⏳' : '❓'
|
|
141
|
+
return `${service} ${icon}`
|
|
142
|
+
})
|
|
143
|
+
.join(' | ')
|
|
144
|
+
}
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Implementation Notes
|
|
150
|
+
|
|
151
|
+
1. **Always show project status first** (if PROJECT_STATUS.yml exists)
|
|
152
|
+
2. **Then show change status** (if change-id provided)
|
|
153
|
+
3. **Include /pstatus in commands** to encourage keeping status updated
|