/claude-dev-kit:desktop-uiux [PRD.md path (optional)]from claude-dev-kit
Establishes a desktop design philosophy from kickoff outputs and generates a desktop design system, wireframes, and an Electron prototype. Recommended flow: /prd → /kickoff → /desktop-uiux.
Ships in claude-dev-kit. 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.
Kit root: ${CLAUDE_PLUGIN_ROOT}
scripts/ dir): prefix every kit script command with it, e.g.
bash <kit-root>/scripts/checkpoint.sh …. Absolute paths also work from worktrees.${…} placeholder above → standalone layout: run commands as written.Run these checks silently at the start. Use results to adapt behavior:
[ -f issues.md ] — if true, this project uses the sprint system. Respect issue numbering and STATUS.md.[ -f docs/sprint_state.md ] — if true and Status shows running, a sprint is active. Be aware of parallel work in worktrees.[ -f docs/prd_digest.md ] — if true, read it for quick project context before starting.gh auth status before any GitHub operation./kickoff must be run first so that the following files exist:
docs/ux_spec.md (core input — IA, flows, screen inventory)docs/requirements.md (functional/non-functional requirements)docs/architecture.md (tech stack reference)/kickoff.Read kickoff outputs (required):
docs/ux_spec.md — extract screen inventory, IA, flowsdocs/requirements.md — identify UI elements from functional requirementsdocs/architecture.md — confirm tech stack, API endpointsRead PRD ($ARGUMENTS or PRD.md) as supplementary context. If docs/prd_digest.md exists, read it for quick PRD summary.
If docs/ux_spec.md does not exist:
/kickoff PRD.md first."Check for existing shared assets:
docs/design_philosophy.md — check if already generated by web /uiuxdocs/copy_guide.md — check if already generated by web /uiuxScan the project for existing desktop code, then choose the working mode:
**/electron/**, **/main.ts, **/preload.ts, **/electron-builder.*, **/forge.config.*, **/*.tsx, **/*.tsMode selection — create or extend (ISSUE-054):
create. Proceed exactly as this skill always
has; nothing below applies.create — design a new aesthetic. The existing UI will not constrain it.extend — read the design that already ships and add to it.
Never switch modes silently. Detection proposes; the user decides. If the
user does not answer, default to create (today's behaviour) and say so.On extend only — invoke the design-scanner agent via the Task tool
before the design interview. Pass it:
desktopdesktop those live in
src/theme/ modules and renderer-process CSS custom properties, plus the renderer component files that consume them. Native chrome (title bar, tray, menu structure) carries no token and is out of scope.The agent returns a structured Design Scan report. It has no write tools; you
write docs/design_system_desktop.md from its report.
Overwrite guard (MANDATORY) — before writing, check whether docs/design_system_desktop.md
already exists. If it does not, write it and continue. If that file already
exists, STOP and ask the user, quoting its line count and last-modified date so
they can see what is at stake:
1) overwrite — replace it; the previous content survives only in git history.2) write alongside — write docs/design_system_desktop.extracted.md instead and show a summary of how
it differs from the current file. Nothing existing is touched.3) cancel — stop extend mode here.
Do not write until the user answers. A hand-maintained design system is the one
artifact this mode can destroy, and "it's in git" is not consent.When transcribing the report into whichever file you write, preserve its tags verbatim:
[CONFIRMED] claims keep their file:line reference. Never promote an
[INFERRED] claim to [CONFIRMED], and never drop a tag when transcribing.Dead tokens, Gaps, and undeclared-but-repeated values. These are
findings about the host product, not noise to tidy away.extraction_verdict: insufficient, tell the user verbatim and
ask whether to continue in extend (mostly-[INFERRED] system) or fall back to
create. Do not decide this silently.What extend changes downstream (the mode contract — apply all of it):
signature_move field. If it reported none found, say so to the user
and agree on one derived from an existing recurring pattern — never invent one
the codebase does not already show.file:line provenance". A pilot that reads
as a redesign FAILS the gate even if it is distinctive.Brief overrides: bullet quoting the source (existing product convention — <file:line>) instead of rewriting the product's own conventions.5.5) Check if docs/design_philosophy.md already exists AND contains a "Decision Matrix" section:
Ask the user the following questions to anchor the design direction. These answers become binding constraints for Phase 2. Present all questions at once (not one-by-one) and wait for answers. Also tell the user: "If any of these are hard to answer right now, just say 'skip'. You can also skip the entire interview."
a) Brand Personality: "If this product were a person, who would they be?" (e.g., a luxury hotel concierge, a neighborhood cafe barista, a strict operating room nurse, a playful friend)
b) Emotional Target: "What one emotion do you want users to feel when they see the first screen?" (e.g., trust, curiosity, relief, excitement, calm)
c) Anti-Reference: "What competing product or design should this absolutely NOT look like?" (a feeling you want to avoid, or a specific product name)
d) Aspiration Reference: "Is there a product or brand you'd like to reference for design? (doesn't have to be the same domain)" (e.g., Stripe's cleanliness, Nintendo's playfulness, Aesop's luxury)
e) Desktop Identity: "Should this app feel like a native part of the OS, or should it have its own distinct visual identity?" (e.g., natural integration like a macOS native app vs distinct UI identity like Figma/Notion)
5.6) Handle user response:
Case A — User answers (partially or fully): Record answers in memory — these become HARD CONSTRAINTS for Phase 2. If the user skips individual questions, note them as "unconstrained" but still avoid generic defaults.
Case B — User skips the entire interview (says "skip", "pass", etc.):
CHECKPOINT — MANDATORY — NEVER SKIP Run:
bash scripts/checkpoint.sh --skill desktop-uiux --phase contextVerifiesdocs/ux_spec.mdexists. Also self-verify: PRD was read, interview answers (or auto-derived/reused constraints) are recorded. If exit code ≠ 0 or any required input is missing: STOP and report to user.
Check if docs/design_philosophy.md already exists:
/uiux):Analyze the product's identity from PRD and UX spec:
WebFetch returns parsed text, not pixels. Asking the model to extract hex values or sidebar proportions from a Dribbble URL via WebFetch is fabrication. Visual references MUST arrive as actual images.
Pick exactly ONE of three paths:
Path (a) — user-provided images (preferred):
≈#…), sidebar/split-pane proportions, title bar treatment, command palette presence, density (compact / roomy), dark-mode handling.Path (b) — page URLs:
python3 scripts/capture_reference.py <url> --viewport 1440x900
This headless-captures the page into docs/references/<slug>.png. If the script exits non-zero, STOP this path and switch to Path (a) or Path (c).Path (c) — no images available:
Reference Anchor skipped: no image provided. Pass 1–3 desktop screenshot paths or a page URL (with Playwright/Chrome installed) to populate this section.Anti-reference: WebSearch for anti-reference titles is acceptable. Anti-cues are written from the model's own knowledge.
Synthesis (when Path (a) or (b) ran — output goes into docs/design_philosophy.md "Reference Anchors"):
sidebar 240px @ #0E0F12, JetBrains Mono 13 + Inter 13, title bar 28px frameless with traffic lights inset 12/12) — source image path under docs/references/ OR user-provided image URL/path. Strong = present in the chosen images, specific enough that no Phase 5 implementer can fall back to a generic Electron/Material default. Fewer-and-deeper beats more-and-shallow.literal_quote: "<exact string>" — <where it appears>. Desktop-friendly examples:
literal_quote: "⌘K" — command palette trigger shown in the sidebarliteral_quote: "47.2-A" — sample order ID, mono on the order detail panelliteral_quote: "조용한" — set in 96pt Inter Display, splash screen"luxury", "power user") — the literal quote is text/glyph/shortcut the prototype renders.≈ and cite the source image.Verbatim render check — Phase 5B is required to render the literal_quote string verbatim in at least one screen file under prototype-desktop/. The Phase 2 CHECKPOINT below verifies the field is populated; Phase 5B verifies it appears in rendered output.
Commit to a BOLD aesthetic direction with desktop lens:
Generate docs/design_philosophy.md:
var(--token)) — never prose-only.border-left: 3px solid var(--accent) and background: var(--accent-10) — never full-row highlight"text-transform: uppercase, letter-spacing: 0.08em, JetBrains Mono 11 — never sentence case"clip-path: polygon(...) notched bottom-right corner, 480×320 fixed — never plain rounded rectangle"grid-template-columns: 240px 1fr with a 1px hairline divider in --border-strong, no shadow"docs/references/ or a user-provided image URL/path), 1 literal_quote: field (mandatory unless Phase 1.5 was skipped), 3–5 avoided cues with reasons. If step 7.5 took Path (c) and skipped this section, omit it here too and proceed.Present the design philosophy to the user and ask for approval before proceeding.
CHECKPOINT — MANDATORY — NEVER SKIP Run:
bash scripts/checkpoint.sh --skill desktop-uiux --phase philosophyThe script verifies presence: the file, (a)'s Signature Move, (b), and theliteral_quote:field. If exit code ≠ 0: STOP, fix, re-run. Depth stays model-side — self-verify below (ISSUE-057). Verifydocs/design_philosophy.mdexists with: (a) a Signature Move that is numeric/token-specific (not prose-only); (b) either a populated Reference Anchors section OR an explicit "Reference Anchors skipped (no image input)" line; AND (c) when Reference Anchors is present, exactly 2–3 adopted cues (not 1, not 4+), each citing an image path, plus aliteral_quote:field with a concrete word/number/glyph/shortcut (NOT an adjective like "luxury"). The literal_quote may only be omitted if Phase 1.5 interview was explicitly skipped — in which caseliteral_quote: (skipped — interview not run)must appear instead of the field being absent. If any of (a) / (b) / (c) fails: STOP and fix before proceeding.
docs/design_system_desktop.md reflecting the chosen aesthetic:
darwin→Cmd, win32/linux→Ctrl)transform, opacity, or filter (the mechanics sweep owns violations).nativeTheme integration, system preference detection, manual overridedarwin/win32/linux keys for platform-specific values (fonts, shortcuts, window chrome, file paths)docs/wireframes_desktop.md:
grid-template-columns or column ratios — e.g., 240px 1fr 320px (sidebar / content / inspector)gap: 1px (for hairline-divided panels) or gap: 16px (for spaced panels)traffic lights at top: 12px left: 12px, custom title bar height 28pxrow height: 28px, cell padding: 6px 12px (compact) vs 40px / 12px 16px (comfortable)docs/interactions_desktop.md:
docs/copy_guide.md already exists:
## Desktop Adaptations section.
## Desktop Adaptations section covering:
docs/copy_guide.md:
docs/ux_spec.md, docs/design_philosophy.md, docs/wireframes_desktop.md, docs/interactions_desktop.md, PRDdocs/copy_guide.md must satisfy all of:
docs/wireframes_desktop.md appears in the copy inventory — cross-check the wireframes screen list before saving.docs/interactions_desktop.md defines them.docs/design_philosophy.md.—/–) — use -, comma, period, or colon; no filler verbs (Elevate, Seamless, Unleash, Next-Gen, Revolutionize); no generic person names (John Doe) or startup-slop brand names (Acme, Nexus, SmartFlow); no fake-perfect numbers (99.99%, round 50%) — use organic values. See "Specific AI Tells" in Anti-AI-Slop Rules.
16-a) Accessibility labels (REQUIRED): Ensure copy_guide.md includes aria-label for EVERY interactive element (buttons, inputs, menus, panels, dialogs). Also include keyboard shortcut announcements for screen readers.CHECKPOINT — MANDATORY — NEVER SKIP Run:
bash scripts/checkpoint.sh --skill desktop-uiux --phase systemVerifiesdocs/design_system_desktop.md(ordocs/design_system_desktop.extracted.mdin extend mode),docs/wireframes_desktop.md,docs/interactions_desktop.md, anddocs/copy_guide.mdall exist. Cross-check (model-side): every component in wireframes has a definition in design_system_desktop.md. If exit code ≠ 0 or the cross-check fails: STOP and generate/fix it before proceeding.
prototype-desktop/ directory structure:
prototype-desktop/
package.json
tsconfig.json
.gitignore
electron/
main.ts (main process)
preload.ts (preload script)
src/
types/
index.ts (shared types)
theme/
tokens.ts
colors.ts
spacing.ts
typography.ts
components/
Sidebar.tsx
CommandPalette.tsx
SplitPane.tsx
ContextMenu.tsx
DataTable.tsx
... (as needed per design system)
screens/
... (one .tsx per screen from wireframes)
App.tsx
main.tsx (renderer entry)
index.html
prototype-desktop/package.json:
electron — runtimereact, react-dom — frameworktypescript — languagevite, @vitejs/plugin-react — bundlerelectron-builder or @electron-forge/cli — packaging@types/react, @types/react-dom — type definitionselectron-vite or vite-plugin-electron — Electron + Vite integrationdev (development with hot reload), build (production build), preview (preview build)cd prototype-desktop && npm install to install dependencies
17-a) Generate prototype-desktop/tsconfig.json:@/ → src/
17-b) Generate prototype-desktop/.gitignore:prototype-desktop/electron/main.ts:webPreferences MUST set contextIsolation: true and nodeIntegration: false. The renderer reaches the main process ONLY through the contextBridge-typed IPC exposed by preload.ts — main/preload/renderer separation is mandatory.prototype-desktop/electron/preload.ts:prototype-desktop/index.html:prototype-desktop/src/theme/:
colors.ts — color palette from design system, dark/light mode tokensspacing.ts — spacing scale + large-scale tokens (panel gaps, sidebar width)typography.ts — font families, modular scale, platform-specific fontstokens.ts — re-exports all theme tokens + shadows, radii, motion config, keyboard shortcut tokensprototype-desktop/src/components/:
docs/design_philosophy.md MUST be implemented as a reusable component/class/CSS-custom-property primitive. It must be importable from any screen — not duplicated per-screen.19.5) PHASE 5A — Pilot screens & gate (multi-archetype, catches AI slop before full generation):
- Step 1 — Archetype classification & pilot pick:
- Classify every screen in docs/wireframes_desktop.md into one of these desktop archetypes: list/table, detail/inspector, form/settings, hub/dashboard, command-palette/overlay, editor/canvas, empty/cold-start.
- Pick TWO pilot screens from the two most-distinct archetypes present in the inventory (typically one consumption + one input, e.g., data table + settings, or editor + command palette). If only one archetype exists, fall back to a single pilot and note it.
- Step 2 — Pilot-only generation:
- Generate ONLY the 2 pilot .tsx files in prototype-desktop/src/screens/.
- Generate a TEMPORARY minimal prototype-desktop/src/App.tsx that routes ONLY between the 2 pilots (no full router yet).
- Ensure the Electron main.ts and preload.ts from step 17-c/17-d are wired so npm run dev launches the pilot view.
- Do NOT generate the remaining screens or the full router yet.
- Step 2.5 — PILOT GATE — observe → critique → specificity → auto-correct → user HOLD
Generator-as-judge fails: the same context that produced the pilot will not reliably catch its own slop. This gate routes the critique through a separate sub-agent context and runs up to 3 auto-correction cycles before presenting to the user. Do not auto-proceed past Step 3.
- **Render inputs**: desktop pilots run live in Electron (`npm run dev`). If Playwright + Electron is installed, screenshot the rendered window for the critique inputs. Otherwise critique runs against the pilot `.tsx` source (**degraded mode**) — record `pilot_degraded: no_playwright_electron` in the critique log so the user sees the limitation. DO NOT silently skip the critique.
- **Step 2.5.0 — Neutral observation** (mandatory; do this BEFORE any judgment).
For each pilot, write 5 plain factual statements about what renders (screenshot) or what the source would render (degraded).
**Banned vocabulary in this step**: `signature move`, `aesthetic`, `archetype`, `philosophy`, `direction`, `taste`, `slop`, `generic`, `bold`, `restrained`, `premium`, brand names, the chosen aesthetic name. Use only colors, sizes, shapes, positions, counts, content categories.
Output to `prototype-desktop/src/screens/<pilot>.observations.md`.
If you catch yourself reaching for a banned word, restart Step 2.5.0 — the observation is the input that prevents the critique from agreeing with itself.
- **Step 2.5.1 — Separate-context critique** (mandatory). Invoke `design-auditor` via the Task tool to evaluate the pilot from a fresh context. **Do NOT inline-critique in the generator's context.**
Pass the auditor:
- the pilot screenshot path (if available) AND the pilot `.tsx` path
- `prototype-desktop/src/screens/<pilot>.observations.md`
- `docs/design_philosophy.md` (so it knows the system claim it should check)
- `docs/design_system_desktop.md`
Ask it to return:
- the 6-axis score (Philosophy / Hierarchy / Execution / Specificity / Restraint / Variety), each 1–5
- one piece of cited evidence per axis, referencing observation indices (e.g., "Specificity 2 — observations 2,3 are interchangeable with any landing page")
- a list of slop signals it flags
Where ui-reviewer's scope applies (state coverage in pilots, copy usage), also invoke `ui-reviewer` via the Task tool with the same inputs. The two sub-agents' scopes are disjoint (per ISSUE-013) — do not deduplicate findings, surface both.
Save the structured output to `prototype-desktop/src/screens/<pilot>.critique.md`.
- **Step 2.5.2 — Specificity check** (mandatory). Ask the design-auditor (still in its separate context) to answer:
*"Name 3 details visible in this pilot that ONLY make sense for THIS specific product / domain / user. Generic UI primitives ('a card', 'a hero', 'a button') do not count. Domain content does count (real entity names, the literal_quote from Reference Anchors, domain-specific units, brand-specific shortcuts). If you can list fewer than 3, the pilot FAILs specificity."*
The literal_quote (from ISSUE-012) counts as exactly **1** of the 3 — not 0, not 2+. The other 2 must come from independent product/domain details.
Specificity FAIL → treat as a critique failure feeding Step 2.5.3.
- **Step 2.5.3 — Auto-correction cycle** (hard cap N=3 rounds). If any axis score < 3, OR Step 2.5.2 returns FAIL, OR slop signals are flagged:
1. Identify the correct layer to patch:
- Philosophy / Specificity < 3 → revisit Phase 2 step 9 (`docs/design_philosophy.md`).
- Hierarchy / Execution / Restraint < 3 → revisit the Phase 3 design system (`docs/design_system_desktop.md`) or Phase 4 numeric layout commitments.
- Variety < 3 → re-pick the pilot archetype or restructure the pilot itself.
- Specificity FAIL → either add concrete product details to the pilot or, if Phase 1.5 was skipped, document that and proceed.
2. Apply the patch.
3. Re-run the gate: re-screenshot (if available) → re-observe (Step 2.5.0) → re-critique (Step 2.5.1) → re-specificity (Step 2.5.2).
4. Increment the cycle counter. Append a one-line summary to `prototype-desktop/src/screens/<pilot>.cycles.log`:
`cycle N: layer=<L> change="<short summary>" scores=P5 H4 E5 S3 R5 V4 specificity=PASS|FAIL`.
5. **Hard stop at N=3**. After the third unsuccessful cycle, freeze the pilot and surface to the user with the full cycle history. Do NOT loop indefinitely.
Record final scores at the top of the pilot stylesheet/screen file: `/* pre-emit critique cycle=N: P5 H4 E5 S4 R5 V5 specificity=PASS */`.
- **Step 3 — PILOT GATE — present and HOLD for user**:
- Tell the user how to run:
```bash
cd prototype-desktop && npm run dev
```
- Share `prototype-desktop/src/screens/<pilot>.critique.md` and `<pilot>.cycles.log`.
- If Step 2.5 entered degraded mode (no Playwright/Electron), say so explicitly.
- Ask: "Please run the pilots and confirm:
(a) Is the **Signature Move** (`<paste exact text>`) visible and applied on both pilots?
(b) Do both pilots feel like `<aesthetic name>` and read as the same family across the two archetypes?
(c) Do the 3 product-specific details from the specificity check belong to *this* product?
(d) Any slop signals — Electron-wrapper-website feel, default OS chrome, generic Material/Fluent components, mobile-touch-sized targets?"
- WAIT for explicit approval before continuing to Phase 5B.
- **Step 4 — On rejection** (route to the correct layer):
- Signature Move wrong/absent → revisit Phase 2 step 9.
- Color / type / density tokens off → revisit Phase 3 design system.
- Layout reads as generic → revisit Phase 4 numeric layout commitments.
- Tokens are right but pilot implementation is generic → fix the pilot `.tsx` and components only.
- Do NOT proceed to Phase 5B with an unaddressed pilot rejection.
prototype-desktop/src/screens/:
docs/copy_guide.mdprototype-desktop/src/App.tsx:
ipcRenderer access.prototype-desktop/src/main.tsx:
package.json has dev/build scripts; electron/main.ts (with the step 17-c security contract), electron/preload.ts (contextBridge), index.html, tsconfig.json, and .gitignore exist.cd prototype-desktop && npm run dev — the app must launch to an interactive window before presenting. The boot is the gate: fix whatever it surfaces (main/preload wiring, Vite config, dependencies) until it launches — a pin the boot gate catches is fixed, never re-documented as a checklist line.src/screens/ and src/components/ for hardcoded style valuessrc/theme/docs/wireframes_desktop.mdsrc/screens/docs/copy_guide.md, not placeholder textdocs/interactions_desktop.md MUST be functional
27.5) Design verification sweeps (model-executed contract sweeps):scripts/verify_design_sweeps.py discovers *.html screens only. The day the validator accepts non-HTML prototype trees (a post-ISSUE-064 successor), replace them with validator call sites; the web skill already runs one.docs/design_philosophy.md must contain a Signature Move with numeric/token specificity (not prose-only), implemented as a reusable component/class/CSS-custom-property primitive under src/components/ or src/theme/. Grep src/screens/*.tsx: every screen (including the pilots) must reference that reusable primitive at least once. On any failure: list violations, fix, and re-verify.literal_quote: from docs/design_philosophy.md Reference Anchors; grep src/screens/*.tsx — the string MUST appear verbatim in at least one screen's string literal (NOT inside a comment, NOT interpolated from a variable). If absent: inject it into the screen named by the anchor's "where it appears" hint and re-grep — never widen the match..tsx/.css file in src/screens/, src/components/, and theme/style files for the banned tells in "Specific AI Tells": em-dash (—/–) in any string literal, flex calc() column math, generic person/brand names, fake-perfect numbers, section-number eyebrows, decorative version labels, <div>-based fake product UI, decorative status dots, locale/time strips. Exempt exactly the recorded Brief overrides: bullets in docs/design_philosophy.md and no others; report each as exempt: <tell> — <brief quote> — an unrecorded violation is never exempt. Zero tolerance on em-dash and div-based fake product UI. List every violation as file:line, fix, re-sweep. Match CSS patterns whitespace-insensitively (height:100vh ≡ height: 100vh).(color, background-color) pair on a screen, verify the WCAG ratio against its computed background: body text needs ≥ 4.5:1; large text (≥24px / ≥18px bold), icons, and focus rings need ≥ 3:1.--color-accent filling a text-bearing surface without a defined, verified --color-accent-ink; any dark panel (background lightness < 50%) that did not flip its text colour (ink-on-ink). Most-missed: text in a panel that switched background but inherited color; muted text on a tinted surface.file:selector, fix, and re-check before proceeding..css/theme/screens):
transition: all / transition-all; bare 1fr tracks on image-bearing grids (must be minmax(0, 1fr)); font-style: italic on heading/display selectors; a second position: sticky; top: 0; all-caps display with line-height < 1.0.overflow-x: clip on html+body; input/select fields satisfy the 8-state rules (constant border-width, outline-based focus ring, reserved helper slot, multi-channel disabled) from Anti-AI-Slop "CSS mechanics (renderer)".transition:all ≡ transition: all, top:0 ≡ top: 0, overflow-x:clip ≡ overflow-x: clip.file:line, fix, and re-sweep.scripts/verify_design_sweeps.py grows a mechanics sweep; the contrast prose is replaced by a computed-style validator call when one lands.cd prototype-desktop
npm run dev
npm install)issues.md or STATUS.md updates./kickoff has already created issues, if additional UI/UX-related issues are needed, add them manually to issues.md or re-run /kickoff.docs/ux_spec.md not found: stop and suggest running /kickoff first (unless user explicitly opts to skip).docs/ cannot be created: stop and report filesystem error.docs/design_system_desktop.md./desktop-uiux overwrites all outputs — safe to retry.prototype-desktop/) can be safely deleted if not needed.These rules prevent Claude from converging on generic, forgettable desktop defaults.
Primary anchor — the Signature Move. The single most effective slop-blocker is the numeric/token-specific Signature Move defined in Phase 2 step 9 and enforced at the Phase 5A pilot gate (step 19.5) and Phase 5.5 step 27.5. Negative rules below are secondary; if the Signature Move is weak or missing, the rules below will not save the output.
Calibration — the three current AI-design clusters. Independent of subject, AI-generated design converges on three looks right now:
#F4F1EA) + high-contrast serif display + terracotta accent.The brief's own words win. Where the brief pins a direction, follow it exactly, including when it asks for one of the three clusters above and including when it contradicts a specific ban in this section. Record each such override in docs/design_philosophy.md under a Brief overrides: line, one bullet per overridden rule, quoting the brief. Any later sweep or reviewer honors recorded overrides and only recorded overrides — an unrecorded violation is still a violation.
Self-similarity check — run before locking the design plan. Strip the product-specific nouns out of the brief and ask what you would produce for that generic version. If your current plan is roughly where you land, it is a default wearing this product's content, not a choice made for this product. Revise the part that collapsed and say what you changed and why.
NEVER:
INSTEAD:
nativeTheme — automatic dark/light switchingSpecific AI Tells (hard bans — sweep every screen before presenting). Concrete signatures LLMs default to. Banned unless the brief explicitly calls for one. Per-tell depreciation trigger: named in the Phase 5.5 sweep block.
Content & data:
99.99%, round 50%, 1,234,567) → organic messy values (47.2%, +1 (312) 847-1928).—) and en-dash-as-separator (–): zero tolerance in all visible text (titles, labels, menu items, body, empty/error copy). Use a regular hyphen -, comma, period, colon, or line break. The single most-violated tell.Fake product UI:
<div> rectangles (fake chart, fake terminal, fake data table) to fill a welcome/empty screen. Use a real screenshot, generated image, real component, or skip it.v0.6.2-rc.1, last sync 4s ago) as decoration (a real app-version readout in About/status bar is fine).Decorative meta:
001 · Capabilities) or 01 / 4 pagination labels — name the topic in plain language.V0.6, BETA, EARLY ACCESS, ALPHA) unless the brief is explicitly a launch/preview.Lisbon 14:23 · 18°C), no scroll cues (↓ Scroll to explore), no mono-caps decoration strips (BRAND. MOTION. SPATIAL.).· to max 1 per metadata line; never as a universal separator.Typography & interaction tells:
font-style: italic on h1–h6 / display / wordmark / <em> inside a heading is a top tell. Emphasis = weight, accent colour, or a drawn underline. Italic only inside running body copy.CSS mechanics (renderer) — deterministic, all mandatory:
grid-template-columns), NEVER flex percentage math (width: calc(33% - 1rem)), which breaks on gap rounding..section) and an element-level class (.cta) that both set the same box property silently cancel each other out by source order. Pane-to-pane padding/margin is where this bites most. Give each box property exactly ONE owning selector; when two must coexist, raise the intended winner's specificity explicitly instead of relying on rule order.overflow-x: clip on BOTH html and body (use clip, not hidden — preserves descendant sticky/fixed); no horizontal scroll at any window width down to 320px.minmax(0, 1fr), never bare 1fr.overflow-wrap: anywhere; min-width: 0; all-caps display type uses line-height ≥ 1.0.position: sticky; top: 0 (the top chrome/toolbar); other sticky elements offset to top: var(--banner-height) with a lower z-index than the toolbar.align-items: center.transition: all / transition-all — name properties. Focus rings appear instantly (no transition on outline) and use outline, never border. Reserve overshoot easings for drag/physical interactions only.border-width across states (change outline/box-shadow/border-color); outline-based focus ring; input height == adjacent button height; reserve helper/error slot with min-height: 1lh; disabled = opacity + cursor: not-allowed + disabled/aria-disabled (never opacity alone).docs/design_philosophy.md and docs/copy_guide.md from web /uiux when they exist. Don't duplicate, extend.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
desktop-design, wireframes, electron-prototype, design-system, uiux
npx claudepluginhub pillip/claude-dev-kit --plugin claude-dev-kit23 skills in this plugin
/bizanalysisAnalyzes and critiques business viability. Use after /brainstorm and before /prd./brainstormExplores ideas and defines problems through free-form conversation. Use before /prd when direction is unclear./carefulActivates destructive command warnings for the current session. Use when working in sensitive environments./devopsSet up or update CI/CD pipelines, Dockerfiles, and deployment configs, then create a GH Issue + PR./diagnoseAnalyze a bug from error logs or reproduction steps, fix it, and create a GH Issue + PR./figma2protoFetch Figma design via API and generate a complete design deliverable — prototype HTML, design system, design philosophy, interactions, and copy guide. Supports web, mobile, and desktop platforms.Other plugins' skills for the same job