Skill library

Agent skill UI design

Illustration Two Colour Brush

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
brush.mjs
Style controls
createBrush({ prefix, seed }) · filled ribbons · 2–10px mint misregistration
Deliverable
480 × 360 SVG and local proof PNG
Skill name
illustration-two-colour-brush
Repository
MengTo/Skills

Common pitfall

Avoid this prompt

Draw constant-width marker outlines and snap every mint shape exactly into place.

Varying filled ribbons and slight registration offsets convey the printed-marker 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

Make an original scene with variable-width marker marks and a slightly offset mint plate.

Make an original scene with variable-width marker marks and a slightly offset mint plate.

  1. Read the files and sketch the concept

    coffee-driven.svg

    Prompt · Step 1
    Load the unchanged publisher file https://github.com/MengTo/Skills/blob/d84065d6b19f4a2cf69b550e342d651a82411840/agent-skills/illustration/illustration-two-colour-brush/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 “Mark This Frame” card with a projectionist adjusting a loupe on a film frame. Study coffee-driven.svg for paper spacing and marker texture, then choose new objects, pose, and contact points. Decide where the mint plate should remain visibly offset.
  2. Draw an original SVG

    Make an original scene with variable-width marker marks and a slightly offset mint plate.

    Prompt · Step 2
    Build one original card.svg in a 480 × 360 SVG viewBox. Use presentation attributes and a unique prefix such as bf- for all IDs. Use createBrush() with a stable seed. Draw broad paper and mint zones using fillShape() and the main outline with loop() and filled ribbons. Shift each mint block 2–10 px from its neighboring contour. Leave visible separation between mint areas and restrict optional camo to clipped off-white sections. Add one coherent floor contact.
  3. Compare renders and lint the file

    At 2×, the marker edges vary in width and the mint plate is visibly out of register.

    • At 2×, the marker edges vary in width and the mint plate is visibly out of register.
    • The SVG has viewBox 0 0 480 360 and self-contained, consistently prefixed IDs.
    Prompt · Step 3
    Zoom two marker ends and the mint plate edge. Confirm the line swells and narrows, the offset reads without filling all negative space, and the rendered card uses the four documented palette colors. 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 bf- --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
createBrush({ prefix, seed }) · filled ribbons · 2–10px mint misregistration
Examples
At 2×, the marker edges vary in width and the mint plate is visibly out of register.
Validate the local SVGVerify
Command or reference
node scripts/lint.mjs card.svg --prefix bf- --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.

How do I make the brush marks repeatable?

Use a fixed kit seed and keep the build input and control points stable. Use the kit’s seeded randomness where marks vary.