Skip to content

Commit be8e5f3

Browse files
[2.26.3] Design-iterator: auto-load skills, smaller iterations
- Added "Step 0: Discover and Load Design Skills (MANDATORY)" - Discovers skills from all locations (plugin, global, project) - Maps user context to relevant skills (Swiss → swiss-design, etc.) - Changed iteration approach: ONE change per iteration, not 3-5 - Updated output format: focus on single most impactful change - Added rule: "If you can't identify ONE clear improvement, stop" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent d1defc2 commit be8e5f3

File tree

3 files changed

+84
-18
lines changed

3 files changed

+84
-18
lines changed

plugins/compound-engineering/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "compound-engineering",
3-
"version": "2.26.2",
3+
"version": "2.26.3",
44
"description": "AI-powered development tools. 27 agents, 21 commands, 14 skills, 1 MCP server for code review, research, design, and workflow automation.",
55
"author": {
66
"name": "Kieran Klaassen",

plugins/compound-engineering/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to the compound-engineering plugin will be documented in thi
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.26.3] - 2026-01-14
9+
10+
### Changed
11+
12+
- **`design-iterator` agent** - Now auto-loads design skills at start of iterations
13+
- Added "Step 0: Discover and Load Design Skills (MANDATORY)" section
14+
- Discovers skills from ~/.claude/skills/, .claude/skills/, and plugin cache
15+
- Maps user context to relevant skills (Swiss design → swiss-design skill, etc.)
16+
- Reads SKILL.md files to load principles into context before iterating
17+
- Extracts key principles: grid specs, typography rules, color philosophy, layout principles
18+
- Skills are applied throughout ALL iterations for consistent design language
19+
20+
---
21+
822
## [2.26.2] - 2026-01-14
923

1024
### Changed

plugins/compound-engineering/agents/design/design-iterator.md

Lines changed: 69 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -126,42 +126,94 @@ For each iteration, output:
126126
```
127127
## Iteration N/Total
128128
129-
**Current State Analysis:**
130-
- [What's working well]
131-
- [What could be improved]
129+
**What's working:** [Brief - don't over-analyze]
132130
133-
**Changes This Iteration:**
134-
1. [Specific change 1]
135-
2. [Specific change 2]
136-
3. [Specific change 3]
131+
**ONE thing to improve:** [Single most impactful change]
137132
138-
**Implementation:**
139-
[Make the code changes]
133+
**Change:** [Specific, measurable - e.g., "Increase hero font-size from 48px to 64px"]
134+
135+
**Implementation:** [Make the ONE code change]
140136
141137
**Screenshot:** [Take new screenshot]
142138
143139
---
144140
```
145141

142+
**RULE: If you can't identify ONE clear improvement, the design is done. Stop iterating.**
143+
146144
## Important Guidelines
147145

148-
- Make 3-5 meaningful changes per iteration, not too many
149-
- Each iteration should be noticeably different but cohesive
146+
- **SMALL CHANGES ONLY** - Make 1-2 targeted changes per iteration, never more
147+
- Each change should be specific and measurable (e.g., "increase heading size from 24px to 32px")
148+
- Before each change, decide: "What is the ONE thing that would improve this most right now?"
150149
- Don't undo good changes from previous iterations
151150
- Build progressively - early iterations focus on structure, later on polish
152151
- Always preserve existing functionality
153152
- Keep accessibility in mind (contrast ratios, semantic HTML)
153+
- If something looks good, leave it alone - resist the urge to "improve" working elements
154154

155155
## Starting an Iteration Cycle
156156

157157
When invoked, you should:
158158

159-
1. **Load relevant design skills first** - Check if the user mentions a specific style (e.g., "Swiss design", "minimalist", "Stripe-style") and load any available skills that match. Use the Skill tool to invoke design-related skills before starting iterations.
160-
2. Confirm the target component/file path
161-
3. Confirm the number of iterations requested (default: 10)
162-
4. Optionally confirm any competitor sites to research
163-
5. Set up browser with `browser_resize` for appropriate viewport
164-
6. Begin the iteration cycle
159+
### Step 0: Discover and Load Design Skills (MANDATORY)
160+
161+
**ALWAYS discover and load relevant design skills before starting iterations.** This ensures you have the best practices, patterns, and principles loaded into context.
162+
163+
**1. Discover ALL available design skills:**
164+
165+
```bash
166+
# Check all skill locations for design-related skills
167+
ls ~/.claude/skills/ 2>/dev/null | grep -iE "(design|style|ui|ux|frontend|swiss|aesthetic)"
168+
ls .claude/skills/ 2>/dev/null | grep -iE "(design|style|ui|ux|frontend|swiss|aesthetic)"
169+
find ~/.claude/plugins/cache -path "*/skills/*" -name "*.md" 2>/dev/null | xargs grep -l -iE "(design|style|visual|typography|grid|layout)" | head -20
170+
```
171+
172+
**2. Load skills based on context:**
173+
174+
| User Mentions | Skills to Load |
175+
|---------------|----------------|
176+
| "Swiss design", "minimalist", "grid" | `swiss-design`, `swiss-design-skill` |
177+
| "frontend", "web", "UI" | `frontend-design` |
178+
| "Stripe", "Linear", "Vercel" | Research competitor + `frontend-design` |
179+
| General design work | Load ALL available design skills |
180+
181+
**3. For each relevant skill found, READ the SKILL.md file:**
182+
183+
```bash
184+
# Read skill documentation to load principles into context
185+
cat ~/.claude/skills/swiss-design/SKILL.md
186+
cat ~/.claude/skills/frontend-design/SKILL.md
187+
# etc.
188+
```
189+
190+
**4. Extract and apply key principles:**
191+
192+
After reading each skill, note the key design principles to follow during iterations:
193+
- Grid system specifications (columns, gutters, baseline)
194+
- Typography rules (scale, alignment, hierarchy)
195+
- Color philosophy (palette, accent usage)
196+
- Layout principles (asymmetry, whitespace, balance)
197+
- Anti-patterns to avoid
198+
199+
**Example skill loading flow:**
200+
201+
```
202+
1. User asks to improve design with "Swiss style"
203+
2. Search: ls ~/.claude/skills/ | grep -i swiss
204+
3. Found: swiss-design/
205+
4. Read: cat ~/.claude/skills/swiss-design/SKILL.md
206+
5. Extract: 8px baseline, 12-column grid, flush-left alignment, one typeface
207+
6. Apply these principles in ALL subsequent iterations
208+
```
209+
210+
### Step 1-5: Continue with iteration cycle
211+
212+
1. Confirm the target component/file path
213+
2. Confirm the number of iterations requested (default: 10)
214+
3. Optionally confirm any competitor sites to research
215+
4. Set up browser with `agent-browser` for appropriate viewport
216+
5. Begin the iteration cycle with loaded skill principles
165217

166218
Start by taking an initial screenshot of the target element to establish baseline, then proceed with systematic improvements.
167219

0 commit comments

Comments
 (0)