@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 +39 -1
- package/.claude/agents/01-integration.md +1 -1
- package/.claude/agents/02-uxui-frontend.md +1 -1
- package/.claude/agents/03-test-debug.md +1 -1
- package/.claude/agents/04-frontend.md +1 -1
- package/.claude/agents/05-backend.md +1 -1
- package/.claude/agents/06-database.md +1 -1
- package/.claude/commands/cdev.md +3 -4
- package/.claude/contexts/patterns/agent-discovery.md +7 -3
- package/.claude/lib/agent-executor.md +1 -1
- package/.claude/lib/detailed-guides/agent-system.md +11 -9
- package/README.md +94 -1
- package/package.json +1 -1
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.
|
|
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.
|
package/.claude/commands/cdev.md
CHANGED
|
@@ -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:
|
|
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:
|
|
244
|
-
-
|
|
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
|
|
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='
|
|
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.
|
|
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
|
-
|
|
33
|
-
|
|
34
|
-
|
|
|
35
|
-
|
|
36
|
-
| **
|
|
37
|
-
| **frontend** |
|
|
38
|
-
| **
|
|
39
|
-
| **
|
|
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.
|
|
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
|
|