Skill library

Agent skill UI design

Illustration Flat With Black

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
parts.mjs
Style controls
ink #15202f / #26313f · 20–40% painted black · one thin ground line
Deliverable
480 × 360 SVG and local proof PNG
Skill name
illustration-flat-with-black
Repository
MengTo/Skills

Common pitfall

Avoid this prompt

Apply an even black outline to colored garments and leave the shoes above the ground line.

This style relies on dark filled masses and the single baseline for weight.

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

Anchor an original workshop scene with dark shapes and precise floor contact.

Anchor an original workshop scene with dark shapes and precise floor contact.

  1. Read the files and sketch the concept

    friday-deploy.svg

    Prompt · Step 1
    Load the unchanged publisher file https://github.com/MengTo/Skills/blob/d84065d6b19f4a2cf69b550e342d651a82411840/agent-skills/illustration/illustration-flat-with-black/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 “Meter Check” card with a technician reaching for a wall meter. Read friday-deploy.svg for the ratio of dark masses to flat mid-tones and use a new stance and object. Sketch the ground Y, shoulders, wrists, hips, knees, and shoes, then mark the visible side of each hand.
  2. Draw an original SVG

    Anchor an original workshop scene with dark shapes and precise floor contact.

    Prompt · Step 2
    Build one original card.svg in a 480 × 360 SVG viewBox. Use presentation attributes and a unique prefix such as fb- for all IDs. Use kneeTube or sleeve from parts.mjs to build tapered limbs. Keep colored shapes filled, place at least two substantial dark masses in clothing or equipment, and use at least three documented mid-tones. Set shoes precisely on one thin ground() line and reserve white seams for the dark fills.
  3. Compare renders and lint the file

    Dark fills stabilize the scene, and soles visibly touch the single ground line.

    • Dark fills stabilize the scene, and soles visibly touch the single ground line.
    • The SVG has viewBox 0 0 480 360 and self-contained, consistently prefixed IDs.
    Prompt · Step 3
    At normal size, estimate whether the two documented ink colors occupy roughly 20–40% of the painted area. At 8×, inspect the sole alignment on the ground and the cuff, thumb, and meter contact. 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 fb- --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
ink #15202f / #26313f · 20–40% painted black · one thin ground line
Examples
Dark fills stabilize the scene, and soles visibly touch the single ground line.
Validate the local SVGVerify
Command or reference
node scripts/lint.mjs card.svg --prefix fb- --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.

What area is the black-share target measured against?

Compare the two documented ink shades against the painted area of the artwork. Transparent page margins are outside that area.