@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.
Files changed (80) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +561 -0
  3. package/bin/cli.js +61 -0
  4. package/lib/init.js +52 -0
  5. package/lib/update.js +73 -0
  6. package/package.json +47 -0
  7. package/template/.claude/CHANGELOG-v1.1.1.md +259 -0
  8. package/template/.claude/CLAUDE.md +329 -0
  9. package/template/.claude/agents/01-integration.md +797 -0
  10. package/template/.claude/agents/02-uxui-frontend.md +899 -0
  11. package/template/.claude/agents/03-test-debug.md +759 -0
  12. package/template/.claude/agents/04-frontend.md +1099 -0
  13. package/template/.claude/agents/05-backend.md +1217 -0
  14. package/template/.claude/agents/06-database.md +969 -0
  15. package/template/.claude/commands/agentsetup.md +1464 -0
  16. package/template/.claude/commands/cdev.md +327 -0
  17. package/template/.claude/commands/csetup.md +447 -0
  18. package/template/.claude/commands/cstatus.md +60 -0
  19. package/template/.claude/commands/cview.md +364 -0
  20. package/template/.claude/commands/psetup.md +101 -0
  21. package/template/.claude/contexts/design/accessibility.md +611 -0
  22. package/template/.claude/contexts/design/box-thinking.md +553 -0
  23. package/template/.claude/contexts/design/color-theory.md +498 -0
  24. package/template/.claude/contexts/design/index.md +247 -0
  25. package/template/.claude/contexts/design/layout.md +400 -0
  26. package/template/.claude/contexts/design/responsive.md +551 -0
  27. package/template/.claude/contexts/design/shadows.md +522 -0
  28. package/template/.claude/contexts/design/spacing.md +428 -0
  29. package/template/.claude/contexts/design/typography.md +465 -0
  30. package/template/.claude/contexts/domain/README.md +164 -0
  31. package/template/.claude/contexts/patterns/agent-coordination.md +388 -0
  32. package/template/.claude/contexts/patterns/agent-discovery.md +182 -0
  33. package/template/.claude/contexts/patterns/change-workflow.md +538 -0
  34. package/template/.claude/contexts/patterns/code-standards.md +515 -0
  35. package/template/.claude/contexts/patterns/development-principles.md +513 -0
  36. package/template/.claude/contexts/patterns/error-handling.md +478 -0
  37. package/template/.claude/contexts/patterns/error-recovery.md +365 -0
  38. package/template/.claude/contexts/patterns/frontend-component-strategy.md +365 -0
  39. package/template/.claude/contexts/patterns/git-workflow.md +207 -0
  40. package/template/.claude/contexts/patterns/logging.md +424 -0
  41. package/template/.claude/contexts/patterns/task-breakdown.md +452 -0
  42. package/template/.claude/contexts/patterns/task-classification.md +523 -0
  43. package/template/.claude/contexts/patterns/tdd-classification.md +516 -0
  44. package/template/.claude/contexts/patterns/testing.md +413 -0
  45. package/template/.claude/contexts/patterns/ui-component-consistency.md +304 -0
  46. package/template/.claude/contexts/patterns/validation-framework.md +776 -0
  47. package/template/.claude/lib/README.md +39 -0
  48. package/template/.claude/lib/agent-executor.md +258 -0
  49. package/template/.claude/lib/agent-router.md +572 -0
  50. package/template/.claude/lib/flags-updater.md +469 -0
  51. package/template/.claude/lib/tdd-classifier.md +345 -0
  52. package/template/.claude/lib/validation-gates.md +484 -0
  53. package/template/.claude/settings.local.json +42 -0
  54. package/template/.claude/templates/context-template.md +45 -0
  55. package/template/.claude/templates/flags-template.json +42 -0
  56. package/template/.claude/templates/phase-templates.json +124 -0
  57. package/template/.claude/templates/phases-sections/accessibility-test.md +17 -0
  58. package/template/.claude/templates/phases-sections/api-design.md +37 -0
  59. package/template/.claude/templates/phases-sections/backend-tests.md +16 -0
  60. package/template/.claude/templates/phases-sections/backend.md +37 -0
  61. package/template/.claude/templates/phases-sections/business-logic-validation.md +16 -0
  62. package/template/.claude/templates/phases-sections/component-tests.md +17 -0
  63. package/template/.claude/templates/phases-sections/contract-backend.md +16 -0
  64. package/template/.claude/templates/phases-sections/contract-frontend.md +16 -0
  65. package/template/.claude/templates/phases-sections/database.md +35 -0
  66. package/template/.claude/templates/phases-sections/documentation.md +17 -0
  67. package/template/.claude/templates/phases-sections/e2e-tests.md +16 -0
  68. package/template/.claude/templates/phases-sections/fix-implementation.md +17 -0
  69. package/template/.claude/templates/phases-sections/frontend-integration.md +18 -0
  70. package/template/.claude/templates/phases-sections/frontend-mockup.md +123 -0
  71. package/template/.claude/templates/phases-sections/manual-flow-test.md +15 -0
  72. package/template/.claude/templates/phases-sections/manual-ux-test.md +16 -0
  73. package/template/.claude/templates/phases-sections/refactor-implementation.md +17 -0
  74. package/template/.claude/templates/phases-sections/refactor.md +16 -0
  75. package/template/.claude/templates/phases-sections/regression-tests.md +15 -0
  76. package/template/.claude/templates/phases-sections/report.md +16 -0
  77. package/template/.claude/templates/phases-sections/responsive-test.md +16 -0
  78. package/template/.claude/templates/phases-sections/script-implementation.md +43 -0
  79. package/template/.claude/templates/phases-sections/test-coverage.md +16 -0
  80. 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