@champpaba/claude-agent-kit 3.3.0 → 3.4.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.
- package/.claude/CHANGELOG.md +67 -0
- package/.claude/CLAUDE.md +2 -1
- package/.claude/commands/cdev.md +276 -239
- package/.claude/commands/csetup.md +985 -1062
- package/.claude/commands/cstatus.md +62 -53
- package/.claude/commands/cview.md +49 -50
- package/.claude/commands/designsetup.md +958 -1910
- package/.claude/commands/extract.md +480 -743
- package/.claude/commands/pageplan.md +155 -153
- package/.claude/commands/pstatus.md +322 -254
- package/package.json +1 -1
package/.claude/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,73 @@
|
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
+
## v3.4.0: Complete Pseudocode Elimination
|
|
9
|
+
|
|
10
|
+
**Problem Solved:** Agents read TypeScript/JavaScript pseudocode and interpreted it as "examples" or "reference documentation" rather than executable instructions. This caused agents to not follow the intended workflow.
|
|
11
|
+
|
|
12
|
+
**Solution:** Converted ~3,210 lines of pseudocode across all 8 command files to imperative step-by-step instructions following the pattern established in `design-validator.md`.
|
|
13
|
+
|
|
14
|
+
### Key Changes
|
|
15
|
+
|
|
16
|
+
| File | Lines Converted | Key Sections |
|
|
17
|
+
|------|-----------------|--------------|
|
|
18
|
+
| `cdev.md` | ~300 | Steps 2-5, approval gate, page plan validation |
|
|
19
|
+
| `csetup.md` | ~800 | Steps 7-8, helper functions |
|
|
20
|
+
| `designsetup.md` | ~1,200 | Steps 5-6, data.yaml generation |
|
|
21
|
+
| `extract.md` | ~400 | Steps 0-6, Chrome DevTools extraction |
|
|
22
|
+
| `pageplan.md` | ~200 | Steps 1-5, context loading |
|
|
23
|
+
| `cview.md` | ~100 | Formatting helpers |
|
|
24
|
+
| `cstatus.md` | ~60 | Steps 1-2, infrastructure summary |
|
|
25
|
+
| `pstatus.md` | ~150 | Steps 1-5, YAML updates |
|
|
26
|
+
|
|
27
|
+
### Conversion Pattern
|
|
28
|
+
|
|
29
|
+
```markdown
|
|
30
|
+
# ❌ BEFORE (Pseudocode - agents ignore):
|
|
31
|
+
```typescript
|
|
32
|
+
if (fileExists(path)) {
|
|
33
|
+
const data = JSON.parse(Read(path))
|
|
34
|
+
return data.value
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
# ✅ AFTER (Imperative - agents follow):
|
|
39
|
+
**If the file exists:**
|
|
40
|
+
1. Read the file at `{path}`
|
|
41
|
+
2. Parse the content as JSON
|
|
42
|
+
3. Extract and return the `value` field
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Why This Matters
|
|
46
|
+
|
|
47
|
+
**Before:**
|
|
48
|
+
- TypeScript code blocks treated as documentation
|
|
49
|
+
- Agents skipped procedural logic
|
|
50
|
+
- Inconsistent behavior between runs
|
|
51
|
+
- User had to manually guide agents
|
|
52
|
+
|
|
53
|
+
**After:**
|
|
54
|
+
- Clear numbered steps agents execute
|
|
55
|
+
- Conditional logic as "If X, then Y" blocks
|
|
56
|
+
- Consistent, reproducible behavior
|
|
57
|
+
- Agents self-navigate through workflows
|
|
58
|
+
|
|
59
|
+
### Files Changed
|
|
60
|
+
|
|
61
|
+
| File | Change |
|
|
62
|
+
|------|--------|
|
|
63
|
+
| `.claude/commands/cdev.md` | All pseudocode → imperative |
|
|
64
|
+
| `.claude/commands/csetup.md` | All pseudocode → imperative |
|
|
65
|
+
| `.claude/commands/designsetup.md` | All pseudocode → imperative |
|
|
66
|
+
| `.claude/commands/extract.md` | All pseudocode → imperative |
|
|
67
|
+
| `.claude/commands/pageplan.md` | All pseudocode → imperative |
|
|
68
|
+
| `.claude/commands/cview.md` | All pseudocode → imperative |
|
|
69
|
+
| `.claude/commands/cstatus.md` | All pseudocode → imperative |
|
|
70
|
+
| `.claude/commands/pstatus.md` | All pseudocode → imperative |
|
|
71
|
+
| `tests/` | Removed (tests passed, cleanup) |
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
8
75
|
## v3.3.0: Design Validation System (No Pseudocode)
|
|
9
76
|
|
|
10
77
|
**Problem Solved:** Design system compliance was not enforced. uxui-frontend agents didn't read `design-system/data.yaml`, resulting in hardcoded colors, arbitrary spacing, and inconsistent animations. The validation logic was written as TypeScript pseudocode that Claude never executed.
|
package/.claude/CLAUDE.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# CLAUDE.md
|
|
2
2
|
|
|
3
3
|
> **Navigation Hub for AI Agents**
|
|
4
|
-
> **Template Version:** 3.
|
|
4
|
+
> **Template Version:** 3.4.0 - Complete Pseudocode Elimination
|
|
5
5
|
> **Latest:** Single Source of Truth for design compliance (prevention + detection)
|
|
6
6
|
|
|
7
7
|
---
|
|
@@ -363,6 +363,7 @@ User: "Build login system"
|
|
|
363
363
|
**Recent versions:**
|
|
364
364
|
| Version | Key Feature |
|
|
365
365
|
|---------|-------------|
|
|
366
|
+
| v3.4.0 | **Complete Pseudocode Elimination** (~3,210 lines → imperative instructions) |
|
|
366
367
|
| v3.3.0 | **Design Validation System** (prevention + detection, single source of truth) |
|
|
367
368
|
| v3.2.0 | Consolidated Pre-Work Context (single `pre-work-context.md` for agents) |
|
|
368
369
|
| v3.1.1 | Direct Best Practices Execution (Step 2.7 rewritten, no pseudocode) |
|