prototype
MAmattpocock/skills336k4,217 new stars in the last 7 days
Trigger: design a screen or page, mockup, landing page, UI directions, artboards, try a different approach, design system sync. HTML design directions in design/<slug>/.
Use this skill by default whenever the user asks, in plain words, for a UI design, mockup, screen, landing page, or visual directions, or iterates on artboards under design/. Do not use it to implement production code in the project's stack.
The /gentle:design commands are optional shortcuts: every action also works from a plain request, through this skill and the gentle_design tool. When gentle_design or gentle_design_comments is not declared, call it from codemode as tools.gentle_design({...}) or tools.gentle_design_comments({...}) with the same arguments.
prefers-reduced-motion respected for any motion.design/system.md exists, read it first and use only its tokens and component rules; run the Self-check from "Design system sync" before finishing any artboard.| Situation | Action |
|---|---|
| New brief | Write N clearly different directions (3 by default, or the number asked) to a new design/<slug>/ |
| Feedback on one artboard | Edit that file only; keep its manifest entry, update tradeoff if it changed |
| "Save and try a different approach" | Add a new artboard with the next NN; keep previous ones; append it to the manifest |
| User wants to tune values (spacing, color, type scale) | Add sliders or controls in the artboard plus a "Copy as prompt" button that copies the chosen values as a prompt |
design/<slug>/ already exists for a new brief | Pick a new slug; never overwrite another design |
| A message carries design comments, or the user asks to apply them | Follow "Canvas comments" below |
/gentle:design sync, or the user asks to capture the project's design system | Follow "Design system sync" below |
| The user asks to show, stop, or list designs, or to implement an artboard | Call the gentle_design tool (open, stop, list, or implement with <slug>/<artboard>); follow the handoff text implement returns, and report progress with action "handoff": status: "in_progress" when you start, status: "implemented" when done, with previewUrl set to the running app's loopback URL when one is running |
Run this gate before every new brief: call the gentle_design tool with action: "list", then:
list reports | Action |
|---|---|
system.exists false and designSources present | Run "Design system sync" first, tell the user in one line that you synced the project's design system, then design with it |
No designSources | Skip the sync and design freely |
system.staleSources present | Name those sources, say design/system.md may be outdated, and offer to sync again before designing; re-sync only with the user's OK, and never use the stale tokens silently |
gentle-ui-design: read its SKILL.md and only the references that match the brief's audience, primary job, and success condition. This skill owns delivery; that one owns UX quality.design/<slug>/NN-<name>.html per artboard (01-…, 02-…; kebab-case name).design/<slug>/design.json:{
"title": "Pricing page",
"brief": "Pricing page for a note-taking app aimed at students",
"feature": "odd/tasks/pricing-page.md",
"artboards": [
{ "file": "01-comparison-table.html", "title": "Comparison table", "tradeoff": "Dense and scannable; weaker emotional pull", "width": 1440, "height": 900 },
{ "file": "02-single-plan-hero.html", "title": "Single plan hero", "tradeoff": "Strong focus; hides plan differences", "width": 1440, "height": 900 }
]
}
width/height to the artboard's intended viewport in CSS pixels; keep the manifest in sync with the files on every change. Fields: title, brief, optional feature, and artboards[] with file, title, tradeoff, width, height.odd/tasks/<feature>.md for the current work), set feature to that path and append one entry to that document's ## Log naming design/<slug>/ and its artboards. When an artboard of that design is handed off to implement, the Log entry also names the chosen artboard (the one handed off; list reports it as Chosen) and that the others are alternatives. For small untracked work, omit feature and leave the design standalone; never create a feature document just to link it.gentle-ui-design composition-and-feedback (hierarchy, density, feedback) and adaptive-interfaces (narrow screens, input access, states) guidance, and fix every gap before you report.gentle_design tool with action: "open" and the slug, unless the user said not to. It refreshes an open canvas tab instead of opening another, so call it after every change. Report the URL it returns.:root, @theme, [data-theme]), the Tailwind config or v4 @theme, component library folders, existing token files, and the fonts they declare.design/system.md: colors (token name, value, usage), typography, spacing, radius, shadows, and component rules. For each CSS custom property, use a table row under a ## section, with the backticked token name in the first cell and its backticked value in the second cell. Each entry names its source path. Record only values found in the sources.design/system.html: one self-contained artboard, 1440 px wide, that renders those tokens (swatches, type scale, spacing, radius, shadows) and the core components, under the same no-external-URL rules. The canvas shows it as the first board of every design.design/system.md exists: list the colors and font families the artboard uses, compare them with the system tokens, and fix every deviation before you report.Canvas comments live in design/<slug>/comments.json and also arrive as messages naming each id.
gentle_design_comments tool (action: "list", optional slug and file). Without the tool, read design/<slug>/comments.json and use the entries whose status is "open".file; use selector and excerpt to find the element. When a comment has a screenshot, look at it first: it arrives attached to the comment message, or open design/<slug>/<screenshot> with the read tool. It shows what the user saw, often a transient state the static artboard lacks.action: "resolve", slug, ids). Without the tool, set its status to "resolved" and resolvedAt to the current ISO time, keeping every other entry and field as is. Leave comments you did not apply open, and say why.The file format, for agents that only have file access:
{
"version": 1,
"comments": [
{ "id": "k3x9p2ab", "file": "02-bold.html", "selector": "body > header > h1", "excerpt": "Ship faster", "comment": "Make the headline shorter.", "createdAt": "2026-10-26T10:00:00.000Z", "status": "open", "sentAt": null, "resolvedAt": null },
{ "id": "m7q2w9cd", "file": "02-bold.html", "selector": "#cta", "excerpt": "Start", "comment": "The button jumps during the hover transition.", "screenshot": ".screenshots/m7q2w9cd.png", "createdAt": "2026-10-26T10:05:00.000Z", "status": "open", "sentAt": null, "resolvedAt": null }
]
}
screenshot is optional: a path relative to the design folder, under .screenshots/, present only when the user attached an image.
Never delete or reorder entries, and keep the file valid JSON: the canvas refuses to overwrite a file it cannot parse.
Return: the slug, each artboard file with its title and tradeoff, which files changed in this turn, the comment ids resolved in this turn, and any open question. Give the canvas URL from step 10, or mention that /gentle:design open <slug> shows the canvas when you did not open it. For a sync, return the source paths read, the token counts per group, and whether the system is a proposed starter; after an automatic sync from "Before designing", say it ran and report it the same way.
design/system.md in the project, when present — the design tokens to follow.gentle-ui-design skill — UX quality guidance paired with every artboard.MAmattpocock/skills336k4,217 new stars in the last 7 days
AFaffaan-m/ECC314k3,503 new stars in the last 7 days
FIfirecrawl/firecrawl214k4,815 new stars in the last 7 days
ANanthropics/skills203k2,822 new stars in the last 7 days
Set visual direction and typography for UI, avoiding templated defaults.
ANanthropics/skills203k2,822 new stars in the last 7 days
Build complex HTML artifacts with React, Tailwind CSS, state management and routing.
ANanthropics/skills203k2,822 new stars in the last 7 days