Communitygithub.com

design-pass

One entry point for improving how an existing page, component, or whole app looks and feels. Picks the right one or two installed design skills for the surface (marketing page, app UI, motion, data, mobile), audits with before/after screenshots, implements within the project's own components and tokens, verifies responsive layout, and can run a multi-model taste review. Use when the user says "improve the design", "make it look less generic", "use the taste skill", "apple design this", "design pass", "polish the UI", "taste council", or names several design skills at once. Not for a pure layout bug such as overflow or clipping on mobile (responsive-qa), checking that features work (feature-audit), a single named animation or one design skill the user already invoked directly, code or PR review, or backend work.

O que é design-pass?

design-pass is a Claude Code agent skill that one entry point for improving how an existing page, component, or whole app looks and feels. Picks the right one or two installed design skills for the surface (marketing page, app UI, motion, data, mobile), audits with before/after screenshots, implements within the project's own components and tokens, verifies responsive layout, and can run a multi-model taste review. Use when the user says "improve the design", "make it look less generic", "use the taste skill", "apple design this", "design pass", "polish the UI", "taste council", or names several design skills at once. Not for a pure layout bug such as overflow or clipping on mobile (responsive-qa), checking that features work (feature-audit), a single named animation or one design skill the user already invoked directly, code or PR review, or backend work.

Funciona com✓Claude Code✓Codex CLI✓Cursor
npx skills add https://github.com/dxbh0517/dxbh-skills/tree/HEAD/content/fixtures/skill-design-pass/skills/design-pass

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Design pass

The user should not have to remember which three design skills to combine. You pick, you stay inside the project's design system, and you prove the result with screenshots.

Harness notes

NeedT3 CodeClaude Code / Codex / Cursor / other
Browser + screenshotspreview_* toolsPlaywright (npx playwright screenshot --viewport-size=390,844 <url> <file>), or the harness browser
Taste councilcouncil skill if installedcouncil skill if installed; else a single-model critique (say so)
Ask the userquestion toolAskUserQuestion, or a plain question, then stop

Screenshots and notes go to the harness scratchpad, else ${TMPDIR:-/tmp}/design-pass/<repo>-<YYYYmmdd-HHMM>/. Write into the repo only when the user asks.

1. Scope and surface

From the request, decide:

  • Scope: one section, one page, one flow, or the whole app. "The entire app" means a page list first (the feature-audit skill's inventory if installed, else the router's route files) and one page per step, not one giant diff.
  • Surface type (pick one): marketing/landing, product UI (dashboards, forms, settings, lists, modals), motion/interaction, data display, native or mobile-web feel.
  • Goal words the user used ("generic", "lackluster", "cluttered", "Apple-like", "loud"). Keep them; they are the acceptance criteria.

2. Pick at most two skills

Run the router with the user's request text:

python3 scripts/route.py "<the user's request>"

It reads references/routing.md and prints the surface, one primary, at most one secondary, and which are installed (~/.claude/skills, ~/.agents/skills, ~/.cursor/skills, ~/.codex/skills). No Python: read the table yourself.

  • The user named skills → use those; route only the remaining gap.
  • Load only the ones you picked. A missing primary falls back to the next installed one in its row.
  • Neither the primary nor its fallbacks installed → show the user the install command the router printed (or the Install table), then continue with the project's own design system and the goal words. Do not stall.
  • The router says "Layout bug, not taste" → run responsive-qa (if installed) or fix the layout bug first, then design.

3. Learn the project's system first

Before designing anything, find and follow:

  • The component library (components/ui/, shadcn components.json, a shared chart/table kit, Storybook). New UI reuses these; do not hand-roll a modal, button, or chart the project already has.
  • Tokens: CSS variables, Tailwind theme, DESIGN.md/AGENTS.md notes.
  • What the rest of the app looks like now, so one page does not drift.

4. Audit with evidence

Open the page in a browser (see Harness notes) at mobile (390 px) and desktop (1440 px). Save before screenshots to the scratch dir as before-<page>-<width>.png. List at most 8 problems against the goal words and the chosen skill's rules, worst first. Show the list in a few lines before large rewrites.

5. Implement

Change the fewest files that fix the listed problems. Keep copy, data, and behaviour unless the user asked to change them. Respect prefers-reduced-motion for any motion you add. No new dependency without saying why.

6. Verify

Run the responsive-qa skill on every page you changed, if installed. Otherwise check yourself at 390, 768 and 1440 px: no horizontal page scroll, no clipped or overlapping text, tap targets usable; add a WebKit run when Playwright is available. Save after screenshots at the same widths as after-<page>-<width>.png. Not done while any of these fail.

7. Taste review (optional)

Run when the user asks for a "taste council", asks several models to evaluate the design, or the scope is a whole app.

  • council skill installed: use it with these changes: give each member the before/after screenshots plus the paths of the changed files, ask for a score out of 10 against the goal words and the primary skill's principles, cap at 2 rounds. Members are read-only.
  • Not installed: do one critique yourself against the same brief and score, fix what it finds once, and tell the user it was a single-model review, not a council.

8. Report

Per page: the skills used (and any you could not install), the 3–5 most visible changes, and the before/after screenshot paths. Then what you declined or left for later.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Habilidades Relacionadas