promptpartner/agentsmith/design-review
Claude Code and agent skill by promptpartner/agentsmith
- community
Checking that the SKILL.md file is still in the repository.
Use when adding or restyling a Facet UI component, or before merging a UI PR — walks the component against DESIGN.md (tokens, states, a11y, contrast, responsive) so the design system is matched, not just remembered. The judgment check verify.sh can't grep.
Install
npx vskill@latest install promptpartner/agentsmith/design-reviewSKILL.md
The same SKILL.md was published earlier as promptpartner/agentsmith/design-review.
Design Review — Facet UI
verify.sh proves a component builds, types, tests, and passes axe. It cannot prove the component matches the design system — "is this on-system?" is a judgment call, not a grep (see `docs/11`). This skill is that judgment pass, as a checklist, so a component doesn't ship looking almost-right. It loads only when you're reviewing UI — everyday work doesn't pay for it.
When this fires
You type /design-review, or you've added/restyled a component and are about to open or merge the PR.
Before you start
Open `DESIGN.md` and keep it beside the diff. Every check below is "does the component agree with DESIGN.md?" — if you're guessing, you haven't read it recently enough.
Checklist
Walk these in order. Stop at the first miss, fix it, restart — an off-system component is not "done."
- Tokens, not literals. No raw hex,
pxfont sizes, or magic radii in the component — every
value resolves to a token in src/tokens/ that mirrors DESIGN.md (color.primary, radius.md, type.body, space.lg). A literal #5e6ad2 or 13px is a miss even if it looks identical, because the next token change won't reach it.
- All states present and on-system. Default, hover, active,
:focus-visible, and disabled —
each matching DESIGN.md (e.g. a primary button: hover → primary-hover #828fff, focus → a 2px primary-focus ring). A missing state is the most common miss; check every interactive part.
- Accessible. Keyboard-operable, correct ARIA role/name, a visible focus ring (never
outline: none without an equal replacement), and contrast ≥ 4.5:1 for body text (≥ 3:1 for large / UI). test-storybook's axe pass is necessary but not sufficient — eyeball the focus ring.
- Type and spacing scale. Sizes, weights, line-heights, and letter-spacing come from the type
scale; padding/gaps come from the spacing scale. No one-off 600 weight where DESIGN.md says 500, no 10px gap outside the 4px grid.
- Right surface and elevation. Backgrounds use the surface ladder (
canvas → surface-1 → …) and
depth is carried by surface + hairline border per DESIGN.md — not an invented drop shadow or a skipped surface level.
- Responsive. The component reflows per the breakpoints and holds touch-target minimums
(CTAs ≥ 40px, ≥ 44px on touch). Check the smallest supported width, not just desktop.
- `DESIGN.md` moved with the code (R6). If you added a new component pattern or variant, its
entry exists in DESIGN.md's components: section in this same PR. If the pattern you needed wasn't in DESIGN.md, it should have been added there first — fix the order, don't paper over it.
- Story + test cover the above. The
.stories.tsxshows every state (so the a11y/interaction
runner and a reviewer both see them); the .test.tsx asserts them. A state with no story is a state no one reviews.
Notes
- If a value you need genuinely isn't in
DESIGN.md, stop and establish it there first, then
build — don't invent an off-system value and reconcile later (that's the drift this whole example exists to prevent).
- Dark-only is intentional:
DESIGN.mdships no light theme. Don't add light-mode styling here; if
it's needed, it's a DESIGN.md change first, not a per-component one.
- This is a review of adherence, not correctness — run
scripts/verify.shfor the mechanical gate.
Both have to pass before merge.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/ui-component-library/.claude/skills/design-review/SKILL.md
Popularity
- Repository stars
- 173
- Repository forks
- 6
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. 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/promptpartner/agentsmith/design-review)