rahulsub/code-practices-plugin/visual-iteration
Claude Code and agent skill by rahulsub/code-practices-plugin
- community
Checking that the SKILL.md file is still in the repository.
UI feedback loop using screenshots. Provide design mock, implement, screenshot result, iterate until matching. Use for visual work.
Install
npx vskill@latest install rahulsub/code-practices-plugin/visual-iterationSKILL.md
The same SKILL.md was published earlier as rahulsub/code-practices-plugin/visual-iteration.
Visual Iteration Skill
Trigger
Use when implementing UI components, layouts, or any visual work where "looks right" matters.
The Insight
From Anthropic's Claude Code best practices: "Provide design mocks or screenshots. Have Claude implement, screenshot results, and iterate until matching the target. This gives Claude concrete feedback for refinement."
Why This Works
- Visual feedback is unambiguous - it either matches or it doesn't
- Faster iteration than describing visual problems in words
- Claude can see exactly what needs adjustment
- Creates tight feedback loop for rapid convergence
The Workflow
Step 1: Provide the Target
Give Claude a clear visual reference:
Ways to provide visual targets:
- Drag and drop images into the chat
- Provide file paths to images
- Share Figma export screenshots
- Use URLs to design references
Step 2: Initial Implementation
Claude implements based on the visual reference.
Step 3: Screenshot the Result
Capture what Claude built:
Step 4: Compare and Iterate
Share the screenshot back with Claude:
Step 5: Repeat Until Matching
Continue the loop:
- Claude adjusts
- You screenshot
- You compare
- You provide feedback
- Repeat until satisfied
Effective Feedback Examples
Vague (less effective):
"It doesn't look right"
Specific (more effective):
"The button is 20px too far from the edge. The font weight should be semibold not bold. The border radius should match the card above it."
With visual reference:
"See how in the design the cards have subtle shadows? Current implementation has no shadow. Addshadow-smto match."
Template for Visual Tasks
Tips for Better Visual Iteration
Provide Context
- Include surrounding UI elements in screenshots
- Show both light and dark mode if applicable
- Include different viewport sizes
Be Specific About Differences
- "Too much padding" → "Reduce padding from 24px to 16px"
- "Wrong color" → "Use gray-600 instead of gray-500"
- "Alignment off" → "Left edge should align with the header above"
Use Browser DevTools
- Inspect computed styles to give exact values
- Use device mode for responsive testing
- Screenshot specific breakpoints
When to Use This Skill
- Implementing designs from Figma/Sketch
- Matching existing UI patterns
- Fixing visual bugs
- Building responsive layouts
- Polishing UI details before release
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/visual-iteration/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rahulsub/code-practices-plugin/visual-iteration)