web-stylebook-design

web-stylebook-design is a skill for Claude Code, Codex from seungdori/web-stylebook-mcp. It costs 133 tokens per session (5,929 once invoked), scanned A, original, MIT.

A design-review guide for building or changing user interfaces such as pages, dashboards, forms, and developer consoles. It connects to Web Stylebook, which returns design plans and rules while the developer writes the actual code.

In plain words
What is it for?
Use it before creating, auditing, improving, or redesigning a frontend UI, and to define the review scope and depth before making changes.
Why use it?
It makes the developer check visual design, wording, information structure, behavior, accessibility, and performance before changing an interface.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before creating, auditing, improving, or redesigning a frontend UI, and to define the review scope and depth before making changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seungdori/web-stylebook-mcp/web-stylebook-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add seungdori/web-stylebook-mcp --skill web-stylebook-design
Clone the repo
git clone --depth 1 https://github.com/seungdori/web-stylebook-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-stylebook-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/seungdori/web-stylebook-mcp/web-stylebook-design/github.svg)](https://agentmods.dev/skills/seungdori/web-stylebook-mcp/web-stylebook-design)
Your own site
<a href="https://agentmods.dev/skills/seungdori/web-stylebook-mcp/web-stylebook-design"><img src="https://agentmods.dev/badge/skills/seungdori/web-stylebook-mcp/web-stylebook-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-stylebook-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/seungdori/web-stylebook-mcp/web-stylebook-design"><img src="https://agentmods.dev/badge/skills/seungdori/web-stylebook-mcp/web-stylebook-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,929 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00133 $0.05929
Opus 5 $0.00067 $0.02965
Sonnet 5 $0.00027 $0.01186
Haiku 4.5 $0.00013 $0.00593

Measured 12d ago against content hash 18404edcc291, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

web-stylebook-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/web-stylebook-design/SKILL.md · 336 lines

How it starts

The opening of the file, as written. The whole thing — 336 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web Stylebook — design before you build

You have the Web Stylebook MCP server (web-stylebook) connected. It returns design contracts (scored directions, visual-design plans, UX-principle plans, UI-state plans, tokens), not code. You still write the code. Calling it before writing UI produces far better, less generic results.

When to fire

Before writing JSX/HTML/CSS for any new or redesigned UI surface. If you catch yourself about to scaffold a page from memory, stop and run step 1 first.

Scope gate for audits and redesigns

When the user asks to audit, review, critique, or improve an existing UI and has not already defined the scope, ask these two short questions before inspecting or changing it, then stop until they answer:

  1. Audit coverage — visual only; visual + user-facing copy and information structure; or full experience including interaction, accessibility, UI states, and build/performance evidence?
  2. Change depth — findings only; prioritized change and rewrite proposals; or implement the approved fixes and verify them?

Do not ask again when the request already answers both dimensions (for example, “copy only, report only” or “review everything and fix it”). If the user says to use your judgment, state the selected scope and proceed. Commit, push, release, and deployment remain separate authorizations even when implementation is selected. For a new build, fold these decisions into workflow step 4 instead of asking a duplicate gate.

Map the answer to get_design_audit_plan.includeGroups:

  • Visual only: layout, fidelity, anti-patterns.
  • Visual + content/structure: add content and behavior so labels, navigation, and information relationships are inspected with the visuals.
  • Full experience: use every matching group, selected-principle checks, documentation, and UI-state coverage.

Workflow

  1. recommend_design_direction — pass the product context (productType, tone, density, usageFrequency, trustSensitivity, constraints, avoid). It returns scored candidates with reason codes, rejected styles with reasons, secondary pairings, assumptions, and a confidence. Treat candidates as evidence — you pick using product context; candidates[0] is the strongest match, not a mandate.
  2. Read the chosen styleswebstylebook://styles/{id} for each pick (primary + any pairing). Then call search_design_references with a narrow product/category/tag query and inspect only a few selected entries with get_design_reference. Record their observation date, attribution, and rights notice. Borrow transferable structure and measured tokens; never copy or redistribute upstream screenshots, brand assets, copy, typefaces, or visual identity.
  3. Intake, then get direction approval — before component work. First run a short intake so the previews use the right material (ask, don't assume):
    • Assets — do they have images/brand assets to use (and which)? If not, may you pull license-free sample imagery (e.g. Unsplash, free for commercial use) for the example, or is no imagery needed? (A: provided — they say which · B: none — you source license-free samples · C: not needed)
    • Emphasis — anything they specifically want emphasized, or any must-have / non-negotiable? Then, for open-ended UI requests, compose and show 2-3 distinct candidate directions or page previews, each with a concise critique and a clear recommendation, and ask which feeling/direction is right. The candidates must differ in opening structure (different dominant element + first-read element — see The opening below), not merely color/type tone; present at most one two-column-derived option, and make at least one carry no running-text column. Stop here until the user picks a direction or explicitly tells you to proceed. Do not build the final component system, reusable components, or production page before this approval gate.
  4. Confirm scope & resolve open details — before building. Once a direction is approved, do not start implementing. First surface the decisions that change what you build, as a short, concrete checklist — ask, don't assume:
    • Scope & deliverable — the full reusable component library, or a single page/screen? One surface or several? A throwaway preview, or production code committed to the repo?
    • Stack & integration — framework (React / Vue / Svelte / plain), styling (CSS variables / Tailwind / CSS-in-JS), TypeScript, and any existing design system or components to reuse/extend.
    • Real content & data — brand/product name, real copy or placeholder, actual data shape and entities, must-have features, and explicitly what to leave out. (This is where you get the real numbers or omit them — never invent metrics to fill space.)
    • Audience & environment — primary devices/breakpoints, light/dark/both, locales, accessibility level, any performance budget. Turn the working assumptions into confirmed facts here. Build only after the user answers — or explicitly says "use your judgment," in which case record the assumption and proceed. Keep it to 3–6 high-leverage questions; don't interrogate.
  5. Plan each screen around the one thing — drop the word "hero"; it summons the SaaS template. Name the single most important thing the user is there for, build the screen around it, and make everything else earn its place or cut it. Run the furniture-check (see The opening below) on each screen, not just the first. Do not default to Hero + Features + Testimonial + CTA. Look up component vocabulary in webstylebook://components, then name the intended outcomes, matching surface, and current design phase for the next step.
  6. get_design_principle_plan — pass the current layout concerns, matching surface, and design phase (or a small explicit id set). Use the returned placement guidance, application steps, verification checks, and cautions. Read webstylebook://design-principles/{id} only for selected entries. These are independently authored, testable craft prompts—not empirical laws or a fixed recipe. Accessibility and truthful behavior override visual polish.
  7. get_ux_principle_plan — pass the intended outcomes, matching surface, and current design phase (or a small explicit id set). Use the returned design questions, apply steps, verification checks, cautions, and evidence confidence. Read webstylebook://principles/{id} only for the selected entries. These are contextual decision prompts, not universal laws or a substitute for user research; accessibility, safety, informed consent, and truthful feedback override them.
  8. get_ui_state_plan — for each surface (data-table, form, checkout, chat, developer-console). Implement the required + recommended states, honoring mustNot (e.g. no silent auto-retry, don't lose user input, don't imply a charge that didn't happen).
  9. compose_design_tokens — emit a starting token set (css-variables / tailwind / typescript). Heed the contrast warnings; don't ship 8–12% ghost borders.
  10. Write design.md — a brief with: intent, audience/tasks, chosen direction + why, rejected directions, tone, color roles (not a raw palette), type roles, spacing/density, layout rules, surface hierarchy, component behavior, motion (use AND avoid), selected visual-design principles
  • placement checks, selected UX principles + cautions, returned UI-state coverage, responsive, accessibility, anti-patterns, confirmed decisions (from step 4), and verification checklist. Never leave a section empty.
  1. Implement, then call get_design_audit_plan with styleId, surfaces, designPrincipleIds, uxPrincipleIds, matching stateSurfaceIds, and locale. This returns a localized, surface-aware checklist with stable ids, severity, applicability, and required evidence without loading the full three-language policy resources. Inspect the actual rendered UI, source, interactions, console, and commands for every returned check. Use PASS / FIX_NOW / RISK / NOT_APPLICABLE / NOT_VERIFIED; every PASS needs observed evidence, and missing evidence is NOT_VERIFIED, never an inferred pass. Include the opening's furniture-check when applicable: if the visual is generic furniture (a stock photo, an abstract shape, or a card you could paste onto another product) rather than a bespoke product demonstration, or the copy column is the full quartet, recompose. Do not skip the checklist's principles group: run each principle's recorded verification check against the built UI and write down the outcome (pass / fail / n-a + why). A principle name in design.md with no placement decision and no observed check is the principle-as-decoration anti-pattern — verify it or drop it. Keep contextual / contested labels intact; never let a principle override accessibility, safety, informed consent, or truthful feedback. When the confirmed scope includes content, do not skip the checklist's content group. Inspect the actual visible strings and their hierarchy, not just component names or localization keys. The absence of internal jargon is not a pass: ask what each material statement actually says, what supports it, whether it is specific to this context, and whether its certainty and prominence match that support and its usefulness.
  2. Validate the audit result contract — call validate_design_audit_result with the exact plan query, expectedPlanHash from get_design_audit_plan.identity.planHash, and an explicit target for every inspected route/screen/state/viewport/theme/locale. Evidence needs a durable artifact reference, content hash, or exact route/selector/file/region; interaction evidence also identifies its before/input/after/recovery phase. Submit one result for every planned check/target. Resolve contract errors or preserve the validator's normalized NOT_VERIFIED; valid: true means the result contract is complete and internally consistent, not that the design passed. This inline pass is your job on every build. The server also ships three deeper audits as MCP promptsaudit-design-direction, audit-design-principles, audit-ux-principles. Those are slash commands the user invokes, not tools you can call, so don't wait on them: do the inline audit yourself, and mention the prompts when a review deeper than your own is warranted.

Read the full file on GitHub · 336 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 336 lines · 133 tokens per session scan A 18404edcc291

Subscribe to this mod's changes

web-stylebook-design is a skill published in the GitHub repository seungdori/web-stylebook-mcp (4 stars, last pushed 12d ago), licensed MIT. It adds 133 tokens to every session and 5,929 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens