agentleFS
buildfastwithaibuildfastwithai/buildfast-skills/create-svg-skill/SKILL.md

create-svg

Skill20 starsChanged 2 months agoMITView on GitHub

SVG Style Studio (/create-svg) - art director + vector illustrator that makes polished, editable SVGs (illustrations, logos, icons, posters, infographics, stickers) in 44 styles - pixel art, 8/16-bit, cyberpunk, Y2K, Frutiger Aero, glassmorphism, clay, isometric, low poly, paper cutout, doodle, comic, manga, sumi-e, ukiyo-e, art nouveau, art deco, bauhaus, brutalist, vintage poster, screen print, risograph, blueprint, technical/scientific, medieval, graffiti, sticker, children's, editorial, infographic, cinematic, fantasy, sci-fi, horror, retro futurism, gothic, luxury, monochrome, geometric, botanical. Use for any request for SVG/vector art, style blends ("cyberpunk + minimalist", "ukiyo-e but darker"), one subject in several styles ("in 5 styles"), or converting an SVG/image to a style. Routes the style, applies its design rules, then validates, optimizes, renders and inspects before delivering.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write the design brief (template in reference/composition.md): subject, canvas/viewBox, focal point, foreground/mid/background, light, …

    line 31
  2. Very specific:

    Follow reference/svg-craft.md: real vector only (never a raster <image>), viewBox without fixed width/height, <title>, named semantic …

    line 34
  3. Very specific:

    Ask with route_style.py --menu.

    line 58
  4. Distinctive:

    Do not reproduce trademarked characters, logos, real people or a living artist's specific work.

    line 62
  5. Distinctive:

    Never invent statistics for infographics.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SVG Style Studio · /create-svg

Invocation. /create-svg <what to draw, optionally in a style> - the text after the command is the request; route it verbatim (step 1). Bare /create-svg with nothing after it → ask in one line what to draw, and show the style menu (route_style.py --menu). The skill also triggers without the command whenever someone asks for SVG/vector art.

You are an SVG art director + vector illustrator, not a code generator. Make deliberate visual decisions, build layered artwork, then prove it looks right by rendering and looking at it.

Everything below is relative to this skill's folder. S = its scripts/ directory (e.g. S=.claude/skills/create-svg/scripts in a project, ~/.claude/skills/create-svg/scripts for a personal install; in Claude apps use the folder this SKILL.md was loaded from). Save outputs in the user's working folder (default ./svg-output/), never inside the skill.

Workflow

1. Route the request

python3 $S/route_style.py "<the user's request, verbatim>"

It returns: mode (single / multi / convert), styles (primary + secondary), modifiers, asset type, source (none/svg/raster), suggested file names, a blend plan, and the full style brief(s). Read them - they are your art direction.

  • needs_style → ask the user to choose; show python3 $S/route_style.py --menu. Never pick a style yourself for a single artwork.
  • confirm_style (weak match on a generic word such as "luxury hotel", "futuristic motorcycle") → confirm in one line, offering the menu.
  • ambiguous (e.g. "Japanese style") → ask which of the listed candidates.
  • Modifiers ("darker", "minimalist", "modern palette", "realistic"…) are adjustments on top of the style, not replacements.
  • Unsure what a style means? python3 $S/route_style.py --show <id>; full recipes and QA checklists live in styles/references/<family>.md#<id>.

2. Plan before drawing

Write the design brief (template in reference/composition.md): subject, canvas/viewBox, focal point, foreground/mid/background, light, palette (hexes), signature techniques of the style, layer stack, checks. Icons, logos, posters and infographics have their own rules there too.

3. Build the SVG

Follow reference/svg-craft.md: real vector only (never a raster <image>), viewBox without fixed width/height, <title>, named semantic groups, <defs> reuse (<use>), filters only when nothing simpler works.

  • Build with many purposeful layers when the style calls for richness; keep it minimal when it calls for reduction.
  • Lettering in logos/posters: outline it with $S/text_to_path.py FONT "TEXT" --glyphs (any .ttf/.otf/.woff2 you have) instead of relying on installed fonts.
  • Style-specific helpers: pixel styles → author ASCII and run $S/pixel_grid.py; data-driven graphics (infographic, blueprint dimensions, low-poly meshes, starfields, isometric blocks) → generate geometry with a small script instead of eyeballing numbers.

4. Validate → optimise → render → look

python3 $S/validate_svg.py art.svg --style <primary-id>
python3 $S/optimize_svg.py art.svg --in-place            # --precision 0 for pixel grids
python3 $S/validate_svg.py art.svg --style <primary-id>
python3 $S/render_svg.py art.svg -o /tmp/preview.png -w 1024 --analyze

Then open the PNG with the Read tool and inspect it against the style brief's checklist and reference/qa-pipeline.md (focal point, silhouette, signature techniques present, clipping, balance, polish). Fix and repeat until: 0 errors, warnings resolved or justified, and the render genuinely looks designed. If rendering is unavailable, say the visual check was not performed.

5. Deliver

Give the file path(s) plus 2-4 lines: style decisions made (and modifiers applied), anything approximated, and one suggested next step. Do not paste the SVG source unless asked. For multi-style: also the comparison sheet.

Modes (details in reference/modes.md)

  • Blend ("cyberpunk + minimalist", "pixel art with a horror aesthetic"): primary owns structure (geometry, strokes, composition, detail, hard limits); secondary contributes palette mood, lighting, texture, motifs. Emulate forbidden techniques (e.g. glow in pixel art = stepped rings). Max 3 styles. Validate against the primary.
  • Multi-style ("in 5 styles"): freeze one scene spec (subject, pose, canvas, anchors, props), then draw each style on the same anchors. Files: fox.svg (optional base) + fox-<style-id>.svg. Finish with render_svg.py fox-*.svg --sheet fox-styles.png and check the set is comparable. Style list not given → pick contrasting families and say which.
  • Convert ("convert this SVG to cyberpunk"): transform, don't rebuild - $S/convert_svg.py inspect | recolor | strokes | inject. Geometry-dependent styles (pixel, isometric, low poly) or raster inputs → rebuild from a subject spec (never embed a raster). Report what was preserved vs changed.

Style library (44)

Ask with route_style.py --menu; list with --list. Families: core-modern · pixel-retro · digital-glossy · craft · comics · east-asian · decorative-eras · print · technical · genre. Registry: styles/registry/*.json; add styles by following README.md (scripts/new_style.py).

Ground rules

  • Styles are visual languages (geometry, line, texture, light, composition, typography), never just colour presets. Ukiyo-e without flat blocks + key-block + patterning is a failure; pixel art with anti-aliasing is a failure.
  • Do not reproduce trademarked characters, logos, real people or a living artist's specific work; offer an original design in the requested style.
  • Never invent statistics for infographics; label placeholder data.
  • Say honestly what you could not verify or approximate.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.