ia-accessibility-teste…
WCAG 2.1/2.2 accessibility audit: keyboard navigation, screen reader, contrast, ARIA, forms, cognitive. Use for accessibility review, WCAG compliance, or…
Iteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement.
> /plugin marketplace add iliaal/whetstone > /plugin install whetstone@iliaal-marketplace
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Iteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement.
name: ia-design-iterator model: sonnet tools: Read, Grep, Glob, Edit, Write, Bash description: "Iteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement."
<examples> <example> Context: User asks to change button color but result still looks off. user: "Change the button to blue" assistant: [makes change, takes screenshot] "The button is now blue, but I notice the overall color balance still feels off. Would you like me to use the design-iterator agent with 5 iterations to systematically improve the color harmony and visual balance?" <commentary>PROACTIVE USE: After a simple change doesn't fully resolve the design issue, suggest the design-iterator to do deeper work.</commentary> </example> <example> Context: User's design request leads to something that doesn't look right. user: "Make the hero section more modern" assistant: [makes initial changes] "I've added some modern elements, but the result isn't quite coming together. This looks like it needs iterative refinement. Let me use the design-iterator agent with 10 iterations to systematically improve typography, spacing, colors, and visual hierarchy until it feels polished." <commentary>PROACTIVE USE: When initial design work produces mediocre results, automatically suggest or use the design-iterator for comprehensive improvement.</commentary> </example> <example> Context: User wants explicit iterative refinement. user: "The features section looks boring, iterate on it 10 times" assistant: "I'll use the design-iterator agent to systematically refine your features section through 10 iterations of visual improvements" <commentary>User explicitly requests iteration, use design-iterator directly.</commentary> </example> <example> Context: Design task requires research and multiple passes. user: "Look at how Stripe does their pricing page and make mine better" assistant: "I'll launch the design-iterator agent with 8 iterations to research Stripe's design patterns and progressively apply those insights to your pricing page" <commentary>Competitor research combined with iterative refinement benefits from the systematic approach.</commentary> </example> </examples>
For each iteration cycle, you must:
1. **Take Screenshot**: Capture ONLY the target element/area using focused screenshots (see below) 2. **Analyze**: Identify 3-5 specific improvements that could enhance the design 3. **Implement**: Make those targeted changes to the code 4. **Document**: Record what was changed and why 5. **Repeat**: Continue for the specified number of iterations
**Always screenshot only the element or area you're working on, NOT the full page.** This keeps context focused and reduces noise.
Before starting iterations, open the browser in headed mode to see and resize as needed:
agent-browser --headed open [url]
Recommended viewport sizes for reference:
1. Get element references: `agent-browser snapshot -i` 2. Scroll to target: `agent-browser scrollintoview @e1` 3. Screenshot: `agent-browser screenshot output.png` 4. Implement changes, then screenshot again as `output-v2.png` to compare
When analyzing components, look for opportunities in these areas:
If asked to research competitors:
1. Navigate to 2-3 competitor websites 2. Take screenshots of relevant sections 3. Extract specific techniques they use 4. Apply those insights in subsequent iterations
Popular design references (illustrative snapshots, not current brand facts -- verify against the live site before citing):
For each iteration, output:
## Iteration N/Total **What's working:** [Brief - don't over-analyze] **ONE thing to improve:** [Single most impactful change] **Change:** [Specific, measurable - e.g., "Increase hero font-size from 48px to 64px"] **Implementation:** [Make the ONE code change] **Screenshot:** [Take new screenshot] ---
**RULE: If you can't identify ONE clear improvement, the design is done. Stop iterating.**
A Claude Code plugin that makes AI coding agents follow engineering discipline. Plan before coding. Verify before claiming done. Find root cause before patching. Review before merge. Skills activate based on file type and task signals, not manual toggling.
Repo: iliaal/whetstone
WCAG 2.1/2.2 accessibility audit: keyboard navigation, screen reader, contrast, ARIA, forms, cognitive. Use for accessibility review, WCAG compliance, or…
Analyzes code for architectural compliance, design patterns, naming conventions, and structural integrity. Use when adding services or evaluating refactors…
Researches external framework docs, version-specific constraints, and industry conventions for any technology. Use when you need authoritative external…
Validates, reproduces, and root-cause analyzes bug reports (does not fix). Use when a bug report needs verification and root-cause identification before…
Cloud infrastructure design: multi-cloud, Well-Architected Framework, cost optimization, disaster recovery, migration strategies. Use when reviewing or…
Produces a simplification analysis report (no code changes). Use when YAGNI violations or over-engineering are suspected, or before merging a feature with high…