@champpaba/claude-agent-kit 1.0.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/LICENSE +21 -0
- package/README.md +561 -0
- package/bin/cli.js +61 -0
- package/lib/init.js +52 -0
- package/lib/update.js +73 -0
- package/package.json +47 -0
- package/template/.claude/CHANGELOG-v1.1.1.md +259 -0
- package/template/.claude/CLAUDE.md +329 -0
- package/template/.claude/agents/01-integration.md +797 -0
- package/template/.claude/agents/02-uxui-frontend.md +899 -0
- package/template/.claude/agents/03-test-debug.md +759 -0
- package/template/.claude/agents/04-frontend.md +1099 -0
- package/template/.claude/agents/05-backend.md +1217 -0
- package/template/.claude/agents/06-database.md +969 -0
- package/template/.claude/commands/agentsetup.md +1464 -0
- package/template/.claude/commands/cdev.md +327 -0
- package/template/.claude/commands/csetup.md +447 -0
- package/template/.claude/commands/cstatus.md +60 -0
- package/template/.claude/commands/cview.md +364 -0
- package/template/.claude/commands/psetup.md +101 -0
- package/template/.claude/contexts/design/accessibility.md +611 -0
- package/template/.claude/contexts/design/box-thinking.md +553 -0
- package/template/.claude/contexts/design/color-theory.md +498 -0
- package/template/.claude/contexts/design/index.md +247 -0
- package/template/.claude/contexts/design/layout.md +400 -0
- package/template/.claude/contexts/design/responsive.md +551 -0
- package/template/.claude/contexts/design/shadows.md +522 -0
- package/template/.claude/contexts/design/spacing.md +428 -0
- package/template/.claude/contexts/design/typography.md +465 -0
- package/template/.claude/contexts/domain/README.md +164 -0
- package/template/.claude/contexts/patterns/agent-coordination.md +388 -0
- package/template/.claude/contexts/patterns/agent-discovery.md +182 -0
- package/template/.claude/contexts/patterns/change-workflow.md +538 -0
- package/template/.claude/contexts/patterns/code-standards.md +515 -0
- package/template/.claude/contexts/patterns/development-principles.md +513 -0
- package/template/.claude/contexts/patterns/error-handling.md +478 -0
- package/template/.claude/contexts/patterns/error-recovery.md +365 -0
- package/template/.claude/contexts/patterns/frontend-component-strategy.md +365 -0
- package/template/.claude/contexts/patterns/git-workflow.md +207 -0
- package/template/.claude/contexts/patterns/logging.md +424 -0
- package/template/.claude/contexts/patterns/task-breakdown.md +452 -0
- package/template/.claude/contexts/patterns/task-classification.md +523 -0
- package/template/.claude/contexts/patterns/tdd-classification.md +516 -0
- package/template/.claude/contexts/patterns/testing.md +413 -0
- package/template/.claude/contexts/patterns/ui-component-consistency.md +304 -0
- package/template/.claude/contexts/patterns/validation-framework.md +776 -0
- package/template/.claude/lib/README.md +39 -0
- package/template/.claude/lib/agent-executor.md +258 -0
- package/template/.claude/lib/agent-router.md +572 -0
- package/template/.claude/lib/flags-updater.md +469 -0
- package/template/.claude/lib/tdd-classifier.md +345 -0
- package/template/.claude/lib/validation-gates.md +484 -0
- package/template/.claude/settings.local.json +42 -0
- package/template/.claude/templates/context-template.md +45 -0
- package/template/.claude/templates/flags-template.json +42 -0
- package/template/.claude/templates/phase-templates.json +124 -0
- package/template/.claude/templates/phases-sections/accessibility-test.md +17 -0
- package/template/.claude/templates/phases-sections/api-design.md +37 -0
- package/template/.claude/templates/phases-sections/backend-tests.md +16 -0
- package/template/.claude/templates/phases-sections/backend.md +37 -0
- package/template/.claude/templates/phases-sections/business-logic-validation.md +16 -0
- package/template/.claude/templates/phases-sections/component-tests.md +17 -0
- package/template/.claude/templates/phases-sections/contract-backend.md +16 -0
- package/template/.claude/templates/phases-sections/contract-frontend.md +16 -0
- package/template/.claude/templates/phases-sections/database.md +35 -0
- package/template/.claude/templates/phases-sections/documentation.md +17 -0
- package/template/.claude/templates/phases-sections/e2e-tests.md +16 -0
- package/template/.claude/templates/phases-sections/fix-implementation.md +17 -0
- package/template/.claude/templates/phases-sections/frontend-integration.md +18 -0
- package/template/.claude/templates/phases-sections/frontend-mockup.md +123 -0
- package/template/.claude/templates/phases-sections/manual-flow-test.md +15 -0
- package/template/.claude/templates/phases-sections/manual-ux-test.md +16 -0
- package/template/.claude/templates/phases-sections/refactor-implementation.md +17 -0
- package/template/.claude/templates/phases-sections/refactor.md +16 -0
- package/template/.claude/templates/phases-sections/regression-tests.md +15 -0
- package/template/.claude/templates/phases-sections/report.md +16 -0
- package/template/.claude/templates/phases-sections/responsive-test.md +16 -0
- package/template/.claude/templates/phases-sections/script-implementation.md +43 -0
- package/template/.claude/templates/phases-sections/test-coverage.md +16 -0
- package/template/.claude/templates/phases-sections/user-approval.md +14 -0
|
@@ -0,0 +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
|
|
@@ -0,0 +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
|
|
@@ -0,0 +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
|