skills/ui-improve/SKILL.md
Iteratively analyze and improve UI interfaces via Gemini Vision. Score, feedback, implement, re-score until 7/10.
npx skillsauth add devattom/.claude ui-improveInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Iterative user interface improvement guided by Gemini Vision scoring.
GEMINI_API_KEY configured (env variable or .env)uv installed (curl -LsSf https://astral.sh/uv/install.sh | sh)REQUIRED — Ask the user before any action:
"How would you like to provide screenshots for iteration?
A) Playwright — I take the screenshots myself (requires a running dev server, provide the URL)
B) Manual — You provide screenshots at each iteration (drag & drop or file path)"
Remember the choice for the entire session.
mcp__plugin_playwright_playwright__browser_navigate then mcp__plugin_playwright_playwright__browser_take_screenshot.Before sending anything to Gemini, analyze the context:
references/design-principles.mdDocument this pre-analysis as a short summary (5-10 lines) before moving to Step 2.
Playwright mode:
1. mcp__plugin_playwright_playwright__browser_navigate → dev server URL
2. mcp__plugin_playwright_playwright__browser_take_screenshot → /tmp/ui-improve-v0.png
Manual mode: Ask the user: "Please provide a screenshot of the current interface."
Run the analysis via the script:
~/.claude/skills/ui-improve/scripts/run.sh gemini_analyze.py \
/tmp/ui-improve-v0.png \
--output /tmp/ui-improve-analysis-v0.json
Read the JSON result and present to the user:
Combine:
references/design-principles.md)references/micro-interactions.md)Propose a concrete improvement plan:
Wait for user approval before implementing.
Apply the approved changes to the project source code.
~/.claude/skills/ui-improve/scripts/run.sh gemini_analyze.py \
/tmp/ui-improve-v1.png \
--output /tmp/ui-improve-analysis-v1.json
IF overall_score >= 7.0:
DONE — Present before/after comparison
Offer to document via template assets/design-guideline-template.md
ELSE IF iteration >= 4:
STOP — Present scores, ask user if they want to continue
ELSE:
Return to Step 4 with new Gemini feedback
Maximum 4 iterations by default (safety net to avoid infinite loops and excessive Gemini token consumption).
references/design-principles.md — Visual hierarchy, typography, color theory, white spacereferences/micro-interactions.md — Duration, easing curves, animationsreferences/storytelling-design.md — Design storytelling, parallax, thematic consistencyreferences/design-resources.md — Inspiration platforms, toolsdevelopment
Use when you want to audit a project wiki for quality issues — stale version claims, contradictions between pages, orphan pages, broken wiki links, missing cross-references, or misalignment between wiki content and the actual codebase state.
development
Systematic error debugging with analysis, solution discovery, and verification
development
Structured adversarial debate between AI councillors using Agent Teams to evaluate ideas, plans, or decisions. ALWAYS use when the user says "council", "debate this", "evaluate this idea", "challenge my plan", "stress-test", "devil's advocate", "multiple perspectives", "évaluer cette idée", "débattre", "challenger mon plan", "tester cette décision", or when the user wants rigorous multi-perspective analysis of a proposal, architecture decision, or strategic choice. Each councillor (visionary, critic, pragmatist, innovator, ethicist, domain expert) represents a distinct perspective and they challenge each other through cross-examination and peer exchange, producing a nuanced verdict (PROCEED / PROCEED WITH CONDITIONS / RECONSIDER / DO NOT PROCEED). Do NOT use for divergent brainstorming or idea generation — use workflow-brainstorm instead.
testing
Automated CI/CD pipeline fixer - watches CI, fixes errors locally, commits, and loops until green. Use when CI is failing and you want to automatically fix and verify changes.