/unprompted:unprompted-directionfrom unprompted
Creates, extracts, or validates a DESIGN.md specification and semantic CSS tokens for UI projects. Provides 7 WCAG-verified art-directed archetypes (atelier, ledger, press, etc.) grounded in product domain and audience context.
Ships in unprompted. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
DESIGN.md EngineExtends v4 D-01…D-12, A-01, and E-03. Activate when starting a website or web app without an existing design system, selecting a built-in archetype, or extracting DESIGN.md + CSS tokens from a reference page.
Match the product domain to one of 7 WCAG-verified archetypes (or scaffold it via node scripts/design-spec.mjs --init --archetype <name> --with-tokens):
| Archetype | Surface & Accent | Best For |
|---|---|---|
atelier | Warm Alabaster #f6f3ec + Espresso #1c1917 + Terracotta #a83e1f | E-commerce, storefronts, studios, hospitality, culinary & D2C |
ledger | Mineral Paper #f5f7f6 + Pine Ink #0f1915 + Forest #14533d | Fintech, B2B SaaS, billing, treasury, operational analytics |
press | Newsprint Cream #faf7f2 + Charcoal #161615 + Crimson #9f1239 | Technical blogs, research labs, documentation, essays, media |
instrument | Matte Carbon #101012 + Titanium #f4f4f5 + Amber #f59e0b | DevTools, CLIs, cloud infrastructure, creative/audio hardware UIs |
nordic | Limestone #f4f5f7 + Slate #11141a + Cobalt #1d4ed8 | Calm productivity apps, scheduling, health, collaborative workspaces |
brutalist | Stark Chalk #f2f2ef + Pure Ink #111111 + Signal Orange #c2410c | Design engineering agencies, architecture, developer launches |
glass | Smoked Glass #0b0f17 + Titanium #f8fafc + Sky #7dd3fc | Spatial web apps, media suites, AI desktop overlays, macOS/visionOS-style interfaces |
Derive every aesthetic choice from three concrete facts:
If the user has not expressed a preference between light/dark polarity or editorial vs. technical density, ask at most 2 brief questions before writing DESIGN.md.
DESIGN.md at the project rootEvery DESIGN.md must stay concise, measurable, and free of vague adjectives. Include these exact 6 sections:
# DESIGN.md — <Project Name>
## 1. Aesthetic Point of View
- **Reference World**: <concrete physical/editorial reference>
- **Surface Polarity**: <Tinted Light | Architectural Dark | Dual with Light Default>
- **Density**: <Spacious Editorial | Balanced Product | High-Density Operational>
## 2. Color Tokens (90% Neutral / 10% Accent)
- `--bg-canvas`: <hex / oklch> — Primary page background
- `--bg-surface`: <hex / oklch> — Elevated panels / sheets
- `--bg-subtle`: <hex / oklch> — Hover rows / recessed wells
- `--fg-primary`: <hex / oklch> — Primary ink (>= 7:1 contrast on canvas)
- `--fg-secondary`: <hex / oklch> — Supporting copy (>= 4.5:1 contrast on canvas)
- `--fg-muted`: <hex / oklch> — Metadata & captions (>= 4.5:1 if essential text)
- `--border-hairline`: <rgba / oklch alpha> — 1px structural dividers
- `--accent`: <hex / oklch> — Single primary action/signal hue
- `--accent-fg`: <hex / oklch> — Text on `--accent` (>= 4.5:1 contrast)
## 3. Typography & Optical Rules
- **Display Font**: <font family, weights, tracking -0.03em, line-height 1.04>
- **Body / UI Font**: <font family, weights, max-width 64ch, line-height 1.6>
- **Monospace Font**: <font family for IDs, code, metrics + tabular-nums>
- **Rendered sizes**: <at most 6 sizes per view plus mono>
- **Weights**: <at most 4 weights>
## 4. Spatial Grid & Geometry
- **Max Container**: <e.g., 76rem with clamp(1.25rem, 3.5vw, 3rem) gutter>
- **Primary Layout Motif**: <e.g., 7fr/5fr asymmetric split + 1px shared-hairline grids>
- **Corner Radius Scale**: <e.g., 4px controls, 6px panels, concentric outer calc>
- **Blur Budget**: <none | max N backdrop-blur surfaces; fallback surface>
## 5. Motion & Affordances
- **Curve & Timing**: `cubic-bezier(0.22, 1, 0.36, 1)` — `150ms` micro, `220ms` panel
- **Interactive States**: Solid hover shift, `translateY(1px)` active press, `2px` offset `:focus-visible`
## 6. Anti-Patterns Specific to This Brand
- <2–3 domain-specific things never to do on this product>
A-01, E-03)Before locking DESIGN.md, verify every foreground/background pair with the bundled contrast checker:
node <skills-dir>/unprompted-a11y/scripts/contrast-check.mjs --fg "#181614" --bg "#f7f5f0"
Ensure --fg-primary and --fg-secondary pass WCAG AA (>= 4.5:1) against both --bg-canvas and --bg-surface, and --accent-fg passes >= 4.5:1 against --accent. Record the result as evidence for E-03.
Mirror the locked DESIGN.md values directly into the project's stylesheet (tokens.css or globals.css) before building components.
glass is the only archetype that relies on backdrop blur. It must declare a blur budget in DESIGN.md: maximum one blurred surface per view unless the direction explicitly raises the budget, plus a non-blur fallback. A blur budget without a fallback fails D-06; decorative blur orbs still fail M-03.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mocasus/unprompted --plugin unprompted7 skills in this plugin
/unpromptedDirection protocol and evidence gate for AI coding agents. 67 checks across direction, structure, words, access, motion/media, and evidence; replaces generic AI-shaped UI with a declared direction and proof./unprompted-a11yWCAG 2.2 contrast verification, keyboard navigation, focus-visible rings, semantic landmarks, form label/error wiring, and human interaction affordances. Load whenever choosing colors, building forms, dialogs, menus, or auditing UI./unprompted-codeRemove AI-shaped code tells: ASCII banner comments, line-by-line narration comments, emoji console logs, dead defensive wrappers, and placeholder stubs. Load whenever writing, refactoring, or cleaning up source code./unprompted-copywritingWrite direct, honest, human-cadence interface copy, headlines, microcopy, changelogs, and documentation free of AI hype, invented metrics, emoji crutches, and LLM sentence patterns. Load whenever writing or editing text./unprompted-mobileResponsive mobile reflow, breakpoint choreography, touch target sizing, overflow prevention, and small-screen data density rules. Load whenever building responsive pages, navigation bars, dashboards, tables, or forms./unprompted-uiVisual composition, surface hierarchy, spatial rhythm, typography calibration, purposeful motion, and Core Web Vitals rules for web interfaces. Load alongside unprompted whenever designing, styling, or refactoring UI components or pages.Other plugins' skills for the same job