skills/generate-claude-design-prompt/SKILL.md
Turn a feature or set of screens into a high-quality prompt for Claude Design (claude.ai/design, Anthropic Labs), plus the human-checkpoint GitHub issue that carries it. Use when creating a design-input issue, when the user says "generate a Claude Design prompt", "write a Claude Design brief", "make a design ticket", or when an agent-native flow needs a UI designed before slices can build. Bakes in what Claude Design actually needs (the goal/layout/content/audience brief, repo linking, high-fidelity mode, chat-vs-comments refinement, handoff to Claude Code). Sibling of generate-design-brief (general) and frontend-design.
npx skillsauth add RonanCodes/ronan-skills generate-claude-design-promptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Produce a prompt that gets buildable, on-brand output from Claude Design on the first pass, and the blocked-on-human GitHub issue that carries it so a human can run the design and paste the result back. The mirror of a build slice: a slice is "agent builds code"; this is "human runs Claude Design, agent builds against the result."
Claude Design is Anthropic Labs' AI-native design tool (powered by Opus 4.7, research preview; Pro/Max/Team/Enterprise). It turns a prompt into prototypes, slide decks, and one-pagers, refined conversationally, with a handoff bundle straight to Claude Code. Knowing how it ingests context is what separates a vague prompt from a buildable one.
<url>".A good Claude Design prompt reads like the brief a senior product designer would demand before touching Figma. A screen-by-screen list is the floor, not the ceiling. The issue this skill emits MUST carry, in order, the seven layers below. Skipping any one of them is the difference between "render me some boxes" and "design my product".
Plus two cross-cutting constraints that ride along: accessibility + responsive (contrast, focus, hit targets, keyboard, breakpoints, reduced-motion) and tone / microcopy (voice of empty states, errors, confirmations — what the product sounds like).
Before asking the user anything, read the repo's README and any PRD / parent issue (gh issue view <parent>, docs/, README.md). A well-specified product repo already contains personas, features, data model, vibe, and decisions. Mine those first; the seven layers above are usually 80% derivable. Only ask the user for what is genuinely absent or ambiguous (most often: art-direction reference products, and persona emotional context). When running AFK / autonomously, do NOT block on questions: derive the best brief you can from the repo, and explicitly flag any layer you inferred so the human can correct it in Claude Design.
What you need for each of the seven layers:
Structure it so it can be pasted straight into a Claude Design project. This is the full designer brief, not a screen list:
Project: <name> — high-fidelity prototype. Link repo: <url> (use its existing components + styling).
Stack: <framework + component lib>. Use named components: <Card, Button, Table, ...>.
Design system: inherit org defaults; only deviate where the art direction below says so.
Avoid: generic AI defaults (Inter/Roboto/system fonts, clichéd purple gradients, hero+3-cards, dashboard-template look).
## Product context
<one paragraph: what it is, the core job-to-be-done, the differentiator>
## Personas
Persona 1 — <name>, <one-line descriptor>
Context: <device / environment / frequency / emotional state>
Goal: <what they're trying to achieve>
Frustration to defuse: <the pain the UI must remove>
(repeat for 1-3 personas)
## Art direction / vibe
Mood: <3-5 words>.
→ Colour: <temperature, palette intent, contrast>
→ Density & space: <airy vs dense, where>
→ Motion: <restrained / playful; what animates>
→ Type: <character, not just family — e.g. humanist sans for warmth, mono for IDs>
→ Shape: <corner radius, borders vs shadows, edge treatment>
Feels like: <1-3 reference products and the specific quality borrowed from each>.
Never: <the anti-patterns to avoid, named>.
## Information architecture
- <Surface A> — <purpose>
- <Surface B> — <purpose>
Navigation model: <tab bar / sidebar / command palette / modal stack — how users move>.
## Features
- <group>: <feature> → lives in <surface>
(grouped capability inventory mapped to the IA)
## Screens
Screen 1 — <name> (persona: <which>)
Goal: <...>
Layout: <...>
Content: <data shown>
Primary actions: <...> Secondary: <...>
States: empty / loading / error / success / offline → <each>
Components: <named components to reuse>
Responsive: <mobile vs desktop behaviour>
(repeat per surface in the IA)
## Key user flows
1. <flow name>: <screen → screen → screen, and the feeling at each step>
(2-5 flows that must feel effortless)
## Accessibility & responsive
<contrast / focus order / hit targets / keyboard / breakpoints / reduced-motion>
## Tone & microcopy
<voice of empty states, errors, confirmations — what the product sounds like>
Refinement note: use chat for structural changes (palette, layout alternatives), comments (click the element) for component tweaks.
Keep one design covering all screens unless they're unrelated. Order screens by the app shell first, then by the primary user flow.
When this runs for a repo using the Pocock flow, write a human-checkpoint issue (NOT ready-for-agent, it's a human task). Use the repo's actual human-checkpoint label, which varies: gh label list and pick whichever exists, blocked-on-human or needs-human (the agent-native default in repos like lekkertaal). The issue is unblocked (nothing gates it) but it stays a human task, so the human-only label is correct even when no prior issue blocks it.
[design-input] <area> — Claude Design brief + links/screenshots (human checkpoint)<url>, copy the prompt block below (Claude Design cannot read this issue), post the share link + one screenshot per screen back here when done."## Blocked by #<this>; they unblock once the design link lands.Hand the user the issue URL and a one-line: "open a new Claude Design high-fidelity project, link the repo <url>, then copy the prompt block from the issue (Claude Design can't read the issue itself). Post the share link + one screenshot per screen back when done." The issue body must lead with these copy-paste instructions and contain the entire prompt, so nothing depends on Claude Design reading the issue.
The Claude Design share / handoff link is an authenticated viewer, not a public tar. When the design lands and the redesign work gets sliced, /ro:slice-into-issues extracts the bundle ONCE and inlines the relevant per-screen spec into each slice body (under ## Design spec), rather than embedding the viewer URL in each slice. The reason: the first worker can fetch the warm link via curl | gunzip | tar, but every subsequent worker gets HTTP 404/405 and wastes budget re-discovering it (Lekkertaal ns-20260521T213503 retro: #207 404'd from #203's spec vs #204 which fetched cleanly).
So the "What to paste back" section above is load-bearing for slicing: the human posts one screenshot per screen plus the per-screen spec text, and the slicer inlines that text. A bare share link alone is not enough — it dies for everyone but the first worker. See /ro:slice-into-issues § "Redesign slices from a Claude Design bundle".
generate-design-brief — general design brief (any tool/designer); this skill is Claude-Design-specific and emits a paste-ready prompt + issue.frontend-design / design-system-create — build or audit the design system this prompt assumes exists.close-the-loop — the reviewer side: visual-diff the built UI against the screenshot posted on the design-input issue.claude-design (entity) + prompting-claude-design (concept).testing
--- name: linear-pipeline description: The Fable orchestrator for a single dispatched Linear ticket. Holds almost no context itself; it receives `--issue <ID> --detached`, decides the stage sequence, and fans out a sub-agent per stage, passing forward only each stage's artifact (never re-derived, never inlined into its own context). Step zero, before any planning or stage routing, is a boundary triage against `canon/security-boundary.md` (#199): a match tags Ronan Connolly and stops the run, no
development
--- name: in-your-face description: Capture a chat-only answer into a durable artifact (markdown + HTML, PDF when cheap) and launch it automatically so the user cannot miss it. Use when user says "in your face", "don't let me lose this", "save that answer", "make that durable", or right after answering a substantive side question (a recipe, comparison, how-to, or generated prompt) that would otherwise die with the context. category: workflow argument-hint: [--no-open] [--vault <short>] [hint of
tools
One-shot headless OpenAI Codex CLI calls for background/admin AI tasks — summaries, classification, extraction, admin glue. The default engine for anything that runs AI constantly in the background (daemon-driven, per-event), because it bills the flat ChatGPT subscription instead of Claude usage or per-token API spend, and it keeps working while Claude is rate-limited. NEVER for coding — coding stays Claude. Use when a skill or daemon needs a cheap always-on AI call, when the user says "use codex", "ask codex", "codex as backup", or when building a background summarizer/classifier into a listener or loop. Reads auth from ~/.codex/auth.json (ChatGPT account, no API key).
research
Turn a warranty rejection, repair quote, or RMA email into a cited decision brief — legal read (NL/EU consumer law), is the part user-serviceable, live part and new-unit prices, repair-vs-DIY-vs-new economics, before-you-send-it checklist, deadlines. Use when the user pastes or screenshots a repair quote, warranty rejection, "not covered" email, onderzoekskosten fee, or asks "should I repair or replace this".