@champpaba/claude-agent-kit 1.7.1 โ†’ 2.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 (72) hide show
  1. package/.claude/CHANGELOG-v1.1.1.md +259 -259
  2. package/.claude/CLAUDE.md +79 -90
  3. package/.claude/agents/01-integration.md +11 -7
  4. package/.claude/agents/02-uxui-frontend.md +11 -6
  5. package/.claude/agents/03-test-debug.md +11 -7
  6. package/.claude/agents/04-frontend.md +11 -7
  7. package/.claude/agents/05-backend.md +11 -6
  8. package/.claude/agents/06-database.md +11 -7
  9. package/.claude/commands/cdev.md +110 -7
  10. package/.claude/commands/csetup.md +306 -39
  11. package/.claude/commands/cstatus.md +60 -60
  12. package/.claude/commands/cview.md +364 -364
  13. package/.claude/commands/designsetup.md +1401 -336
  14. package/.claude/commands/extract.md +520 -245
  15. package/.claude/commands/pageplan.md +171 -47
  16. package/.claude/contexts/design/accessibility.md +611 -611
  17. package/.claude/contexts/design/layout.md +400 -400
  18. package/.claude/contexts/design/responsive.md +551 -551
  19. package/.claude/contexts/design/shadows.md +522 -522
  20. package/.claude/contexts/design/typography.md +465 -465
  21. package/.claude/contexts/domain/README.md +164 -164
  22. package/.claude/contexts/patterns/agent-coordination.md +388 -388
  23. package/.claude/contexts/patterns/agent-discovery.md +3 -2
  24. package/.claude/contexts/patterns/change-workflow.md +538 -538
  25. package/.claude/contexts/patterns/code-standards.md +39 -0
  26. package/.claude/contexts/patterns/development-principles.md +513 -513
  27. package/.claude/contexts/patterns/error-handling.md +478 -478
  28. package/.claude/contexts/patterns/error-recovery.md +365 -365
  29. package/.claude/contexts/patterns/logging.md +424 -424
  30. package/.claude/contexts/patterns/task-breakdown.md +452 -452
  31. package/.claude/contexts/patterns/task-classification.md +523 -523
  32. package/.claude/contexts/patterns/tdd-classification.md +516 -516
  33. package/.claude/contexts/patterns/testing.md +413 -413
  34. package/.claude/contexts/patterns/validation-framework.md +776 -776
  35. package/.claude/lib/agent-executor.md +76 -1
  36. package/.claude/lib/agent-router.md +572 -572
  37. package/.claude/lib/flags-updater.md +469 -469
  38. package/.claude/lib/tdd-classifier.md +345 -345
  39. package/.claude/lib/validation-gates.md +484 -484
  40. package/.claude/settings.local.json +42 -42
  41. package/.claude/templates/context-template.md +45 -45
  42. package/.claude/templates/flags-template.json +42 -42
  43. package/.claude/templates/phase-templates.json +19 -29
  44. package/.claude/templates/phases-sections/accessibility-test.md +17 -17
  45. package/.claude/templates/phases-sections/api-design.md +37 -37
  46. package/.claude/templates/phases-sections/backend-tests.md +16 -16
  47. package/.claude/templates/phases-sections/backend.md +37 -37
  48. package/.claude/templates/phases-sections/business-logic-validation.md +16 -16
  49. package/.claude/templates/phases-sections/component-tests.md +17 -17
  50. package/.claude/templates/phases-sections/contract-backend.md +16 -16
  51. package/.claude/templates/phases-sections/contract-frontend.md +16 -16
  52. package/.claude/templates/phases-sections/database.md +35 -35
  53. package/.claude/templates/phases-sections/e2e-tests.md +16 -16
  54. package/.claude/templates/phases-sections/fix-implementation.md +17 -17
  55. package/.claude/templates/phases-sections/frontend-integration.md +18 -18
  56. package/.claude/templates/phases-sections/frontend-mockup.md +123 -123
  57. package/.claude/templates/phases-sections/manual-flow-test.md +15 -15
  58. package/.claude/templates/phases-sections/manual-ux-test.md +16 -16
  59. package/.claude/templates/phases-sections/refactor-implementation.md +17 -17
  60. package/.claude/templates/phases-sections/refactor.md +16 -16
  61. package/.claude/templates/phases-sections/regression-tests.md +15 -15
  62. package/.claude/templates/phases-sections/responsive-test.md +16 -16
  63. package/.claude/templates/phases-sections/script-implementation.md +43 -43
  64. package/.claude/templates/phases-sections/test-coverage.md +16 -16
  65. package/.claude/templates/phases-sections/user-approval.md +14 -14
  66. package/LICENSE +21 -21
  67. package/README.md +103 -351
  68. package/package.json +1 -1
  69. package/.claude/commands/agentsetup.md +0 -1464
  70. package/.claude/commands/psetup.md +0 -101
  71. package/.claude/templates/phases-sections/documentation.md +0 -17
  72. package/.claude/templates/phases-sections/report.md +0 -16
package/README.md CHANGED
@@ -917,304 +917,100 @@ Built with:
917
917
 
918
918
  ---
919
919
 
920
- ## ๐Ÿ†• What's New in v1.7.1
920
+ ## ๐Ÿ†• What's New in v2.0.0
921
921
 
922
- **Patch: OpenSpec File Naming Conventions - Clarify design.md vs STYLE_GUIDE.md** ๐Ÿ“
922
+ **Major Release: Design System v2.0.0 - Interactive Setup & Smart Page Planning** ๐ŸŽจ
923
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
987
-
988
- **Feature: Incremental Testing - Milestone-based Validation for High-Risk Tasks** ๐Ÿ”„
989
-
990
- ### The Problem: All-or-Nothing Testing
991
-
992
- **Before v1.6.0:**
993
- ```
994
- Task: "Integrate Google Maps API"
995
- โ†’ Agent implements complete solution (1000 locations)
996
- โ†’ Tests with full dataset
997
- โ†’ Bug found โ†’ Hard to debug (which part failed?)
998
- โ†’ Fix โ†’ Retest full dataset โ†’ Slow iteration
999
-
1000
- Problem:
1001
- โŒ Large scope = hard to debug
1002
- โŒ Late bug detection (at scale)
1003
- โŒ Rework expensive (threw away 1000-location implementation)
1004
- โŒ No confidence in progressive scaling
1005
- ```
1006
-
1007
- **After v1.6.0:**
1008
- ```
1009
- Task: "Integrate Google Maps API"
1010
- โ†’ Milestone 1: Test 1 location (hardcoded)
1011
- โ†’ Bug found โ†’ Easy to debug (small scope)
1012
- โ†’ Fix โ†’ Retest 1 location โ†’ Fast iteration
1013
- โ†’ Milestone 2: Test 10 locations (parameterized)
1014
- โ†’ Works! Confidence++
1015
- โ†’ Milestone 3: Error handling
1016
- โ†’ Refine edge cases
1017
- โ†’ Milestone 4: Scale to 1000
1018
- โ†’ Already confident (1 and 10 worked)
1019
-
1020
- Benefits:
1021
- โœ… Small scope = easy debugging
1022
- โœ… Early bug detection (at milestone 1)
1023
- โœ… Low rework (fix before scaling)
1024
- โœ… Progressive confidence
1025
- ```
1026
-
1027
- ### The Solution: Milestone-based Validation
1028
-
1029
- **Automatic Detection:** `/csetup` detects high-risk tasks automatically
1030
- - Risk = HIGH (payment, auth, security)
1031
- - Risk = MEDIUM + Complexity โ‰ฅ 7 (complex forms)
1032
- - External API dependency (Google Maps, Stripe, OpenAI)
1033
- - Data-intensive operation (ETL, migration, batch processing)
1034
-
1035
- **3 Milestone Patterns:**
1036
-
1037
- 1. **Backend API Integration** (4 milestones)
1038
- - M1: Core implementation (1 record, hardcoded)
1039
- - M2: Parameterized query (10 records, dynamic)
1040
- - M3: Error handling (invalid input, timeouts)
1041
- - M4: Scale + performance (100-1000 records)
1042
-
1043
- 2. **Complex Form** (3 milestones)
1044
- - M1: Architecture + skeleton (2-3 critical fields)
1045
- - M2: E2E flow validation (submit โ†’ API โ†’ DB)
1046
- - M3: Complete all fields (all 20 fields + validation)
1047
-
1048
- 3. **Database Migration / ETL** (3 milestones)
1049
- - M1: Dry-run (10 records)
1050
- - M2: Scale to 100 records
1051
- - M3: Full dataset (staging)
1052
-
1053
- ### Round-based Retry Logic
1054
-
1055
- **Per-Milestone Quota:**
1056
- - **2 attempts per round** (not total)
1057
- - **Unlimited rounds** (Main Claude decides when to stop)
1058
- - **Hints reset quota** (fresh start)
1059
-
1060
- **Example:**
1061
- ```
1062
- Milestone 1: Core implementation
1063
- โ†’ Round 1: Attempt 1 โŒ (API key missing)
1064
- โ†’ Round 1: Attempt 2 โŒ (Still missing)
1065
- โ†’ Main Claude: "Check API_KEY env variable" ๐Ÿ’ก
1066
- โ†’ Round 2: Attempt 1 โœ… (Fixed!)
1067
-
1068
- Total attempts: 3 (2 in Round 1, 1 in Round 2)
1069
- ```
1070
-
1071
- ### Main Claude Intervention
1072
-
1073
- **Decision Matrix:**
1074
-
1075
- | Error Pattern | Complexity | Confidence | Action |
1076
- |---------------|------------|------------|--------|
1077
- | Same error 2x | SIMPLE | HIGH | Give Hints |
1078
- | Same error 2x | COMPLEX | LOW | Ask Human |
1079
- | Different errors | ANY | ANY | Ask Human |
1080
- | Intermittent | ANY | ANY | Ask Human |
1081
- | 2+ rounds no progress | ANY | ANY | Ask Human |
1082
-
1083
- **Pattern-based Hints:**
1084
- - 401 Unauthorized โ†’ Check API_KEY, verify key validity
1085
- - Timeout โ†’ Increase threshold, check network
1086
- - Schema mismatch โ†’ Compare actual vs expected, check API version
1087
-
1088
- ### Benefits & Trade-offs
1089
-
1090
- **Benefits:**
1091
- - โœ… **75% faster debug** - Catch bugs at M1 (1 record) vs M4 (1000 records)
1092
- - โœ… **60-70% rework reduction** - Fix before scaling
1093
- - โœ… **80% faster debugging** - Small scope (1 record) vs full dataset
1094
- - โœ… **90% success rate** - Progressive confidence at M4
1095
- - โœ… **40-50% net speedup** - +15-20% time upfront โ†’ -60-70% rework time
1096
-
1097
- **Trade-offs:**
1098
- - โš ๏ธ **Timeline:** +15-20% upfront (but saves 60-70% rework)
1099
- - โš ๏ธ **Complexity:** phases.md 2-3x longer (summary table at top)
1100
- - โš ๏ธ **Learning curve:** More coordination (automated by `/csetup`)
1101
-
1102
- **Net benefit:** +15-20% time โ†’ -60-70% rework = **40-50% faster overall**
1103
-
1104
- ### When to Use Incremental Testing
1105
-
1106
- **โœ… Use for:**
1107
- - Payment integration, Auth systems (HIGH risk)
1108
- - Complex forms with 20+ fields (Complexity โ‰ฅ 7)
1109
- - External APIs (Google Maps, Stripe, OpenAI)
1110
- - Data migrations, ETL pipelines (data-intensive)
1111
-
1112
- **โŒ Skip for:**
1113
- - Simple CRUD operations (LOW risk, Complexity < 5)
1114
- - UI components (standard testing sufficient)
1115
- - Configuration changes (no integration testing needed)
1116
-
1117
- **Detection Rate:** ~20-30% of tasks (only high-risk)
1118
-
1119
- ---
1120
-
1121
- ## ๐ŸŽ‰ What's New in v1.4.0
1122
-
1123
- **Major Update: Context Optimization & DRY Consolidation**
1124
-
1125
- ### Token Efficiency Improvements
924
+ ### Complete Design System Overhaul
1126
925
 
1127
926
  **Problem Solved:**
1128
- - Before v1.4.0: Same documentation duplicated across 6 agent files + CLAUDE.md
1129
- - Package Manager warnings: 360 lines duplicated 6x
1130
- - Context Loading Strategy: 1,200 lines duplicated 6x
1131
- - TDD Workflow examples: 1,200 lines duplicated 3x
1132
- - Handoff templates: 900 lines duplicated 6x
1133
- - Documentation policies: 480 lines duplicated 6x
1134
- - CLAUDE.md: 890 lines mixing navigation + detailed guides
927
+ - Before: One massive STYLE_GUIDE.md loaded everywhere (~5000 tokens)
928
+ - Before: No theme direction, random decorations
929
+ - Before: Same patterns loaded for landing pages AND dashboards
930
+ - Before: Manual style selection with no recommendations
1135
931
 
1136
932
  **Solution Implemented:**
1137
- - โœ… Created consolidated lib files (context-loading-protocol.md, handoff-protocol.md, tdd-workflow.md)
1138
- - โœ… Extracted detailed guides from CLAUDE.md to lib/detailed-guides/
1139
- - โœ… Applied consistent reference pattern: Brief summary + "โ†’ See: path" + agent-specific additions
1140
- - โœ… Maintained 100% content quality (all information preserved)
933
+ - โœ… `/extract` - Extract design from multiple reference sites
934
+ - โœ… `/designsetup` - Interactive 3-round loop with theme recommendations
935
+ - โœ… `tokens.json` - Smart design tokens with style/theme/animations (~800 tokens)
936
+ - โœ… `patterns/*.md` - Selective code patterns based on page type
937
+ - โœ… Auto page type detection (landing/dashboard/auth)
1141
938
 
1142
939
  **Results:**
1143
- - **All 6 agents:** 6,796 โ†’ 4,749 lines (-2,047, -30.1% reduction)
1144
- - **CLAUDE.md:** 890 โ†’ 163 lines (-727, -81.7% reduction)
1145
- - **Grand Total:** 7,686 โ†’ 4,912 lines (-2,774, -36.1% reduction)
1146
- - **Token savings:** ~36% reduction in total context size
1147
- - **Speed improvement:** Faster agent loading and execution
1148
- - **Maintainability:** Single source of truth for shared documentation
1149
-
1150
- ### New Consolidated Documentation Structure
1151
-
1152
- **Created in v1.4.0:**
1153
- ```
1154
- .claude/lib/
1155
- โ”œโ”€โ”€ context-loading-protocol.md # Universal context loading strategy
1156
- โ”œโ”€โ”€ handoff-protocol.md # Agent handoff templates
1157
- โ”œโ”€โ”€ tdd-workflow.md # TDD workflow examples
1158
- โ””โ”€โ”€ detailed-guides/
1159
- โ”œโ”€โ”€ best-practices-system.md # How best practices work
1160
- โ”œโ”€โ”€ context-optimization.md # Token optimization strategy
1161
- โ”œโ”€โ”€ page-planning.md # /pageplan command guide
1162
- โ”œโ”€โ”€ taskmaster-analysis.md # 6-dimension task analysis
1163
- โ”œโ”€โ”€ design-system.md # Style guide generation
1164
- โ””โ”€โ”€ agent-system.md # Agent overview & workflow
1165
- ```
1166
-
1167
- ### Benefits for Users
1168
-
1169
- **For Developers:**
1170
- - โšก 36% faster context loading
1171
- - ๐Ÿ“– Cleaner, easier-to-navigate documentation
1172
- - ๐ŸŽฏ CLAUDE.md is now a pure navigation hub (163 lines)
1173
- - ๐Ÿ” Detailed guides are modular and focused
1174
-
1175
- **For Claude Agents:**
1176
- - ๐Ÿš€ Faster startup (less context to load)
1177
- - ๐Ÿ’พ More token budget for actual work
1178
- - ๐Ÿ“š Single source of truth (no conflicting info)
1179
- - ๐Ÿ”„ Easier maintenance (update once, apply everywhere)
1180
-
1181
- ### Migration Notes
1182
-
1183
- **No breaking changes!** All existing workflows continue to work:
1184
- - โœ… `/psetup`, `/csetup`, `/cdev` commands unchanged
1185
- - โœ… Agent behavior unchanged (same quality, faster execution)
1186
- - โœ… All features from v1.1-1.3 preserved
1187
- - โœ… Existing projects can update with `cak update`
1188
-
1189
- **New Reference Pattern:**
1190
- Agents now use lightweight references instead of duplicating full documentation:
1191
-
1192
- ```markdown
1193
- ## Context Loading Strategy
1194
-
1195
- **โ†’ See:** `.claude/lib/context-loading-protocol.md` for complete protocol
1196
-
1197
- **Agent-Specific Additions (frontend):**
1198
- ### State Management Libraries
1199
- ...
1200
- ```
1201
-
1202
- ### Upgrading to v1.4.1
940
+ - **84% token reduction** (~800 vs ~5000 tokens)
941
+ - **Theme consistency** (USE/AVOID decorations enforced)
942
+ - **Smart patterns** (only load what's needed per page type)
943
+ - **Interactive setup** (AI recommends, user confirms)
944
+
945
+ ### New Flow
946
+
947
+ ```
948
+ /extract https://site.com โ†’ .claude/extractions/*.json
949
+ โ†“
950
+ /designsetup @prd.md โ†’ tokens.json + patterns/*.md + STYLE_GUIDE.md
951
+ โ†“
952
+ /pageplan @prd.md โ†’ page-plan.md (auto-detects page type)
953
+ โ†“
954
+ /csetup โ†’ phases.md (reads page-plan.md)
955
+ โ†“
956
+ /cdev โ†’ uxui-frontend (loads patterns selectively)
957
+ ```
958
+
959
+ ### Page Type Auto-Detection
960
+
961
+ | Page Type | Decorations | Scroll Anims | Buyer Avatar | Patterns Loaded |
962
+ |-----------|-------------|--------------|--------------|-----------------|
963
+ | Landing/Marketing | โœ… Full | โœ… Enabled | โœ… Enabled | buttons, cards, scroll-anims, decorations |
964
+ | Dashboard/Admin | โŒ Minimal | โŒ Disabled | โŒ Skipped | buttons, cards, forms |
965
+ | Auth (Login/Register) | โŒ None | โŒ Disabled | โŒ Skipped | buttons, forms |
966
+
967
+ ### New Features
968
+
969
+ **`/extract` command:**
970
+ - Multi-URL support (extract from multiple sites)
971
+ - Style detection (Neo-Brutalism, Minimalist, Glassmorphism, Modern SaaS)
972
+ - Animation library detection (GSAP, ScrollTrigger, Framer Motion)
973
+ - Scroll pattern detection (stacking-cards, parallax, fade-in)
974
+ - Decorative element detection (blobs, gradients, 3D elements)
975
+
976
+ **`/designsetup` v2.0.0:**
977
+ - Interactive 3-round loop (Present โ†’ Feedback โ†’ Adjust)
978
+ - Verbose style options with match scores
979
+ - AI recommends themes based on project context
980
+ - USE/AVOID decorative direction
981
+
982
+ **`tokens.json` v2.0.0:**
983
+ - `style` - Detected design style with confidence
984
+ - `theme` - Theme name, feeling, decorative direction
985
+ - `animations` - Libraries, patterns, component animations
986
+ - `patterns_index` - References to pattern files
987
+
988
+ **`patterns/*.md` files:**
989
+ - `buttons.md` - Button patterns (primary, secondary, ghost, sizes, states)
990
+ - `cards.md` - Card patterns (default, interactive, feature, pricing)
991
+ - `forms.md` - Form patterns (input, error state, select, checkbox)
992
+ - `scroll-animations.md` - Scroll animation patterns
993
+ - `decorations.md` - Decorative elements (gradients, blobs, grids)
994
+
995
+ ### Upgrading to v2.0.0
1203
996
 
1204
997
  ```bash
1205
998
  # Update npm package
1206
999
  npm update -g @champpaba/claude-agent-kit
1207
1000
 
1208
- # Update template in your project (creates backup)
1001
+ # Update template in your project
1209
1002
  cd your-project
1210
1003
  cak update --backup
1004
+
1005
+ # Generate new design system
1006
+ /extract https://your-reference.com # Optional
1007
+ /designsetup @prd.md
1211
1008
  ```
1212
1009
 
1213
- **What's New:**
1214
- - โœ… Auto-proceed feature (eliminate double confirmations)
1215
- - โœ… 50-90% fewer approval prompts
1216
- - โœ… 25% faster workflow execution
1217
- - โœ… All v1.4.0 features (context optimization, DRY consolidation)
1010
+ **Breaking Changes:**
1011
+ - `STYLE_TOKENS.json` โ†’ `tokens.json` (new structure)
1012
+ - `STYLE_GUIDE.md` no longer contains code (moved to `patterns/*.md`)
1013
+ - Commands read `tokens.json` instead of `STYLE_TOKENS.json`
1218
1014
 
1219
1015
  All your customizations in `.claude/contexts/domain/` are preserved!
1220
1016
 
@@ -1222,90 +1018,46 @@ All your customizations in `.claude/contexts/domain/` are preserved!
1222
1018
 
1223
1019
  ## ๐Ÿ“œ Changelog
1224
1020
 
1225
- ### v1.7.1 (2025-11-25)
1226
- **Patch: OpenSpec File Naming Conventions**
1021
+ ### v2.0.0 (2025-01-28)
1022
+ **Major: Design System v2.0.0 - Interactive Setup & Smart Page Planning**
1227
1023
 
1228
1024
  **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**
1025
+ - `/extract` command - Multi-URL design extraction with style/animation detection
1026
+ - Interactive `/designsetup` - 3-round loop with theme recommendations
1027
+ - `tokens.json` v2.0.0 - Enhanced design tokens with style/theme/animations (~800 tokens)
1028
+ - `patterns/*.md` files - Selective code patterns (buttons, cards, forms, scroll-animations, decorations)
1029
+ - Auto page type detection in `/pageplan` (landing/dashboard/auth)
1240
1030
 
1241
1031
  **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
1032
+ - `STYLE_TOKENS.json` โ†’ `tokens.json` (new structure)
1033
+ - `STYLE_GUIDE.md` - Human-readable only, code moved to patterns/*.md
1034
+ - `/csetup` - Reads tokens.json + page-plan.md
1251
1035
 
1252
- ### v1.4.1 (2025-11-06)
1253
- **Feature: Intelligent Auto-Proceed - Eliminate Double Confirmations**
1036
+ **Performance:**
1037
+ - 84% token reduction (~800 vs ~5000 tokens)
1038
+ - Selective pattern loading based on page type
1039
+ - Theme consistency with USE/AVOID decorations
1254
1040
 
1255
- **Added:**
1256
- - Auto-proceed approval context in agent prompts
1257
- - Smart detection of user approval keywords ("continue", "proceed", "yes", "เธฅเธธเธขเน€เธฅเธข")
1258
- - Agent question handling logic (auto-respond vs ask user)
1259
- - Auto-proceed decision tree in agent-executor.md
1041
+ **Breaking Changes:**
1042
+ - `STYLE_TOKENS.json` renamed to `tokens.json`
1043
+ - `STYLE_GUIDE.md` no longer contains code
1044
+ - Commands read `tokens.json` instead of `STYLE_TOKENS.json`
1260
1045
 
1261
- **Improved:**
1262
- - User experience: 50-90% fewer confirmation prompts
1263
- - Execution speed: 25% faster (no waiting for redundant approvals)
1264
- - Workflow clarity: User approves once, system handles agent interactions
1046
+ ### v1.6.0 (2025-01-27)
1047
+ **Feature: Page Plan Enhancement - Buyer Avatar & Conversion Copy**
1265
1048
 
1266
- **Technical Details:**
1267
- - Modified: `.claude/lib/agent-executor.md` (+80 lines)
1268
- - Implementation: Lean solution (1 file, 0.1% context increase)
1269
- - Backward compatible: Manual approval mode still available
1049
+ ### v1.5.1 (2025-01-26)
1050
+ **Patch: Git Compatibility Fix**
1270
1051
 
1271
- **When It Activates:**
1272
- - User runs `/cdev` command (implicit approval)
1273
- - User says "continue", "proceed", "yes", "เธฅเธธเธขเน€เธฅเธข" (explicit approval)
1052
+ ### v1.5.0 (2025-01-25)
1053
+ **Feature: Minor Improvements**
1274
1054
 
1275
- **Before:**
1276
- ```
1277
- User approves โ†’ Agent asks โ†’ Main asks user again โŒ
1278
- ```
1279
-
1280
- **After:**
1281
- ```
1282
- User approves โ†’ Agent asks โ†’ Main answers directly โœ…
1283
- ```
1055
+ ### v1.4.1 (2025-11-06)
1056
+ **Feature: Intelligent Auto-Proceed**
1284
1057
 
1285
1058
  ### v1.4.0 (2025-11-05)
1286
1059
  **Major: Context Optimization & DRY Consolidation**
1287
1060
 
1288
- **Added:**
1289
- - New consolidated lib files: `context-loading-protocol.md`, `handoff-protocol.md`, `tdd-workflow.md`
1290
- - New detailed guides folder: `lib/detailed-guides/` (6 focused guides)
1291
- - Reference pattern across all agents (Brief summary โ†’ See: path โ†’ Additions)
1292
-
1293
- **Changed:**
1294
- - All 6 agents refactored: 30.1% size reduction (6,796 โ†’ 4,749 lines)
1295
- - CLAUDE.md refactored: 81.7% size reduction (890 โ†’ 163 lines, pure navigation hub)
1296
- - Documentation structure: Moved detailed content to modular lib files
1297
-
1298
- **Performance:**
1299
- - 36% total context reduction (7,686 โ†’ 4,912 lines)
1300
- - Faster agent loading and execution
1301
- - More token budget available for actual work
1302
-
1303
- **Improved:**
1304
- - Maintainability: Single source of truth for shared docs
1305
- - Discoverability: Clear navigation in CLAUDE.md
1306
- - Modularity: Detailed guides in separate files
1307
- - Consistency: Same content quality, zero duplication
1308
-
1309
1061
  ### v1.3.0 (2025-10-30)
1310
1062
  **Feature: TaskMaster-style Intelligent Task Analysis**
1311
1063
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@champpaba/claude-agent-kit",
3
- "version": "1.7.1",
3
+ "version": "2.0.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": {