Skill library

Agent skill UI design

Illustration Flat

Develop illustrations, icons or graphic assets for web pages.

  • Web illustration

Install the skill

The documented file workflow loads the original SKILL.md directly as context. The skills CLI rejects this published revision’s YAML, so use the linked files and Node helpers. Keep the published illustration folder available locally. The kit and lint run on Node.js. The headless renderer needs Playwright or Playwright Core and a Chromium installation.

Open the publisher’s downloadView operation manual

What this skill helps with

  • Develop illustrations, icons or graphic assets for web pages.

Good for

  • Illustration and icons
Publisher format
Source files · manual context
Drawing kit
flat-kit.mjs
Style controls
1.2–1.4px white folds · implicit floor · one hero prop · sparse confetti
Deliverable
480 × 360 SVG and local proof PNG
Skill name
illustration-flat
Repository
MengTo/Skills

Common pitfall

Avoid this prompt

Outline the limbs in dark ink and draw a floor shadow under all props.

The large unoutlined fills, thin white folds, and implicit baseline create the cut-paper character.

Use these steps

  1. Read the files and sketch the concept
  2. Draw an original SVG
  3. Compare renders and lint the file

Project walkthrough

Build an outline-free spot image of a reader tagging an oversized bookmark.

Build an outline-free spot image of a reader tagging an oversized bookmark.

  1. Read the files and sketch the concept

    coming-soon.svg

    Prompt · Step 1
    Load the unchanged publisher file https://github.com/MengTo/Skills/blob/d84065d6b19f4a2cf69b550e342d651a82411840/agent-skills/illustration/illustration-flat/SKILL.md as context and read demo/PROMPT.md, references/craft.md, and the selected local example. Keep the companion files in their published relative paths for the scripts. Plan an original “Save a Reading Note” card featuring one long-limbed reader and one oversize bookmark. Use coming-soon.svg to inspect the relative scale of figure and prop and leave similar open margins. Sketch an original lean with one weight-bearing leg and note each hand’s orientation.
  2. Draw an original SVG

    Build an outline-free spot image of a reader tagging an oversized bookmark.

    Prompt · Step 2
    Build one original card.svg in a 480 × 360 SVG viewBox. Use presentation attributes and a unique prefix such as ft- for all IDs. Block the pose with frame(), torso(), and leg() in flat-kit.mjs. Use broad mint, indigo, and yellow fills with white round-ended garment folds at 1.2–1.4 px. Reserve very fine navy for eyes, hair or small details as documented. Plant both shoes and the prop foot on the same invisible floor and add only six or seven floating marks.
  3. Compare renders and lint the file

    The bookmark action reads from flat faces and thin white creases with a clear implicit floor.

    • The bookmark action reads from flat faces and thin white creases with a clear implicit floor.
    • The SVG has viewBox 0 0 480 360 and self-contained, consistently prefixed IDs.
    Prompt · Step 3
    Zoom garment folds, the bookmark grip, and both shoes. Inspect the plain cut-paper silhouette at 480 px. Check the soles share a baseline and that the negative space keeps the central hand contact legible. Render from the skill folder with node scripts/render.mjs card.svg card.png, and compare at 1× using node scripts/render.mjs --sheet sheet.png examples/*.svg card.svg. For a detail render use --zoom x,y,w,h --scale 8 with coordinates from this drawing. Run node scripts/lint.mjs card.svg --prefix ft- --palette style.json and resolve failures before delivery.

Implementation lookup

Use these controls and the local file checker to verify the new drawing.

Review the style-specific treatmentInputs
Command or reference
1.2–1.4px white folds · implicit floor · one hero prop · sparse confetti
Examples
The bookmark action reads from flat faces and thin white creases with a clear implicit floor.
Validate the local SVGVerify
Command or reference
node scripts/lint.mjs card.svg --prefix ft- --palette style.json
Examples
The SVG has viewBox 0 0 480 360 and self-contained, consistently prefixed IDs.

FAQ

How do I load the published files?

The documented file workflow loads the original SKILL.md directly as context. The skills CLI rejects this published revision’s YAML, so use the linked files and Node helpers.

Where does the darker line belong?

Use the documented navy accents for face marks, fingers, shoes, and narrow details. Leave the large colored silhouettes unoutlined.