@champpaba/claude-agent-kit 2.7.0 → 2.8.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 (44) hide show
  1. package/.claude/CLAUDE.md +49 -0
  2. package/.claude/commands/csetup.md +364 -38
  3. package/.claude/commands/cview.md +364 -364
  4. package/.claude/contexts/design/accessibility.md +611 -611
  5. package/.claude/contexts/design/layout.md +400 -400
  6. package/.claude/contexts/design/responsive.md +551 -551
  7. package/.claude/contexts/design/shadows.md +522 -522
  8. package/.claude/contexts/design/typography.md +465 -465
  9. package/.claude/contexts/domain/README.md +164 -164
  10. package/.claude/contexts/patterns/agent-coordination.md +388 -388
  11. package/.claude/contexts/patterns/development-principles.md +513 -513
  12. package/.claude/contexts/patterns/error-handling.md +478 -478
  13. package/.claude/contexts/patterns/logging.md +424 -424
  14. package/.claude/contexts/patterns/tdd-classification.md +516 -516
  15. package/.claude/contexts/patterns/testing.md +413 -413
  16. package/.claude/lib/tdd-classifier.md +345 -345
  17. package/.claude/lib/validation-gates.md +484 -484
  18. package/.claude/settings.local.json +42 -42
  19. package/.claude/templates/context-template.md +45 -45
  20. package/.claude/templates/flags-template.json +42 -42
  21. package/.claude/templates/phases-sections/accessibility-test.md +17 -17
  22. package/.claude/templates/phases-sections/api-design.md +37 -37
  23. package/.claude/templates/phases-sections/backend-tests.md +16 -16
  24. package/.claude/templates/phases-sections/backend.md +37 -37
  25. package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
  26. package/.claude/templates/phases-sections/component-tests.md +17 -17
  27. package/.claude/templates/phases-sections/contract-backend.md +16 -16
  28. package/.claude/templates/phases-sections/contract-frontend.md +16 -16
  29. package/.claude/templates/phases-sections/database.md +35 -35
  30. package/.claude/templates/phases-sections/e2e-tests.md +16 -16
  31. package/.claude/templates/phases-sections/fix-implementation.md +17 -17
  32. package/.claude/templates/phases-sections/frontend-integration.md +18 -18
  33. package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
  34. package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
  35. package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
  36. package/.claude/templates/phases-sections/refactor.md +16 -16
  37. package/.claude/templates/phases-sections/regression-tests.md +15 -15
  38. package/.claude/templates/phases-sections/responsive-test.md +16 -16
  39. package/.claude/templates/phases-sections/script-implementation.md +43 -43
  40. package/.claude/templates/phases-sections/test-coverage.md +16 -16
  41. package/.claude/templates/phases-sections/user-approval.md +14 -14
  42. package/LICENSE +21 -21
  43. package/README.md +25 -0
  44. package/package.json +8 -4
@@ -1,35 +1,35 @@
1
- # Phase: Database Schema
2
-
3
- **Agent:** `database`
4
- **Metadata:** `| prisma | migration |`
5
- **Estimated time:** 30 minutes
6
-
7
- ## 🎯 Purpose
8
-
9
- Design database schema, create migrations, add indexes for performance.
10
-
11
- ## 📚 Context Loading
12
-
13
- - ✅ `tech-stack.md` → Database ORM (Prisma, SQLAlchemy, etc.)
14
- - ✅ `../proposal.md` → Data requirements
15
- - ✅ Best practices for ORM
16
-
17
- ## 📝 Tasks
18
-
19
- 1. Design Prisma/SQLAlchemy schema
20
- 2. Create migration
21
- 3. Add indexes for frequently queried fields
22
- 4. Add foreign keys and constraints
23
-
24
- ## ✅ Success Criteria
25
-
26
- - [ ] Schema designed and created
27
- - [ ] Migration created and applied
28
- - [ ] Indexes added for performance
29
- - [ ] No migration conflicts
30
-
31
- ## 📤 Output
32
-
33
- - Schema file (schema.prisma / models.py)
34
- - Migration files
35
- - Update flags.json
1
+ # Phase: Database Schema
2
+
3
+ **Agent:** `database`
4
+ **Metadata:** `| prisma | migration |`
5
+ **Estimated time:** 30 minutes
6
+
7
+ ## 🎯 Purpose
8
+
9
+ Design database schema, create migrations, add indexes for performance.
10
+
11
+ ## 📚 Context Loading
12
+
13
+ - ✅ `tech-stack.md` → Database ORM (Prisma, SQLAlchemy, etc.)
14
+ - ✅ `../proposal.md` → Data requirements
15
+ - ✅ Best practices for ORM
16
+
17
+ ## 📝 Tasks
18
+
19
+ 1. Design Prisma/SQLAlchemy schema
20
+ 2. Create migration
21
+ 3. Add indexes for frequently queried fields
22
+ 4. Add foreign keys and constraints
23
+
24
+ ## ✅ Success Criteria
25
+
26
+ - [ ] Schema designed and created
27
+ - [ ] Migration created and applied
28
+ - [ ] Indexes added for performance
29
+ - [ ] No migration conflicts
30
+
31
+ ## 📤 Output
32
+
33
+ - Schema file (schema.prisma / models.py)
34
+ - Migration files
35
+ - Update flags.json
@@ -1,16 +1,16 @@
1
- # Phase: E2E Tests
2
-
3
- **Agent:** `test-debug`
4
- **Metadata:** `| e2e | playwright |`
5
- **Estimated time:** 30 minutes
6
-
7
- ## 🎯 Purpose
8
- End-to-end testing of complete user journeys.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] E2E tests pass
12
- - [ ] Complete user journey tested
13
-
14
- ## 📤 Output
15
- - E2E test files
16
- - Update flags.json
1
+ # Phase: E2E Tests
2
+
3
+ **Agent:** `test-debug`
4
+ **Metadata:** `| e2e | playwright |`
5
+ **Estimated time:** 30 minutes
6
+
7
+ ## 🎯 Purpose
8
+ End-to-end testing of complete user journeys.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] E2E tests pass
12
+ - [ ] Complete user journey tested
13
+
14
+ ## 📤 Output
15
+ - E2E test files
16
+ - Update flags.json
@@ -1,17 +1,17 @@
1
- # Phase: Fix Implementation
2
-
3
- **Agent:** (varies based on bug location)
4
- **Metadata:** `| bug-fix |`
5
- **Estimated time:** 30 minutes
6
-
7
- ## 🎯 Purpose
8
- Fix bug and restore intended functionality.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] Bug fixed
12
- - [ ] Tests added to prevent regression
13
-
14
- ## 📤 Output
15
- - Fixed code
16
- - Tests
17
- - Update flags.json
1
+ # Phase: Fix Implementation
2
+
3
+ **Agent:** (varies based on bug location)
4
+ **Metadata:** `| bug-fix |`
5
+ **Estimated time:** 30 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Fix bug and restore intended functionality.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] Bug fixed
12
+ - [ ] Tests added to prevent regression
13
+
14
+ ## 📤 Output
15
+ - Fixed code
16
+ - Tests
17
+ - Update flags.json
@@ -1,18 +1,18 @@
1
- # Phase: Frontend Integration
2
-
3
- **Agent:** `frontend`
4
- **Metadata:** `| api-work | TDD |`
5
- **Estimated time:** 60 minutes
6
-
7
- ## 🎯 Purpose
8
- Replace mockup data with real API calls using TanStack Query.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] Mockup replaced with real API
12
- - [ ] Loading states working
13
- - [ ] Error handling implemented
14
-
15
- ## 📤 Output
16
- - Updated components
17
- - Hooks for API calls
18
- - Update flags.json
1
+ # Phase: Frontend Integration
2
+
3
+ **Agent:** `frontend`
4
+ **Metadata:** `| api-work | TDD |`
5
+ **Estimated time:** 60 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Replace mockup data with real API calls using TanStack Query.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] Mockup replaced with real API
12
+ - [ ] Loading states working
13
+ - [ ] Error handling implemented
14
+
15
+ ## 📤 Output
16
+ - Updated components
17
+ - Hooks for API calls
18
+ - Update flags.json
@@ -1,15 +1,15 @@
1
- # Phase: Manual Flow Test
2
-
3
- **Agent:** `user`
4
- **Metadata:** `| manual-test | flow |`
5
- **Estimated time:** 20 minutes
6
-
7
- ## 🎯 Purpose
8
- Manual testing of complete data flow (frontend → backend → database).
9
-
10
- ## ✅ Success Criteria
11
- - [ ] Complete flow works
12
- - [ ] Edge cases handled
13
-
14
- ## 📤 Output
15
- - Update flags.json with results
1
+ # Phase: Manual Flow Test
2
+
3
+ **Agent:** `user`
4
+ **Metadata:** `| manual-test | flow |`
5
+ **Estimated time:** 20 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Manual testing of complete data flow (frontend → backend → database).
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] Complete flow works
12
+ - [ ] Edge cases handled
13
+
14
+ ## 📤 Output
15
+ - Update flags.json with results
@@ -1,16 +1,16 @@
1
- # Phase: Manual UX Test
2
-
3
- **Agent:** `user`
4
- **Metadata:** `| manual-test | ux |`
5
- **Estimated time:** 15 minutes
6
-
7
- ## 🎯 Purpose
8
- Manual testing of UX, visual consistency, and responsive design.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] Visual consistency verified
12
- - [ ] Responsive design tested (3 breakpoints)
13
- - [ ] User journey works smoothly
14
-
15
- ## 📤 Output
16
- - Update flags.json with issues found/fixed
1
+ # Phase: Manual UX Test
2
+
3
+ **Agent:** `user`
4
+ **Metadata:** `| manual-test | ux |`
5
+ **Estimated time:** 15 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Manual testing of UX, visual consistency, and responsive design.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] Visual consistency verified
12
+ - [ ] Responsive design tested (3 breakpoints)
13
+ - [ ] User journey works smoothly
14
+
15
+ ## 📤 Output
16
+ - Update flags.json with issues found/fixed
@@ -1,17 +1,17 @@
1
- # Phase: Refactor Implementation
2
-
3
- **Agent:** `test-debug`
4
- **Metadata:** `| refactor |`
5
- **Estimated time:** 60 minutes
6
-
7
- ## 🎯 Purpose
8
- Refactor code to improve quality.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] Code improved
12
- - [ ] All tests pass
13
- - [ ] No functionality changes
14
-
15
- ## 📤 Output
16
- - Refactored code
17
- - Update flags.json
1
+ # Phase: Refactor Implementation
2
+
3
+ **Agent:** `test-debug`
4
+ **Metadata:** `| refactor |`
5
+ **Estimated time:** 60 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Refactor code to improve quality.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] Code improved
12
+ - [ ] All tests pass
13
+ - [ ] No functionality changes
14
+
15
+ ## 📤 Output
16
+ - Refactored code
17
+ - Update flags.json
@@ -1,16 +1,16 @@
1
- # Phase: Refactor
2
-
3
- **Agent:** `test-debug`
4
- **Metadata:** `| refactor |`
5
- **Estimated time:** 20 minutes
6
-
7
- ## 🎯 Purpose
8
- Improve code quality without changing functionality.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] Code refactored
12
- - [ ] All tests still pass
13
-
14
- ## 📤 Output
15
- - Refactored code
16
- - Update flags.json
1
+ # Phase: Refactor
2
+
3
+ **Agent:** `test-debug`
4
+ **Metadata:** `| refactor |`
5
+ **Estimated time:** 20 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Improve code quality without changing functionality.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] Code refactored
12
+ - [ ] All tests still pass
13
+
14
+ ## 📤 Output
15
+ - Refactored code
16
+ - Update flags.json
@@ -1,15 +1,15 @@
1
- # Phase: Regression Tests
2
-
3
- **Agent:** `test-debug`
4
- **Metadata:** `| automated | regression |`
5
- **Estimated time:** 10 minutes
6
-
7
- ## 🎯 Purpose
8
- Ensure refactoring didn't break anything.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] All regression tests pass
12
-
13
- ## 📤 Output
14
- - Test report
15
- - Update flags.json
1
+ # Phase: Regression Tests
2
+
3
+ **Agent:** `test-debug`
4
+ **Metadata:** `| automated | regression |`
5
+ **Estimated time:** 10 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Ensure refactoring didn't break anything.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] All regression tests pass
12
+
13
+ ## 📤 Output
14
+ - Test report
15
+ - Update flags.json
@@ -1,16 +1,16 @@
1
- # Phase: Responsive Test
2
-
3
- **Agent:** `user`
4
- **Metadata:** `| manual-test | responsive |`
5
- **Estimated time:** 15 minutes
6
-
7
- ## 🎯 Purpose
8
- Manual testing of responsive design across breakpoints.
9
-
10
- ## ✅ Success Criteria
11
- - [ ] Desktop layout works
12
- - [ ] Tablet layout works
13
- - [ ] Mobile layout works
14
-
15
- ## 📤 Output
16
- - Update flags.json with test results
1
+ # Phase: Responsive Test
2
+
3
+ **Agent:** `user`
4
+ **Metadata:** `| manual-test | responsive |`
5
+ **Estimated time:** 15 minutes
6
+
7
+ ## 🎯 Purpose
8
+ Manual testing of responsive design across breakpoints.
9
+
10
+ ## ✅ Success Criteria
11
+ - [ ] Desktop layout works
12
+ - [ ] Tablet layout works
13
+ - [ ] Mobile layout works
14
+
15
+ ## 📤 Output
16
+ - Update flags.json with test results
@@ -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.
package/README.md CHANGED
@@ -30,6 +30,7 @@ cak init
30
30
 
31
31
  ## Features
32
32
 
33
+ - **Critical Flow Injection (v2.8.0)** - Non-negotiable security items auto-injected for auth, payment, healthcare, fintech
33
34
  - **UX-Tester Agent (v2.7.0)** - Persona-based UX testing with weighted conversion prediction
34
35
  - **Smart Topic Query (v2.5.0)** - Cross-library integration detection + risk summary
35
36
  - **Adaptive Depth Research (v2.4.0)** - Dynamic research layers (0-10+) based on change complexity
@@ -38,6 +39,30 @@ cak init
38
39
  - **Cross-session Context** - `PROJECT_STATUS.yml` maintains state across sessions
39
40
  - **Design System v2.1** - YAML-based extraction with single data.yaml output
40
41
 
42
+ ## Critical Flow Injection (v2.8.0)
43
+
44
+ ```
45
+ Problem: Research is flexible, but security items are non-negotiable
46
+ e.g., Password hashing, PCI-DSS, HIPAA compliance
47
+
48
+ Solution: Auto-inject critical items based on change analysis
49
+
50
+ Detected Flows → Injected Items:
51
+ ├── Auth → Password hashing, JWT secure storage, session mgmt (7 items)
52
+ ├── Payment → PCI key security, no card storage, webhook verification (5 items)
53
+ ├── Healthcare → HIPAA: PHI encryption, access control, audit trail (5 items)
54
+ └── Fintech → PCI-DSS: encryption, key rotation, audit logging (6 items)
55
+
56
+ Each item has:
57
+ { id, check, why, severity: 'critical' }
58
+ ```
59
+
60
+ **How it works:**
61
+ 1. `/csetup` analyzes change → detects `hasAuth`, `hasPayment`, `industryContext`
62
+ 2. Research layers are generated dynamically (flexible)
63
+ 3. Critical items are INJECTED into appropriate layers (non-negotiable)
64
+ 4. Agents receive checklist with both research + critical items
65
+
41
66
  ## Smart Topic Query (v2.5.0)
42
67
 
43
68
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@champpaba/claude-agent-kit",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "Universal multi-agent template for Claude Code - AI-assisted development with specialized agents",
5
5
  "main": "bin/cli.js",
6
6
  "bin": {
@@ -13,7 +13,8 @@
13
13
  ".claude/"
14
14
  ],
15
15
  "scripts": {
16
- "test": "echo \"No tests yet\" && exit 0"
16
+ "test": "vitest run",
17
+ "test:watch": "vitest"
17
18
  },
18
19
  "keywords": [
19
20
  "claude",
@@ -37,11 +38,14 @@
37
38
  },
38
39
  "homepage": "https://github.com/ChampPABA/claude-multi-agent-template#readme",
39
40
  "dependencies": {
41
+ "chalk": "^4.1.2",
40
42
  "commander": "^12.0.0",
41
- "fs-extra": "^11.2.0",
42
- "chalk": "^4.1.2"
43
+ "fs-extra": "^11.2.0"
43
44
  },
44
45
  "engines": {
45
46
  "node": ">=14.0.0"
47
+ },
48
+ "devDependencies": {
49
+ "vitest": "^4.0.15"
46
50
  }
47
51
  }