Agent skill UI design
Illustration Outlined Cartoon
Develop illustrations, icons or graphic assets for web pages.
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 manualWhat 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
- outline-kit.mjs
- Style controls
- #1e1b1b · 2.5 / 2.0 / 1.5px · compose() · gripFromWrist()
- Deliverable
- 480 × 360 SVG and local proof PNG
- Skill name
illustration-outlined-cartoon- Repository
MengTo/Skills
Common pitfall
Avoid this prompt
Use the same line weight for the body, fingers, and eye whites.
A weighted line hierarchy directs attention to the big silhouette and keeps interior detail lighter.
Use these steps
- Read the files and sketch the concept
- Draw an original SVG
- Compare renders and lint the file
Project walkthrough
Draw an original large-eyed character turning a dial with clearly layered ink widths.
Draw an original large-eyed character turning a dial with clearly layered ink widths.
Read the files and sketch the concept
code-review.svg
Prompt · Step 1Load the unchanged publisher file https://github.com/MengTo/Skills/blob/d84065d6b19f4a2cf69b550e342d651a82411840/agent-skills/illustration/illustration-outlined-cartoon/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 “Dial In” spot card with a character turning a big tuner dial. Look at code-review.svg for stroke hierarchy and pose readability, then pick a different lean, grip and scene shape. Mark which arm is near and where the fingers wrap around the dial.Draw an original SVG
Draw an original large-eyed character turning a dial with clearly layered ink widths.
Prompt · Step 2Build one original card.svg in a 480 × 360 SVG viewBox. Use presentation attributes and a unique prefix such as dc- for all IDs. Use outline-kit.mjs and compose() to assemble the scene. Use warm ink at 2.5 px for outer silhouettes, 2.0 for hands or cuffs, and 1.5 for eye whites and fine interior shapes. Use tapered fold shapes, large white eyes with highlights, deliberate overlap at the dial, and a few small sparkle crosses.Compare renders and lint the file
Outer contours, hand lines and interior shapes use visibly distinct weights.
- Outer contours, hand lines and interior shapes use visibly distinct weights.
- The SVG has viewBox 0 0 480 360 and self-contained, consistently prefixed IDs.
Prompt · Step 3Zoom an eye, cuff, dial grip, and tapered fold. Verify all three ink weights remain distinct at 1×. Use a proof copy to check that the thumb and index align with the visible hand side. 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 dc- --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
#1e1b1b · 2.5 / 2.0 / 1.5px · compose() · gripFromWrist()- Examples
- Outer contours, hand lines and interior shapes use visibly distinct weights.
Validate the local SVGVerify
- Command or reference
node scripts/lint.mjs card.svg --prefix dc- --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.
Does compose() change the requested final outline weights?
The kit compensates requested numeric scene stroke widths for its 0.84 scale. Enter the desired final weights and check the result in the render.