@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,43 +1,43 @@
|
|
|
1
|
-
# Phase: Script Implementation
|
|
2
|
-
|
|
3
|
-
**Agent:** `backend` (reused for scripts)
|
|
4
|
-
**Metadata:** `| TDD | script | cli |`
|
|
5
|
-
**Estimated time:** 60 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
|
|
9
|
-
Implement CLI tool or background script with proper error handling, logging, and user-friendly output.
|
|
10
|
-
|
|
11
|
-
## 📚 Context Loading
|
|
12
|
-
|
|
13
|
-
- ✅ `tech-stack.md` → Python/Node.js version, package manager
|
|
14
|
-
- ✅ `testing.md` (TDD: RED-GREEN-REFACTOR)
|
|
15
|
-
- ✅ `error-handling.md` → Network/file errors
|
|
16
|
-
- ✅ `logging.md` → CLI logging patterns
|
|
17
|
-
- ❌ Skip: API-specific contexts
|
|
18
|
-
|
|
19
|
-
## 📝 Follow TDD
|
|
20
|
-
|
|
21
|
-
This is a **CLI script**, not an API.
|
|
22
|
-
|
|
23
|
-
Focus on:
|
|
24
|
-
- CLI argument parsing (Click/argparse/yargs)
|
|
25
|
-
- Progress indicators (tqdm/ora)
|
|
26
|
-
- Exit codes (0 = success, 1 = error)
|
|
27
|
-
- User-friendly error messages
|
|
28
|
-
- File I/O operations
|
|
29
|
-
- Network requests (if applicable)
|
|
30
|
-
|
|
31
|
-
## ✅ Success Criteria
|
|
32
|
-
|
|
33
|
-
- [ ] Script functionality implemented
|
|
34
|
-
- [ ] CLI arguments working
|
|
35
|
-
- [ ] Progress indicators shown
|
|
36
|
-
- [ ] Error handling implemented
|
|
37
|
-
- [ ] Tests pass (≥80% coverage)
|
|
38
|
-
|
|
39
|
-
## 📤 Output
|
|
40
|
-
|
|
41
|
-
- Script files
|
|
42
|
-
- Test files
|
|
43
|
-
- Update flags.json
|
|
1
|
+
# Phase: Script Implementation
|
|
2
|
+
|
|
3
|
+
**Agent:** `backend` (reused for scripts)
|
|
4
|
+
**Metadata:** `| TDD | script | cli |`
|
|
5
|
+
**Estimated time:** 60 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
|
|
9
|
+
Implement CLI tool or background script with proper error handling, logging, and user-friendly output.
|
|
10
|
+
|
|
11
|
+
## 📚 Context Loading
|
|
12
|
+
|
|
13
|
+
- ✅ `tech-stack.md` → Python/Node.js version, package manager
|
|
14
|
+
- ✅ `testing.md` (TDD: RED-GREEN-REFACTOR)
|
|
15
|
+
- ✅ `error-handling.md` → Network/file errors
|
|
16
|
+
- ✅ `logging.md` → CLI logging patterns
|
|
17
|
+
- ❌ Skip: API-specific contexts
|
|
18
|
+
|
|
19
|
+
## 📝 Follow TDD
|
|
20
|
+
|
|
21
|
+
This is a **CLI script**, not an API.
|
|
22
|
+
|
|
23
|
+
Focus on:
|
|
24
|
+
- CLI argument parsing (Click/argparse/yargs)
|
|
25
|
+
- Progress indicators (tqdm/ora)
|
|
26
|
+
- Exit codes (0 = success, 1 = error)
|
|
27
|
+
- User-friendly error messages
|
|
28
|
+
- File I/O operations
|
|
29
|
+
- Network requests (if applicable)
|
|
30
|
+
|
|
31
|
+
## ✅ Success Criteria
|
|
32
|
+
|
|
33
|
+
- [ ] Script functionality implemented
|
|
34
|
+
- [ ] CLI arguments working
|
|
35
|
+
- [ ] Progress indicators shown
|
|
36
|
+
- [ ] Error handling implemented
|
|
37
|
+
- [ ] Tests pass (≥80% coverage)
|
|
38
|
+
|
|
39
|
+
## 📤 Output
|
|
40
|
+
|
|
41
|
+
- Script files
|
|
42
|
+
- Test files
|
|
43
|
+
- Update flags.json
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
# Phase: Test Coverage Report
|
|
2
|
-
|
|
3
|
-
**Agent:** `test-debug`
|
|
4
|
-
**Metadata:** `| report |`
|
|
5
|
-
**Estimated time:** 5 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
Generate final test coverage report.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] Coverage report generated
|
|
12
|
-
- [ ] Coverage ≥ target
|
|
13
|
-
|
|
14
|
-
## 📤 Output
|
|
15
|
-
- Coverage report
|
|
16
|
-
- Update flags.json
|
|
1
|
+
# Phase: Test Coverage Report
|
|
2
|
+
|
|
3
|
+
**Agent:** `test-debug`
|
|
4
|
+
**Metadata:** `| report |`
|
|
5
|
+
**Estimated time:** 5 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
Generate final test coverage report.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] Coverage report generated
|
|
12
|
+
- [ ] Coverage ≥ target
|
|
13
|
+
|
|
14
|
+
## 📤 Output
|
|
15
|
+
- Coverage report
|
|
16
|
+
- Update flags.json
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
# Phase: User Approval
|
|
2
|
-
|
|
3
|
-
**Agent:** `user`
|
|
4
|
-
**Metadata:** `| approval-gate |`
|
|
5
|
-
**Estimated time:** 5 minutes
|
|
6
|
-
|
|
7
|
-
## 🎯 Purpose
|
|
8
|
-
User reviews and approves work before backend development starts.
|
|
9
|
-
|
|
10
|
-
## ✅ Success Criteria
|
|
11
|
-
- [ ] User approves mockup/implementation
|
|
12
|
-
|
|
13
|
-
## 📤 Output
|
|
14
|
-
- Update flags.json with approval status
|
|
1
|
+
# Phase: User Approval
|
|
2
|
+
|
|
3
|
+
**Agent:** `user`
|
|
4
|
+
**Metadata:** `| approval-gate |`
|
|
5
|
+
**Estimated time:** 5 minutes
|
|
6
|
+
|
|
7
|
+
## 🎯 Purpose
|
|
8
|
+
User reviews and approves work before backend development starts.
|
|
9
|
+
|
|
10
|
+
## ✅ Success Criteria
|
|
11
|
+
- [ ] User approves mockup/implementation
|
|
12
|
+
|
|
13
|
+
## 📤 Output
|
|
14
|
+
- Update flags.json with approval status
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 ChampPABA
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 ChampPABA
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# PROJECT_STATUS.yml
|
|
2
|
+
# Cross-session context for Claude - update after significant milestones
|
|
3
|
+
# Optional: Remove this file if your project doesn't need cross-session tracking
|
|
4
|
+
#
|
|
5
|
+
# WHY this file exists:
|
|
6
|
+
# - New Claude sessions lose context about infrastructure state, blockers, and priorities
|
|
7
|
+
# - Reading multiple files (README, archived proposals, tasks.md) wastes tokens
|
|
8
|
+
# - This single file provides quick context snapshot for AI sessions
|
|
9
|
+
|
|
10
|
+
last_updated: "YYYY-MM-DD"
|
|
11
|
+
|
|
12
|
+
# Optional settings
|
|
13
|
+
_config:
|
|
14
|
+
stale_warning_days: 7 # Suggest /pstatus review if older than this
|
|
15
|
+
|
|
16
|
+
# -------------------------------------------------------------------
|
|
17
|
+
# CURRENT FOCUS
|
|
18
|
+
# What phase is the project in? What's actively being worked on?
|
|
19
|
+
# -------------------------------------------------------------------
|
|
20
|
+
current_focus:
|
|
21
|
+
description: "Brief description of current project phase"
|
|
22
|
+
active_change: null # change-id if OpenSpec change in progress, null if between changes
|
|
23
|
+
|
|
24
|
+
# -------------------------------------------------------------------
|
|
25
|
+
# COMPLETED CHANGES
|
|
26
|
+
# Recently shipped work - helps Claude understand what's already done
|
|
27
|
+
# -------------------------------------------------------------------
|
|
28
|
+
completed_changes: []
|
|
29
|
+
# Example:
|
|
30
|
+
# - id: auth-system
|
|
31
|
+
# date: "2025-11-30"
|
|
32
|
+
# summary: "Login/logout, JWT tokens, protected routes"
|
|
33
|
+
# - id: infrastructure-cicd
|
|
34
|
+
# date: "2025-11-28"
|
|
35
|
+
# summary: "Docker, CI/CD pipeline, Cloudflare Tunnel"
|
|
36
|
+
|
|
37
|
+
# -------------------------------------------------------------------
|
|
38
|
+
# INFRASTRUCTURE STATUS
|
|
39
|
+
# Current state of services - helps Claude understand what's running
|
|
40
|
+
# -------------------------------------------------------------------
|
|
41
|
+
infrastructure: {}
|
|
42
|
+
# Example structure (customize for your project):
|
|
43
|
+
#
|
|
44
|
+
# database:
|
|
45
|
+
# status: healthy # healthy | degraded | down | not_setup
|
|
46
|
+
# notes: "PostgreSQL, 4 tables deployed"
|
|
47
|
+
#
|
|
48
|
+
# api:
|
|
49
|
+
# status: healthy
|
|
50
|
+
# notes: "6 endpoints, running on port 3000"
|
|
51
|
+
#
|
|
52
|
+
# cloudflare_tunnel:
|
|
53
|
+
# status: running
|
|
54
|
+
# waiting_for: domain # null if fully operational
|
|
55
|
+
# notes: "Tunnel active, pending domain configuration"
|
|
56
|
+
#
|
|
57
|
+
# Status values: healthy, degraded, down, not_setup, waiting
|
|
58
|
+
|
|
59
|
+
# -------------------------------------------------------------------
|
|
60
|
+
# BLOCKERS
|
|
61
|
+
# External dependencies blocking progress
|
|
62
|
+
# Claude will avoid suggesting work that's blocked
|
|
63
|
+
# -------------------------------------------------------------------
|
|
64
|
+
blockers: []
|
|
65
|
+
# Example:
|
|
66
|
+
# - id: domain-config
|
|
67
|
+
# description: "Need domain for Cloudflare public routes"
|
|
68
|
+
# blocks: [production-launch, ssl-setup]
|
|
69
|
+
#
|
|
70
|
+
# - id: stripe-api-key
|
|
71
|
+
# description: "Waiting for Stripe test API key from finance team"
|
|
72
|
+
# blocks: [payment-integration]
|
|
73
|
+
|
|
74
|
+
# -------------------------------------------------------------------
|
|
75
|
+
# NEXT PRIORITIES
|
|
76
|
+
# What should be worked on next (with reasoning)
|
|
77
|
+
# Helps Claude suggest appropriate next steps
|
|
78
|
+
# -------------------------------------------------------------------
|
|
79
|
+
next_priorities: []
|
|
80
|
+
# Example:
|
|
81
|
+
# - id: payment-integration
|
|
82
|
+
# reason: "Revenue blocker - needed before launch"
|
|
83
|
+
#
|
|
84
|
+
# - id: user-profile
|
|
85
|
+
# reason: "Dependency for RIASEC save feature"
|
|
86
|
+
|
|
87
|
+
# -------------------------------------------------------------------
|
|
88
|
+
# NOTES
|
|
89
|
+
# Free-form context that doesn't fit above
|
|
90
|
+
# -------------------------------------------------------------------
|
|
91
|
+
notes: |
|
|
92
|
+
Add any additional context here.
|
|
93
|
+
Examples:
|
|
94
|
+
- Dev server running on localhost:3000
|
|
95
|
+
- Test with: curl http://localhost:3000/health
|
|
96
|
+
- Staging environment: https://staging.example.com
|
|
97
|
+
|
|
98
|
+
# -------------------------------------------------------------------
|
|
99
|
+
# REFERENCES (optional)
|
|
100
|
+
# Quick links to important project files
|
|
101
|
+
# -------------------------------------------------------------------
|
|
102
|
+
references:
|
|
103
|
+
# roadmap: "docs/proposal_list.md"
|
|
104
|
+
# architecture: "openspec/specs/architecture.md"
|
|
105
|
+
# style_guide: "design-system/STYLE_GUIDE.md"
|