@champpaba/claude-agent-kit 1.6.1 → 1.7.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.
package/.claude/CLAUDE.md CHANGED
@@ -1,11 +1,49 @@
1
1
  # CLAUDE.md
2
2
 
3
3
  > **Navigation Hub for AI Agents**
4
- > **Template Version:** 1.6.0 - Universal Multi-Agent Template
4
+ > **Template Version:** 1.7.1 - Universal Multi-Agent Template (Opus 4.5)
5
5
  > **Latest:** Incremental Testing - Milestone-based validation for high-risk tasks with round-based retry
6
6
 
7
7
  ---
8
8
 
9
+ ## šŸ“ File Naming Conventions (OpenSpec + Template)
10
+
11
+ > **IMPORTANT:** Avoid confusion between OpenSpec files and Template files
12
+
13
+ ### OpenSpec Files (from [Fission-AI/OpenSpec](https://github.com/Fission-AI/OpenSpec))
14
+
15
+ | File | Purpose | When to Read |
16
+ |------|---------|--------------|
17
+ | `proposal.md` | WHY - Goals, scope, rationale | Phase planning |
18
+ | `tasks.md` | WHAT - Implementation checklist | Task tracking |
19
+ | `design.md` | **Technical/Architecture decisions** (optional) | Backend/Database phases |
20
+ | `specs/` | Delta specs (ADDED/MODIFIED/REMOVED) | Requirement validation |
21
+
22
+ ### Template Files (from claude-multi-agent-template)
23
+
24
+ | File | Purpose | When to Read |
25
+ |------|---------|--------------|
26
+ | `STYLE_GUIDE.md` | **Visual design** (colors, typography, spacing) | UI/Frontend phases |
27
+ | `STYLE_TOKENS.json` | Lightweight design tokens (~500 tokens) | Quick UI reference |
28
+ | `page-plan.md` | UI component layout + content strategy | uxui-frontend agent |
29
+ | `phases.md` | Execution plan with agent assignments | All phases |
30
+ | `flags.json` | Progress tracking | All phases |
31
+
32
+ ### Key Distinction
33
+
34
+ ```
35
+ OpenSpec design.md = Technical Architecture (data flow, API structure, system design)
36
+ Template STYLE_GUIDE = Visual Design (colors, fonts, spacing, component styles)
37
+ ```
38
+
39
+ **Agents should read BOTH when relevant:**
40
+ - `uxui-frontend` → STYLE_GUIDE.md (visual) + design.md (if has UI architecture)
41
+ - `backend` → design.md (API/data architecture)
42
+ - `database` → design.md (data models, relationships)
43
+ - `frontend` → STYLE_GUIDE.md (visual) + design.md (API contracts)
44
+
45
+ ---
46
+
9
47
  ## šŸŽÆ What is This Template?
10
48
 
11
49
  Universal, framework-agnostic template for AI-assisted development.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: integration
3
3
  description: Validates API contracts and coordinates multi-agent outputs
4
- model: haiku
4
+ model: opus
5
5
  color: orange
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: uxui-frontend
3
3
  description: UX/UI frontend development with React/Next.js/Vue using mock data
4
- model: haiku
4
+ model: opus
5
5
  color: blue
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: test-debug
3
3
  description: Automated testing and debugging with Vitest/Jest/Playwright
4
- model: haiku
4
+ model: opus
5
5
  color: red
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: frontend
3
3
  description: Frontend implementation connecting components to APIs
4
- model: haiku
4
+ model: opus
5
5
  color: green
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: backend
3
3
  description: Backend API development with FastAPI/Express/Django
4
- model: haiku
4
+ model: opus
5
5
  color: cyan
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: database
3
3
  description: Database schema design and migrations with Prisma/SQLAlchemy
4
- model: haiku
4
+ model: opus
5
5
  color: pink
6
6
  ---
7
7
 
@@ -183,7 +183,7 @@ Run \`/designsetup\` to generate project-specific design system.
183
183
  const prompt = buildAgentPrompt(phase, changeContext)
184
184
 
185
185
  // 4.2: Execute agent with retry & validation
186
- output(`\nšŸš€ Invoking ${phase.agent} agent (model: haiku)...`)
186
+ output(`\nšŸš€ Invoking ${phase.agent} agent (model: opus)...`)
187
187
 
188
188
  const result = await executeAgentWithRetry(
189
189
  phase.agent,
@@ -240,9 +240,8 @@ if (result.success) {
240
240
  3. **escalateToUser()**: See `.claude/lib/agent-executor.md`
241
241
 
242
242
  **Model Strategy:**
243
- - All agents use `model: haiku` (fixed)
244
- - Haiku performs excellently with detailed context
245
- - 12-20x cheaper than sonnet
243
+ - All agents use `model: opus` (fixed)
244
+ - Opus 4.5 is the latest Claude model with best performance
246
245
  - Quality maintained through comprehensive validation framework
247
246
 
248
247
  ---
@@ -104,11 +104,15 @@ ls openspec/changes/{change-id}/.claude/
104
104
 
105
105
  4. **OpenSpec files:**
106
106
  ```bash
107
- Read: openspec/changes/{change-id}/proposal.md
108
- Read: openspec/changes/{change-id}/tasks.md
109
- Read: openspec/changes/{change-id}/design.md # if exists
107
+ Read: openspec/changes/{change-id}/proposal.md # WHY - goals, scope
108
+ Read: openspec/changes/{change-id}/tasks.md # WHAT - checklist
109
+ Read: openspec/changes/{change-id}/design.md # HOW - technical architecture (if exists)
110
110
  ```
111
111
 
112
+ > **Note:** `design.md` = Technical/Architecture decisions (API structure, data flow)
113
+ > This is DIFFERENT from `STYLE_GUIDE.md` which is Visual Design (colors, fonts)
114
+ > See CLAUDE.md "File Naming Conventions" for details.
115
+
112
116
  **If change context doesn't exist:**
113
117
  - Skip Level 5 (working on general task, not OpenSpec change)
114
118
 
@@ -80,7 +80,7 @@ auto_proceed = userApprovalGranted() // Check if user approved workflow
80
80
  while (attempt <= max_retries):
81
81
 
82
82
  1. Invoke agent:
83
- Task(agent=agentType, model='haiku', prompt=buildPrompt(auto_proceed))
83
+ Task(agent=agentType, model='opus', prompt=buildPrompt(auto_proceed))
84
84
 
85
85
  2. Handle agent questions (NEW!):
86
86
  If agent asks "Should I proceed?" or "Continue?":
@@ -2,7 +2,7 @@
2
2
 
3
3
  > **Detailed guide to the multi-agent architecture**
4
4
  > **Source:** Extracted from CLAUDE.md (Navigation Hub)
5
- > **Version:** 1.4.0
5
+ > **Version:** 1.7.0 (Opus 4.5)
6
6
 
7
7
  ---
8
8
 
@@ -29,14 +29,16 @@
29
29
 
30
30
  ## Available Agents (6 specialists)
31
31
 
32
- | Agent | Color | When to Use | Phase |
33
- |-------|-------|-------------|-------|
34
- | **integration** | Orange | Validate API contracts before connecting | 2.5 |
35
- | **uxui-frontend** | Blue | Design UI components with mock data | 1 |
36
- | **test-debug** | Red | Run tests and fix bugs (max 3-4 iterations) | 1,3,4 |
37
- | **frontend** | Green | Connect UI to backend APIs | 3 |
38
- | **backend** | Purple | Create API endpoints with validation | 2 |
39
- | **database** | Pink | Design schemas, migrations, complex queries | 2 |
32
+ **All agents use Opus 4.5** for best-in-class reasoning and code quality.
33
+
34
+ | Agent | Color | Model | When to Use | Phase |
35
+ |-------|-------|-------|-------------|-------|
36
+ | **integration** | Orange | opus | Validate API contracts before connecting | 2.5 |
37
+ | **uxui-frontend** | Blue | opus | Design UI components with mock data | 1 |
38
+ | **test-debug** | Red | opus | Run tests and fix bugs (max 3-4 iterations) | 1,3,4 |
39
+ | **frontend** | Green | opus | Connect UI to backend APIs | 3 |
40
+ | **backend** | Cyan | opus | Create API endpoints with validation | 2 |
41
+ | **database** | Pink | opus | Design schemas, migrations, complex queries | 2 |
40
42
 
41
43
  ---
42
44
 
package/README.md CHANGED
@@ -917,7 +917,73 @@ Built with:
917
917
 
918
918
  ---
919
919
 
920
- ## šŸ†• What's New in v1.6.0
920
+ ## šŸ†• What's New in v1.7.1
921
+
922
+ **Patch: OpenSpec File Naming Conventions - Clarify design.md vs STYLE_GUIDE.md** šŸ“
923
+
924
+ ### The Issue
925
+
926
+ Users were confused between two files with similar names:
927
+ - `design.md` (from OpenSpec) = Technical/Architecture decisions
928
+ - `STYLE_GUIDE.md` (from Template) = Visual design (colors, fonts, spacing)
929
+
930
+ ### The Fix
931
+
932
+ Added clear documentation in CLAUDE.md and agent-discovery.md:
933
+
934
+ | Source | File | Purpose |
935
+ |--------|------|---------|
936
+ | **OpenSpec** | `design.md` | Technical Architecture (API structure, data flow) |
937
+ | **Template** | `STYLE_GUIDE.md` | Visual Design (colors, typography, spacing) |
938
+
939
+ ### Updated Files
940
+
941
+ - `CLAUDE.md` - New "šŸ“ File Naming Conventions" section
942
+ - `agent-discovery.md` - Added notes explaining design.md vs STYLE_GUIDE.md
943
+
944
+ ### No Breaking Changes
945
+
946
+ All existing workflows continue to work. This is a documentation improvement only.
947
+
948
+ ---
949
+
950
+ ## šŸ“‹ What's New in v1.7.0
951
+
952
+ **Feature: Opus 4.5 Model Upgrade - All Subagents Now Use Latest Claude Model** 🧠
953
+
954
+ ### The Change
955
+
956
+ All 6 specialized agents now use **Claude Opus 4.5** (the latest and most capable Claude model) instead of Haiku:
957
+
958
+ | Agent | Model (Before) | Model (After) |
959
+ |-------|----------------|---------------|
960
+ | integration | haiku | **opus** |
961
+ | uxui-frontend | haiku | **opus** |
962
+ | test-debug | haiku | **opus** |
963
+ | frontend | haiku | **opus** |
964
+ | backend | haiku | **opus** |
965
+ | database | haiku | **opus** |
966
+
967
+ ### Benefits
968
+
969
+ - āœ… **Best-in-class reasoning** - Opus 4.5 handles complex multi-step tasks better
970
+ - āœ… **Improved code quality** - More accurate implementations with fewer errors
971
+ - āœ… **Better context understanding** - Agents maintain context over longer sessions
972
+ - āœ… **Enhanced problem-solving** - Complex debugging and architectural decisions improved
973
+
974
+ ### Updated Files
975
+
976
+ - All agent files (`.claude/agents/*.md`) - `model: opus`
977
+ - `/cdev` command - Model strategy updated
978
+ - `agent-executor.md` - Task invocation uses opus
979
+
980
+ ### No Breaking Changes
981
+
982
+ All existing workflows continue to work exactly as before, just with better performance!
983
+
984
+ ---
985
+
986
+ ## šŸ”„ What's New in v1.6.0
921
987
 
922
988
  **Feature: Incremental Testing - Milestone-based Validation for High-Risk Tasks** šŸ”„
923
989
 
@@ -1156,6 +1222,33 @@ All your customizations in `.claude/contexts/domain/` are preserved!
1156
1222
 
1157
1223
  ## šŸ“œ Changelog
1158
1224
 
1225
+ ### v1.7.1 (2025-11-25)
1226
+ **Patch: OpenSpec File Naming Conventions**
1227
+
1228
+ **Added:**
1229
+ - New "šŸ“ File Naming Conventions" section in CLAUDE.md
1230
+ - Clear distinction between OpenSpec files and Template files
1231
+ - Notes in agent-discovery.md explaining design.md purpose
1232
+
1233
+ **Documentation:**
1234
+ - `design.md` (OpenSpec) = Technical Architecture (API, data flow)
1235
+ - `STYLE_GUIDE.md` (Template) = Visual Design (colors, fonts, spacing)
1236
+ - Updated agent reading guidance per role
1237
+
1238
+ ### v1.7.0 (2025-11-25)
1239
+ **Feature: Opus 4.5 Model Upgrade**
1240
+
1241
+ **Changed:**
1242
+ - All 6 agents upgraded from `model: haiku` to `model: opus`
1243
+ - Updated `/cdev` model strategy description
1244
+ - Updated `agent-executor.md` Task invocation
1245
+
1246
+ **Benefits:**
1247
+ - Best-in-class reasoning with Opus 4.5
1248
+ - Improved code quality and fewer errors
1249
+ - Better context understanding
1250
+ - Enhanced problem-solving for complex tasks
1251
+
1159
1252
  ### v1.4.1 (2025-11-06)
1160
1253
  **Feature: Intelligent Auto-Proceed - Eliminate Double Confirmations**
1161
1254
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@champpaba/claude-agent-kit",
3
- "version": "1.6.1",
3
+ "version": "1.7.1",
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": {