/design:graphics [brief file or what to draw]from design
Draws custom graphics for websites and apps as code: icon sets, custom icons, spot illustrations, cartoons and mascots, hero or section art, drawings, SVG art, diagrams, maps, patterns, infographic art, empty-state illustrations, and brand objects (price tags, coupons, tickets, stamps, labels drawn as the trade's own artefacts). Picks a different illustration style every project, checks each asset at real size and delivers SVG files with alt text. Use when the user says "make me an icon set", "draw a cartoon of...", "illustrate this", "make it less generic with graphics". The design and vary skills call it when a page needs custom graphics. Not for photo editing or raster image generation.
Ships in design. 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; scripts run unread.
Custom drawings made in code (SVG, or small JS modules that render SVG) that make a site or app clearer and more recognisably its own.
Callers pass .vary/graphics-brief.md, written as:
id, kind (icon-set | spot | hero | section | diagram | map | object | pattern), what it shows, which facts it carries, the UX job, size and aspect, placement.assets/art/).Invoked directly by a user with no brief: write the brief yourself from the request and the repo. If a site exists, read its tokens and fonts (CSS variables, the Tailwind config, the theme file) and any existing art. If the request is a single asset, one row is enough. State the assumptions you made in the summary.
node <GRAPHICS>/scripts/pick-style.mjs --mood <words> --kinds <kinds> --project <repo-root>
<GRAPHICS> is this skill's own directory: the absolute path on the "Base directory for this skill" line Claude Code printed when this skill loaded (or ${CLAUDE_PLUGIN_ROOT}/skills/graphics when that variable is set). Substitute it literally. Never search the filesystem for the script. If <GRAPHICS>/scripts/pick-style.mjs is missing, stop and say so. --mood takes the brief's mood words (playful, calm, technical, premium, warm, bold, editorial, kids, civic, natural, nostalgic); --kinds takes the asset kinds from the brief. Add --from <key> --reroll <n> to replay or re-deal.
It prints one style from data/styles.json. Commit to it. Rules:
--lock style=<id>, or if no catalog entry matches, describe the directive's style yourself. In extend mode, copy what is there, its bans included: if the existing art has no gradients, blur or shadows, neither does the new art.Write a one-page style sheet .vary/graphics-style.md: style id; palette swatches taken from the page tokens (named, with hex); stroke weight; corner treatment; shading rule; texture rule; how people and objects are simplified; what is banned. Every asset follows this sheet.
references/art-crew.md.design:diagram skill's rules (<GRAPHICS>/../diagram/SKILL.md), skinned with this style sheet's palette and fonts. Drawn mechanisms (cutaways, exploded products), maps and infographic art stay here.references/graphics.md. Icon sets: references/icons.md. Read only the sections you need.rsvg-convert or the browser MCP. Read the PNGs. Fix what is wrong: clipped text, collisions, boxes standing for objects, details lost at size. When fixing, refine, don't add: sharpen the shape, spacing and labels already drawn before adding a new element.references/art-crew.md section 5 on the renders. Apply its fixes. Stop at a mean of 7.5 or after 2 critic rounds. If no subagent tool exists, score yourself against the same rubric and say the independent critic did not run.assets/art/): SVG files, a sprite for icon sets, or JS modules rendering SVG, plus a preview sheet for sets.assets/art/GRAPHICS.md: one row per asset with file, size, alt text (or aria-hidden for decoration), and placement. Include the style id and the style sheet path, and any open: items from the critic.aria-hidden="true" for decoration. Meaningful inline SVG gets role="img" and <title>. Icon-only controls get an aria-label on the control.prefers-reduced-motion and shows its finished state without JS.<clipPath>, <filter>, gradients): namespace them or avoid them. Use currentColor for icons.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tomaspalsson/flow --plugin design12 skills in this plugin
/designDesign process: UX and usability first, then fit to the client's real content, then a project-specific look with none of the AI-made tells (indigo, Inter, centred hero + 3 cards, cream + serif, mono eyebrow labels, "Build the future of X"). Ships the feel layer: every control answers hover, press and focus, changes are explained by small tiered transitions, one authored interaction, no scroll fade-ups or idle loops; verified by driving the page in a browser (scripts/probe.mjs). Use when generating, building, improving, polishing, critiquing or evaluating any UI or frontend, or when asked for microinteractions, transitions or polish. Phases: understand → UX (Nielsen) → direction → execute with interaction layer → graphics → polish and tell sweep → feel pass → external evaluator. Keywords: UI, UX, landing page, dashboard, not AI slop, microinteractions, design review. For a brand-new page that should differ between runs, prefer `vary`; use `design` for critique, audits, polish, or by name./diagramDraws clear, good-looking diagrams as one self-contained HTML file with inline SVG (export to SVG or PNG on request): architecture, AWS architecture with the official AWS icons (VPC, subnets, regions, Lambda, API Gateway, DynamoDB, S3 and 800 more), architecture delta, deployment, flowchart, sequence, state machine, ER/data model, database schema, UML class, timeline, Gantt, swimlane, process, data flow, service blueprint, user journey, story map, kanban, quadrant, radar, polar, loop/flywheel, nested, tree, org chart, layer stack, exploded axonometric, axonometric plan, Venn, pyramid/funnel, treemap/marimekko, heatmap, bar/dumbbell, waterfall, line/slopegraph/ridgeline/streamgraph/bump, scatter/bubble/beeswarm, Sankey, fishbone, Wardley map, dependency graph, high-level, medallion, DP integration, DP security matrix, IT current-state; also redraws .drawio, Mermaid and .excalidraw files. Use when the user says "draw a diagram", "diagram this", "architecture diagram", "AWS diagram", "draw our infra", "flowchart of", "sequence diagram", "make this Mermaid look good", or when design, graphics or explainer need a diagram. Not for illustrations, icon sets or brand art (use design:graphics) and not for live data dashboards.