design-components
Skill8 starsChanged 2 months agoMITView on GitHub
Use only when autopilot-design dispatches component, mockup, or preview construction. Not for top-level user requests or primary capability routing.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- mae616/ai-templatetheir own version, first seen Aug 22, 2026
- mevans2120/design-suite-claude-skillstheir own version, first seen Oct 22, 2025
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- mevans2120/design-suite-claude-skills★ 11same name
- mae616/ai-template★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codex_setting/AGENTS.mdAGENTS.md
- opencode_setting/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- claude_setting/CLAUDE.mdCLAUDE.md
- analyze-projectSkill
- analyze-userSkill
- artifact-projection-readSkill
- auditSkill
- autopilot-applySkill
- autopilot-codeSkill
- autopilot-designSkill
- autopilot-draftSkill
- autopilot-labSkill
- autopilot-refineSkill
- autopilot-researchSkill
- autopilot-shipSkill
- autopilot-specSkill
- code-executeSkill
- code-planSkill
- code-refineSkill
- code-reportSkill
- code-testSkill
- design-handoffSkill
- design-initSkill
- design-refsSkill
- design-reviewSkill
- design-tokensSkill
- draft-refineSkill
- draft-strategySkill
- post-itSkill
- session-tidySkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 0 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Follow an explicit artifact or audience language when provided.
- Very specific: line 33
Read 01_refs/brief.md for intent and tone.
- Very specific: line 34
Read 02_tokens/tokens.md as the token source of truth.
- Very specific: line 69
Run the design/maker unit with this task:
- Very specific: line 128
Place integrated code under the project root components/ui/.
- Very specific: line 134
Use the active adapter's equivalent of preview → getConsoleLogs → screenshot → view_image.
- Very specific: line 136
When a live browser harness is unavailable, use the supported static renderer such as sharp, rsvg, or mmdc, and report the limitation.
- Very specific: line 140
When --artifact standalone is selected or no project stack exists, produce one self-contained browser-openable file per scope:
- Very specific: line 165
Update design_state.yaml with these functional fields:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
design-components
Language Rule
Follow an explicit artifact or audience language when provided. Otherwise, write specifications, preview labels, and user-facing reports in the conversation language according to <agent-home>/roles/response-policy.md. Preserve code identifiers, native tool IDs, paths, component names, and design-token names.
Resolve and Check State
Find design_state.yaml under $AGENT_ARTIFACT_OUTPUT_DIR/designs/<name>/ or the app's design/ directory.
- Require
phases.tokens: doneunless scope isiconordiagram. - Require readable
01_refs/brief.md.
Procedure
Step 1: Load Brief, Tokens, and Scaffold
- Read
01_refs/brief.mdfor intent and tone. - Read
02_tokens/tokens.mdas the token source of truth. - Reuse the closest scaffold from
<agent-home>/scaffolds/and copy it into the design folder before customization:- slide →
deck_stage/deck_stage.html; always base decks ondeck_stage - variants →
tweaks_panel/rather than duplicating files - mockups →
device_frames/ - option comparisons →
design_canvas/ - image placeholders →
image_slot/
- slide →
Step 2: Build by Scope
scope=ui
Extract the required component list from the PRD or explicit request. Run the design/maker unit (this node's own unit) with this task:
Build UI components.
Brief: 01_refs/brief.md
Tokens: 02_tokens/tokens.css or the selected Tailwind config
Required components: [TaskRow, TaskForm, EmptyState, ...]
For each component:
- use a shadcn/ui base with Tailwind customization when appropriate
- specify props
- show one-page usage
- cover accessibility
Write:
- 03_components/<component>.tsx
- 03_components/<component>.mdThe .tsx file is the working React component; the .md file records props, usage, and accessibility notes.
scope=slide
Run the design/maker unit with this task:
Build presentation slides from the brief and tokens.
For every slide, define layout, color roles, typography hierarchy, and emphasis pattern.
Base the deck on <agent-home>/scaffolds/deck_stage/deck_stage.html.
Fill one <section class="slide"> per slide and preserve automatic scaling, keyboard navigation, PDF behavior, and speaker-note slots.
Use body text of at least 24px at 1920×1080.
Every slide must be renderable; do not produce only a Markdown guide.
Write:
- 03_components/slides/slide_<N>.md
- 03_components/slides/slides.html
Render and inspect every slide through the Step 4 visual loop before completion.scope=icon
Run the design/maker unit with this task:
Create icons or a logo.
- Prefer an existing Lucide or Iconify match.
- Otherwise write SVG directly.
- Use the active image-generation capability only when a complex logo or illustration requires raster generation.
Write:
- 03_components/icons/<name>.svg
- 03_components/icons/index.mdscope=diagram
Run the design/maker unit with this task:
Create a diagram.
- simple flow, sequence, or architecture → Mermaid
- relationship graph, matrix, or workflow → SVG; for many-to-many relationships prefer matrices, lanes, or orthogonal gutter routing over crossing arrows
- free sketch → Excalidraw
- paper architecture figure that follows the user's deck format → layout guidance only: block list with labels, role colors, positions, flow, emphasis, and a Markdown sketch; hand off the final drawing through assets/figure/svg/ and figure_ppt/
Write:
- 03_components/diagrams/<name>.svg|.mmd|.excalidraw|.md
- a validation PNG when the output is renderable
Render and inspect the output through Step 4. A paper-architecture wireframe receives a lighter check because it is a handoff guide, not the final figure.Step 3: Integrate UI Code
For scope=ui, install selected shadcn/ui components only after the applicable confirmation:
pnpm dlx shadcn@latest add button card dialogPlace integrated code under the project root components/ui/. Keep customization and usage guidance under 03_components/.
Step 4: Rendered Visual Verification
Completion requires rendering and visual inspection; coordinates or source code alone are not evidence. Follow roles/units/design/maker.md and the visual self-verification loop.
Use the active adapter's equivalent of preview → getConsoleLogs → screenshot → view_image. Inspect every applicable state or slide for overlap, clipping, alignment, hierarchy, spacing, and color-role errors. Iterate up to 3–5 times when needed. Present the validated render through the available user-facing preview surface.
When a live browser harness is unavailable, use the supported static renderer such as sharp, rsvg, or mmdc, and report the limitation. Do not claim live-preview or rendered verification without evidence.
Step 4b: Standalone Preview
When --artifact standalone is selected or no project stack exists, produce one self-contained browser-openable file per scope:
uiorwebapp→03_components/preview.htmlwith inline<style>and, only when needed, CDN Tailwind/React fromhttps://cdn.tailwindcss.comoresm.shslide→03_components/slides/slides.html, one<section>per slide with inline CSSiconordiagram→03_components/preview.html, an inline labeled SVG gallery or diagram with legend
Render and screenshot this file, then return its path and visual evidence.
For a production-candidate UI/webapp bundle, use real Tailwind purge and actual shadcn/Radix components to build one dependency-free index.html; follow tools/web-bundle/README.md. A CDN preview is development-grade only. Verify the production bundle through the same visual loop.
Step 4c: Polish Check
After rendering, confirm:
- one clear focal point
- consistent alignment and spacing rhythm
- sufficient breathing room
- hover, active, empty, and loading states where relevant
- token-consistent color roles
- distinct heading, body, and caption hierarchy
Return to Step 4 when any applicable criterion fails.
Step 5: Update State
Update design_state.yaml with these functional fields:
phases:
components: done
components_dir: 03_components/
preview: <preview.html path or screenshot>
verified_visually: trueOutput
03_components/with scope-specific code, specs, assets, and preview- integrated project components only after confirmation
Return Format
<design_path>/03_components/ -- ✅ components ready (N components / K assets)The acting agent may retain durable component or preference patterns when they are genuinely useful for future work. Do not make memory writes a completion requirement; explicit project conventions remain authoritative.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

