@champpaba/claude-agent-kit 2.0.0 โ†’ 2.0.1

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 (84) hide show
  1. package/.claude/CHANGELOG-v1.1.1.md +259 -259
  2. package/.claude/CLAUDE.md +196 -31
  3. package/.claude/agents/01-integration.md +106 -552
  4. package/.claude/agents/02-uxui-frontend.md +188 -850
  5. package/.claude/agents/03-test-debug.md +152 -521
  6. package/.claude/agents/04-frontend.md +169 -549
  7. package/.claude/agents/05-backend.md +132 -661
  8. package/.claude/agents/06-database.md +149 -698
  9. package/.claude/agents/_shared/README.md +57 -0
  10. package/.claude/agents/_shared/agent-boundaries.md +64 -0
  11. package/.claude/agents/_shared/documentation-policy.md +47 -0
  12. package/.claude/agents/_shared/package-manager.md +59 -0
  13. package/.claude/agents/_shared/pre-work-checklist.md +57 -0
  14. package/.claude/commands/cdev.md +36 -61
  15. package/.claude/commands/csetup.md +15 -14
  16. package/.claude/commands/cstatus.md +60 -60
  17. package/.claude/commands/cview.md +364 -364
  18. package/.claude/commands/designsetup.md +1 -1
  19. package/.claude/commands/pageplan.md +53 -177
  20. package/.claude/contexts/design/accessibility.md +611 -611
  21. package/.claude/contexts/design/box-thinking.md +1 -1
  22. package/.claude/contexts/design/index.md +1 -1
  23. package/.claude/contexts/design/layout.md +400 -400
  24. package/.claude/contexts/design/responsive.md +551 -551
  25. package/.claude/contexts/design/shadows.md +522 -522
  26. package/.claude/contexts/design/typography.md +465 -465
  27. package/.claude/contexts/domain/README.md +164 -164
  28. package/.claude/contexts/patterns/agent-coordination.md +388 -388
  29. package/.claude/contexts/patterns/agent-discovery.md +2 -2
  30. package/.claude/contexts/patterns/animation-patterns.md +1 -1
  31. package/.claude/contexts/patterns/change-workflow.md +541 -538
  32. package/.claude/contexts/patterns/code-standards.md +10 -8
  33. package/.claude/contexts/patterns/development-principles.md +513 -513
  34. package/.claude/contexts/patterns/error-handling.md +478 -478
  35. package/.claude/contexts/patterns/error-recovery.md +365 -365
  36. package/.claude/contexts/patterns/frontend-component-strategy.md +1 -1
  37. package/.claude/contexts/patterns/logging.md +424 -424
  38. package/.claude/contexts/patterns/performance-optimization.md +1 -1
  39. package/.claude/contexts/patterns/task-breakdown.md +452 -452
  40. package/.claude/contexts/patterns/task-classification.md +523 -523
  41. package/.claude/contexts/patterns/tdd-classification.md +516 -516
  42. package/.claude/contexts/patterns/testing.md +413 -413
  43. package/.claude/contexts/patterns/ui-component-consistency.md +3 -3
  44. package/.claude/contexts/patterns/validation-framework.md +779 -776
  45. package/.claude/lib/README.md +4 -4
  46. package/.claude/lib/agent-executor.md +31 -40
  47. package/.claude/lib/agent-router.md +450 -572
  48. package/.claude/lib/context-loading-protocol.md +19 -36
  49. package/.claude/lib/detailed-guides/agent-system.md +43 -121
  50. package/.claude/lib/detailed-guides/taskmaster-analysis.md +1 -1
  51. package/.claude/lib/document-loader.md +22 -25
  52. package/.claude/lib/flags-updater.md +461 -469
  53. package/.claude/lib/tdd-classifier.md +345 -345
  54. package/.claude/lib/validation-gates.md +484 -484
  55. package/.claude/settings.local.json +42 -42
  56. package/.claude/templates/STYLE_GUIDE.template.md +1 -1
  57. package/.claude/templates/context-template.md +45 -45
  58. package/.claude/templates/design-context-template.md +1 -1
  59. package/.claude/templates/flags-template.json +42 -42
  60. package/.claude/templates/phases-sections/accessibility-test.md +17 -17
  61. package/.claude/templates/phases-sections/api-design.md +37 -37
  62. package/.claude/templates/phases-sections/backend-tests.md +16 -16
  63. package/.claude/templates/phases-sections/backend.md +37 -37
  64. package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
  65. package/.claude/templates/phases-sections/component-tests.md +17 -17
  66. package/.claude/templates/phases-sections/contract-backend.md +16 -16
  67. package/.claude/templates/phases-sections/contract-frontend.md +16 -16
  68. package/.claude/templates/phases-sections/database.md +35 -35
  69. package/.claude/templates/phases-sections/e2e-tests.md +16 -16
  70. package/.claude/templates/phases-sections/fix-implementation.md +17 -17
  71. package/.claude/templates/phases-sections/frontend-integration.md +18 -18
  72. package/.claude/templates/phases-sections/frontend-mockup.md +126 -123
  73. package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
  74. package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
  75. package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
  76. package/.claude/templates/phases-sections/refactor.md +16 -16
  77. package/.claude/templates/phases-sections/regression-tests.md +15 -15
  78. package/.claude/templates/phases-sections/responsive-test.md +16 -16
  79. package/.claude/templates/phases-sections/script-implementation.md +43 -43
  80. package/.claude/templates/phases-sections/test-coverage.md +16 -16
  81. package/.claude/templates/phases-sections/user-approval.md +14 -14
  82. package/LICENSE +21 -21
  83. package/README.md +511 -133
  84. package/package.json +1 -1
@@ -16,11 +16,11 @@ Used by `/csetup` to automatically determine which phases require TDD workflow
16
16
  **`flags-updater.md`** - Progress tracking protocol
17
17
  Ensures Main Claude updates flags.json after EVERY phase completion. Provides helper functions for extracting files, tasks, and calculating duration.
18
18
 
19
- **`agent-router.md`** - Mandatory agent routing rules
20
- Enforces strict agent boundaries. Main Claude MUST delegate implementation work to specialized agents. Includes work type detection patterns and self-check protocol.
19
+ **`agent-router.md`** - Agent routing rules
20
+ Defines agent boundaries. Main Claude delegates implementation work to specialized agents. Includes work type detection patterns and self-check protocol.
21
21
 
22
22
  **`validation-gates.md`** - Validation checkpoints
23
- Four validation gates that Main Claude MUST pass: before work, after agent responds, before reporting, and before phase start. Ensures quality and correctness at each step.
23
+ Four validation gates that Main Claude passes: before work, after agent responds, before reporting, and before phase start. Ensures quality and correctness at each step.
24
24
 
25
25
  **`task-analyzer.md`** - TaskMaster-style task analysis (v1.3.0)
26
26
  Used by `/csetup` to analyze tasks with 6 dimensions: complexity, dependencies, risk, research, subtasks, priority. Generates intelligent phases.md with time buffers and metadata.
@@ -65,7 +65,7 @@ Complete agent system guide. Covers 6 specialist agents, Main Claude's role, sel
65
65
 
66
66
  ---
67
67
 
68
- ## ๐Ÿšจ Important
68
+ ## ๐Ÿ“Œ Important
69
69
 
70
70
  These are **logic specifications** (not executable code). Main Claude reads these .md files as documentation and implements the logic when running `/cdev` and `/csetup` commands.
71
71
 
@@ -1,7 +1,7 @@
1
1
  # Agent Executor with Retry & Escalation
2
2
 
3
- > **Robust agent execution with automatic retry and error recovery**
4
- > **Version:** 1.4.0 (Incremental Testing Integration)
3
+ > **Resilient agent execution with automatic retry and error recovery**
4
+ > **Version:** 2.0.0 (Claude 4.5 Optimized)
5
5
 
6
6
  ---
7
7
 
@@ -136,35 +136,24 @@ What would you like to do?
136
136
 
137
137
  **Check agent response for required items:**
138
138
 
139
- **All agents (MANDATORY v1.8.0):**
140
- - "Best Practices Loaded" โ† **NEW: Must show which files were read**
141
- - "Pre-Implementation Validation Report"
142
- - "Ready to Implement โœ“"
139
+ WHY: Pre-work validation ensures agents loaded context before implementing. This prevents inconsistent output.
143
140
 
144
- **uxui-frontend:**
145
- - "Best Practices Loaded" (react, nextjs, tailwind, etc.)
146
- - "Design Foundation โœ“"
147
- - "Box Thinking Analysis โœ“"
148
- - "Component Search โœ“"
149
- - "Design Tokens Extracted โœ“"
141
+ **All agents:**
142
+ | Marker | Purpose |
143
+ |--------|---------|
144
+ | "Best Practices Loaded" | Shows which files were read |
145
+ | "Pre-Implementation Validation Report" | Analysis before coding |
146
+ | "Ready to Implement โœ“" | Confirms context loaded |
150
147
 
151
- **frontend:**
152
- - "Best Practices Loaded" (react, nextjs, typescript)
153
- - "API Contract Verified โœ“"
148
+ **Agent-specific markers:**
154
149
 
155
- **backend:**
156
- - "Best Practices Loaded" (express/fastapi, prisma, etc.)
157
- - "Patterns Loaded โœ“"
158
- - "Existing Endpoints Search โœ“"
159
- - "TDD Workflow" (if TDD required)
160
-
161
- **database:**
162
- - "Best Practices Loaded" (prisma/drizzle)
163
- - "Schema Analysis โœ“"
164
-
165
- **test-debug:**
166
- - "Best Practices Loaded" (vitest/jest/playwright)
167
- - "Test Infrastructure โœ“"
150
+ | Agent | Additional Markers |
151
+ |-------|-------------------|
152
+ | uxui-frontend | Design Foundation โœ“, Box Thinking โœ“, Component Search โœ“, Design Tokens โœ“ |
153
+ | frontend | API Contract Verified โœ“ |
154
+ | backend | Patterns Loaded โœ“, Existing Endpoints Search โœ“, TDD Workflow (if required) |
155
+ | database | Schema Analysis โœ“ |
156
+ | test-debug | Test Infrastructure โœ“ |
168
157
 
169
158
  **Validation Logic:**
170
159
  ```typescript
@@ -214,9 +203,11 @@ function validateBestPracticesLoaded(agentResponse: string): boolean {
214
203
 
215
204
  ---
216
205
 
217
- ## ๐Ÿงน Temp File Cleanup (v1.8.0)
206
+ ## ๐Ÿงน Temp File Cleanup
207
+
208
+ **After each phase completes, Main Claude cleans up non-code files:**
218
209
 
219
- **After each phase completes, Main Claude MUST cleanup non-code files:**
210
+ WHY: Only code/config files should remain. Reports go in response text or flags.json.
220
211
 
221
212
  ```typescript
222
213
  function cleanupTempFiles(changeDir: string) {
@@ -252,11 +243,10 @@ function cleanupTempFiles(changeDir: string) {
252
243
  cleanupTempFiles(`openspec/changes/${changeId}`)
253
244
  ```
254
245
 
255
- **Rule:** Only actual code/config files should remain. Reports go in response text or flags.json.
256
246
 
257
247
  ---
258
248
 
259
- ## ๐Ÿšจ Escalation
249
+ ## ๐Ÿ“ค Escalation
260
250
 
261
251
  **When max retries exceeded, give user options:**
262
252
 
@@ -289,21 +279,22 @@ Please choose an option.
289
279
  ### Pre-Work Rejection
290
280
 
291
281
  ```markdown
292
- โŒ Pre-Work Validation Failed
282
+ โš ๏ธ Pre-Work Validation Incomplete
293
283
 
294
284
  Agent: {agent-type}
295
285
  Phase: {phase-name}
296
286
 
297
- Missing required steps:
287
+ Missing steps:
298
288
  - {item-1}
299
289
  - {item-2}
300
290
  - {item-3}
301
291
 
302
- You MUST complete ALL mandatory steps before implementation.
292
+ Please complete these steps before implementation.
293
+ WHY: Pre-work ensures context is loaded for quality output.
303
294
 
304
- Refer to:
295
+ References:
305
296
  - .claude/contexts/patterns/validation-framework.md โ†’ {agent-type} section
306
- - .claude/agents/{agent-file}.md โ†’ MANDATORY PRE-WORK CHECKLIST
297
+ - .claude/agents/{agent-file}.md โ†’ Pre-Work Checklist
307
298
 
308
299
  Please provide a complete Pre-Implementation Validation Report.
309
300
  ```
@@ -396,9 +387,9 @@ This retry & escalation framework makes agent execution **robust and reliable**.
396
387
 
397
388
  ---
398
389
 
399
- # ๐Ÿ”„ Incremental Testing Execution (v1.4.0)
390
+ # ๐Ÿ”„ Incremental Testing Execution
400
391
 
401
- > **NEW:** Milestone-based execution with round-based retry and Main Claude intervention
392
+ > Milestone-based execution with round-based retry and Main Claude intervention
402
393
 
403
394
  ---
404
395
 
@@ -650,7 +641,7 @@ function generateHints(analysis: Analysis, milestone: Milestone): string[] {
650
641
 
651
642
  ### Agent Output Format
652
643
 
653
- Agent MUST respond in this format:
644
+ Agent responds in this format:
654
645
 
655
646
  ```markdown
656
647
  ## Milestone ${id} Results