design-check
Skill4 starsChanged 4 months agoMITView on GitHub
MANDATORY pre-flight before UI work against any design reference (Figma, Stitch, screenshot, mockup): diff the current build vs the design and get sign-off on the concrete gap list BEFORE coding. Triggers on /design-check or 'make it look like this'.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- JohanHuynh0130/kitstartertheir own version, first seen Jul 16, 2026
- leighstillard/coach-ship-skillstheir own version, first seen Jun 22, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- leighstillard/coach-ship-skills★ 2same name
- JohanHuynh0130/kitstarter★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository162 other files it gives its agents.
- agents/AGENTS.mdAGENTS.md
- skills/compound-engineering/AGENTS.mdAGENTS.md
- skills/trailofbits-security/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- examples/CLAUDE.mdCLAUDE.md
- skills/compound-engineering/CLAUDE.mdCLAUDE.md
- skills/trailofbits-security/CLAUDE.mdCLAUDE.md
- app-store-reviewSkill
- advanced-javascriptSkill
- ai-native-uiSkill
- anime-jsSkill
- app-l100Skill
- barba-jsSkill
- brand-guidelinesSkill
- cinematic-web-engineSkill
- codebase-knowledge-graphSkill
- crossplatform-monorepoSkill
- css-first-uiSkill
- design-auditSkill
- design-critiqueSkill
- dev-cycleSkill
- device-hardware-bridgeSkill
- discovery-docSkill
- docxSkill
- edge-intelligenceSkill
- graph-aware-reviewSkill
- linkedin-posterSkill
- local-first-architectureSkill
- modern-build-pipelineSkill
- motion-nativeSkill
- nano-bananaSkill
- playwrightSkill
- pptxSkill
- project-initSkill
- remotionSkill
- sensory-nativeSkill
- spline-3dSkill
- streaming-cacheSkill
- tanstack-ecosystemSkill
- design-taste-frontendSkill
- tauri-desktopSkill
- threejsSkill
- transition-nativeSkill
- ui-design-stackSkill
- visual-nativeSkill
- web-l100Skill
- web-platform-apisSkill
- xlsxSkill
- better-authSkill
- claude-real-videoSkill
- clone-websiteSkill
- css-keyframe-animationsSkill
- design-dnaSkill
- design-polishSkill
- drizzle-neonSkill
- fastlaneSkill
- angular-architectSkill
- api-designerSkill
- architecture-designerSkill
- atlassian-mcpSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
If either input is missing, stop and ask.
- Very specific: line 36
Check ~/.claude/logs/tool-health.json for browser-preview failure counts.
- Distinctive: line 83
If you find zero gaps, say so explicitly: *"No visual gaps detected between current build and design.
- Distinctive: line 106
After all changes, re-run Step 3 (capture current build)
- Very specific: line 120
If the weekly-mcp-health scheduled task flags the browser preview as healthy again, this skill's Step 2 fallback rationale should be …
- Distinctive: line 121
If a Stitch MCP server appears, integrate it directly here for design-source-of-truth rather than scraping URLs.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/design-check — Front-loaded visual diff before any UI code
Execute the workflow. Do not start coding until step 5 is signed off.
Why this exists
The Claude Code Insights report (2026-05-13) flagged 2+ sessions where the user supplied screenshots after Claude shipped a build that missed tab-bar overlaps, dark-mode breaks, and design-fidelity gaps (cartoon icons where blobs were specified, text overflow, etc.). The fix is structural: list the gaps BEFORE writing code, not after the user notices.
This is the exact reverse of mobile-app-design and design-polish — those are reactive review skills. This one is the pre-flight gate.
Step 1 — Inventory inputs
Identify the two artifacts to compare:
- Design reference: URL (Stitch, Figma, dribbble), file path (PNG/JPG/PDF in the repo or
/c/tmp/), or attached image in the conversation. If none provided, ask once: "What's the design reference? Paste a URL, file path, or screenshot." - Current build output: the running app or rendered page.
- Web: dev server URL (start one if needed via
mcp__Claude_Browser__preview_start) - Mobile (Flutter/RN): a running emulator/device snapshot or recent screenshot
- Static: build artifact opened in browser
- Web: dev server URL (start one if needed via
If either input is missing, stop and ask. Do not proceed with one-sided analysis.
Step 2 — Choose the screenshot tool (with fallback)
Check ~/.claude/logs/tool-health.json for browser-preview failure counts. The in-app browser preview (mcp__Claude_Browser__*; earlier builds exposed it as mcp__Claude_Preview__*, which had chronic screenshot-timeout issues) is the default eyes — but confirm it's healthy first:
node -e "const h=require('~/.claude/logs/tool-health.json').tools; const r7=n=>{const t=h[n];return t&&t.failures?t.failures.filter(f=>new Date(f)>new Date(Date.now()-7*864e5)).length:0}; const shot=r7('mcp__Claude_Browser__computer')+r7('mcp__Claude_Preview__preview_screenshot'); const nav=r7('mcp__Claude_Browser__navigate')+r7('mcp__Claude_Preview__preview_eval'); console.log('screenshot 7d failures:', shot, '| navigate/eval 7d failures:', nav);"- If failures in last 7d ≥ 3 for either → skip the browser preview and fall back in CLAUDE.md order: (1) the
playwright-cliskill (anthropic-skills symlink, runs locally), then (2) Docker-MCP Playwright (mcp__MCP_DOCKER__browser_navigate+mcp__MCP_DOCKER__browser_take_screenshot— check tool-health before trusting). - Otherwise → use the browser preview (
mcp__Claude_Browser__preview_start→computerwithaction:"screenshot";read_pagefor structure/text). - If the whole chain fails → ask the user to paste a screenshot of the running app.
Step 3 — Capture both artifacts
- Open the design reference. If it's a URL, fetch and view it as an image (use
mcp__MCP_DOCKER__browser_take_screenshotafter navigating, orWebFetchif it's a static image URL). - Capture the current build output via the chosen tool (Step 2). Match the design's viewport size — for mobile, resize to 390×844 (iPhone) or 360×800 (Android) before screenshotting.
- Hold both side-by-side in your context. Reading code is not a substitute — you need pixels.
Step 4 — List concrete gaps as a numbered checklist
Output the gap list as markdown. Numbered checklist, not prose. One gap per line. Each gap follows this format:
N. <Category> — <observed> | <design says>Categories: Layout, Spacing, Color, Typography, Iconography, Missing element, Extra element, Dark mode, Interaction state, Responsive, Anti-pattern.
For the Anti-pattern category, cross-check candidate gaps against skills/impeccable/reference/audit-rules.md — cite the AR-ID in the gap line (e.g. Anti-pattern — gradient text on hero heading (AR-02 / BAN 2)).
Example output:
## Gaps found between current build and Figma reference
1. Layout — header logo is left-aligned | design centers the logo
2. Spacing — card padding is 24px | design specifies 16px
3. Color — primary CTA is #6366f1 | design uses #4f46e5
4. Typography — body is Inter 14px regular | design uses Inter 14px medium
5. Iconography — using Material icons for nav | design shows custom blob icons
6. Missing element — design has a search bar above the list; current build has none
7. Dark mode — background flashes white on first paint; design specifies persistent dark
8. Interaction state — buttons have no hover state; design shows a 4% darken on hoverIf you find zero gaps, say so explicitly: "No visual gaps detected between current build and design. Safe to proceed."
Step 5 — Wait for sign-off
Print:
Sign-off requested. Review the gap list above. Reply with one of:
proceed all— fix every gap, in numbered orderproceed N,M,K— fix only the listed gaps (e.g.,proceed 1,3,5)defer N,M,K— fix everything except the listed gapsadd: <description>— add a gap I missedwrong, redo— re-capture screenshots and re-diff (e.g., I had stale state)
Do not write any code until the user replies. This is a hard gate. Without it, the Stitch-friction pattern recurs.
Step 6 — Implement, then re-screenshot
For each accepted gap:
- Make the minimum code change that addresses it
- After all changes, re-run Step 3 (capture current build)
- Re-list any remaining gaps as a checklist with status:
[x]closed,[ ]still open,[!]regressed - Loop back to Step 5 if any gap is open or regressed
When NOT to use this skill
- The user has explicitly said "skip the diff, just implement what I'm telling you"
- The change is non-visual (e.g., refactoring backend logic, adding tests)
- The user provided exact specifications in text (numeric values for spacing/color/typography) — though even then, screenshot-verifying is wise
Notes for future evolution
- If the
weekly-mcp-healthscheduled task flags the browser preview as healthy again, this skill's Step 2 fallback rationale should be re-audited. - If a Stitch MCP server appears, integrate it directly here for design-source-of-truth rather than scraping URLs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

