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.
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).development
--- name: worktree description: Coordinate multiple agents on one repo via a worktree-lock pool, so two agents never clobber each other's working tree. Acquire the first free slot (main, then beta/gamma… worktrees, created on demand), work there on your own branch, release when you've pushed. Use before modifying any repo that might be in use by another agent (factory, dataforce, etc.), or whenever you're told a repo is being worked on. Backed by `ro worktree`. category: development argument-hin
testing
--- name: ship description: Ship a feature branch the local-CI-first way — run the full local gate, push, open a PR, squash-merge, then deploy, without waiting on GitHub Actions. Use when a branch is ready for main and you want it merged and deployed now. Reads CI policy from `ro ci` (default skips remote CI because GitHub Actions billing keeps hitting limits). Sibling to /ro:gh-ship (waits on GitHub checks) and /ro:cf-ship (the deploy half). Triggers on "ship it", "ship this", "merge and deploy
testing
--- name: setup-logging description: Set up (or audit) the observability stack in a TanStack Start + Cloudflare Workers app so it is "diagnosable by default" — structured logging (logtape) with a request context carrying trace_id + userId + tenant/orgId, a trace_id propagated FE→BE→logs→Sentry→PostHog, Cloudflare Workers observability enabled, and Sentry + PostHog wired. Two modes: `setup` (wire it into an app) and `audit` (check an existing app + report gaps). Use when scaffolding a new app, wh
development
Manage credentials INSIDE the active ~/.claude/.env file — read which token/account to use for a given app (Simplicity vs Dataforce vs Ronan-personal), add or update a secret WITHOUT it passing through the chat (an interactive Terminal window prompts for it), and track secrets that were exposed in a transcript so they get rotated. Sibling to /ro:context (which switches WHICH env file is active). Use when the user wants to add an API key/token/secret, asks "which credential do I use for X", needs the env organized/labelled, or a secret was pasted into the chat and should be rotated.