Skill library

Agent skill UI design

Illustration Teal Spot

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
starter.mjs + teal3d.mjs
Style controls
makeCam({ TH: -25, PH: 36 }) · #ebebeb · #0e4a48 hard shadow
Deliverable
480 × 360 SVG and local proof PNG
Skill name
illustration-teal-spot
Repository
MengTo/Skills

Common pitfall

Avoid this prompt

Mix camera angles and use a blurred, centered shadow.

The single oblique view and hard down-right shadow define the object’s spatial relationship.

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

Render an original single-object calibration tile with crisp right-facing teal sides.

Render an original single-object calibration tile with crisp right-facing teal sides.

  1. Read the files and sketch the concept

    command-k.svg

    Prompt · Step 1
    Load the unchanged publisher file https://github.com/MengTo/Skills/blob/d84065d6b19f4a2cf69b550e342d651a82411840/agent-skills/illustration/illustration-teal-spot/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 “Calibrate” card around one mechanical calibration tile. Read command-k.svg for the consistent projection and the shadow under a lifted part. Sketch a new recessed dial and two supporting details, with the object as the sole focal point.
  2. Draw an original SVG

    Render an original single-object calibration tile with crisp right-facing teal sides.

    Prompt · Step 2
    Build one original card.svg in a 480 × 360 SVG viewBox. Use presentation attributes and a unique prefix such as qt- for all IDs. Copy starter.mjs and teal3d.mjs together into a scratch folder and replace the starter object with the new design. Keep makeCam({ TH: -25, PH: 36 }), use solid() for white top and front faces with teal on the right, and recess() for the dial well. Place a hard deep-teal floor shadow down-right on the square #ebebeb background and give each raised extra its own directional shadow.
  3. Compare renders and lint the file

    White top and front faces meet a teal right side, with aligned hard shadows.

    • White top and front faces meet a teal right side, with aligned hard shadows.
    • The SVG has viewBox 0 0 480 360 and self-contained, consistently prefixed IDs.
    Prompt · Step 3
    Zoom the recess edge, right-facing crease and floor shadow at 8×. Verify the background fills the full card, the object is the one focal point, and every visible shadow falls down-right. 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 qt- --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
makeCam({ TH: -25, PH: 36 }) · #ebebeb · #0e4a48 hard shadow
Examples
White top and front faces meet a teal right side, with aligned hard shadows.
Validate the local SVGVerify
Command or reference
node scripts/lint.mjs card.svg --prefix qt- --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.

Can the canvas be transparent?

The published Teal Spot card uses a square full-bleed #ebebeb background. Choose a different style if transparency is the main requirement.