Applies locked UI/UX decisions from DESIGN.md and design/pages/ to project code, consuming design/deltas/ and maintaining design/applied.md, then verifies with Playwright. Use after design decisions change or code drifts from design.
Ships in sdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The code follows the design, not the other way around. This skill takes locked decisions from DESIGN.md and design/pages/<slug>.md, discovers where they live in the project code, applies the pending ones, verifies the result in the browser, and records what was applied in design/applied.md. It never decides design: a missing or ambiguous decision is a stop-and-ask.
The project is rediscovered on every run. Never rely on a persisted code map or on assumptions from an earlier run; the code is the map.
/apply-design [scope|all] [--dry-run] [--no-verify] [--force]
scope — page slug (chat, settings, …) or screen name. Applies only that scope's pending decisions.all — every pending decision across scopes.all when one scope is pending; if several, list them and ask which.--dry-run — stop after the plan; no files change.--no-verify — skip the browser step; record skipped.--force — re-apply even when fingerprints match (use after unrelated code drift).DESIGN.md. If it is missing, status is not locked, or layers doesn't include 1, stop and tell the user to run /design-decisions first.design/pages/), it is valid; note that page files haven't been split yet.CLAUDE.md, AGENTS.md, README, and any docs/ rules they point to. They override this skill's generic defaults.MASTER.md, STYLEGUIDE.md, design-system/*, or any document claiming binding UI rules. Compare them with DESIGN.md:
/design-decisions, then replace the file with a pointer to DESIGN.md, or retire it. Never edit or delete it yourself; never let two files bind the same decision.git status --short: note unrelated changes so the report can separate them. Don't stash or revert anything.design/applied.md; missing means nothing has been applied yet (references/applied-ledger.md).design/deltas/*.json; a missing directory means there are no delta files. If several deltas touch one decision, the newest created_at wins.kind: "removed" → pending removal.Fingerprint differs from to_fingerprint → pending.to_fingerprint absent (manual round) → compare version_to with the ledger's Version; if still ambiguous, ask.--force → every decision in scope.DESIGN.md and page files are canonical. If they disagree, follow the locked file, report the mismatch, and ask the user to regenerate the delta through /design-decisions — don't edit it.references/discovery.md and follow it now, every run. Do not read or trust a cached or persisted code map; if the repository has one, treat it as a stale hint at most.Glob, Grep, and Read.Explore subagents may cover independent areas (theme, shell, screens, data). Never run parallel editing subagents./design-decisions; don't invent.--dry-run ends here.Explore subagents may map files; never run parallel editing subagents.references/verification.md: start the dev server with the discovered command/port, log in through the UI, and navigate the way the app actually works (click; don't deep-link into state-based views)..design/verify/<YYYYMMDD-HHmm>-<scope>/. They must be gitignored before they are written; if the directory is not ignored, ask to add it to .gitignore first.--no-verify only with the user's agreement.design/applied.md exactly as references/applied-ledger.md says: only decisions with a verified pass get the new fingerprint and version; --no-verify records skipped; failures leave the old row.DESIGN.md, design/pages/, and design/deltas/ are read-only here. Only design-decisions or an approved ui-prompt exit review changes them.What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/bug-fixAutonomously reproduce, diagnose, and fix bugs with a bounded fix-and-verify loop./deep-specConducts an interview-driven design session using a multi-level zoom approach (L5:Domain to L1:Line), producing a structured spec.md under docs/sdd/features/. Use when user mentions "deep-spec", "spec-designer", or wants to design a new feature through guided questioning./design-decisionsCollects a project's UI/UX decisions from the user through an HTML preview with selectable alternatives, then records and locks them in DESIGN.md (Layer 1) and design/pages/<slug>.md (Layer 2). Use for a new project, a new screen, a redesign, or when DESIGN.md is missing; also when a locked design decision needs to change. Triggers - design system, theme, color, typography, layout, screen layout, user flow, design decision, DESIGN.md, UI choice, style choice. Never guess design decisions; ask through this skill./sdd:apply-design [scope|all] [--dry-run] [--no-verify] [--force]from sdd
npx claudepluginhub onur-aslan/sdd --plugin sddOther plugins' skills for the same job