You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- 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>
Copy file name to clipboardExpand all lines: plugins/compound-engineering/agents/design/design-iterator.md
+69-17Lines changed: 69 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,42 +126,94 @@ For each iteration, output:
126
126
```
127
127
## Iteration N/Total
128
128
129
-
**Current State Analysis:**
130
-
- [What's working well]
131
-
- [What could be improved]
129
+
**What's working:** [Brief - don't over-analyze]
132
130
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]
137
132
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]
140
136
141
137
**Screenshot:** [Take new screenshot]
142
138
143
139
---
144
140
```
145
141
142
+
**RULE: If you can't identify ONE clear improvement, the design is done. Stop iterating.**
143
+
146
144
## Important Guidelines
147
145
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?"
150
149
- Don't undo good changes from previous iterations
151
150
- Build progressively - early iterations focus on structure, later on polish
152
151
- Always preserve existing functionality
153
152
- Keep accessibility in mind (contrast ratios, semantic HTML)
153
+
- If something looks good, leave it alone - resist the urge to "improve" working elements
154
154
155
155
## Starting an Iteration Cycle
156
156
157
157
When invoked, you should:
158
158
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)"
0 commit comments