Skip to content
Skillpedia
Images & icons7.2k Β· #13379

illustration-one-line

What it does

This skill guides an AI agent in drawing a lively figure in mid-action, using one long black line and slightly misaligned color shapes. It is for upbeat product moments such as launches or celebrations.

When to use it

  • βœ“When you want an upbeat picture for a launch, sprint or celebration.
  • βœ“When a page needs motion and energy without a heavy scene.
  • βœ“When you want a figure drawn as one continuous line.

Skill link

https://github.com/MengTo/Skills/blob/main/agent-skills/illustration/illustration-one-line/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/MengTo/Skills/blob/main/agent-skills/illustration/illustration-one-line/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œDraw an energetic SVG figure in one continuous line for our product launch celebration banner.”

5 new skills a week. 1 minute to read.

How it works

The agent draws the whole figure as a single wandering black line. Behind it, flat coral and blue patches are placed slightly out of line, like an imperfect print.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Illustration: One-line

A loose, energetic style: a figure in mid-action drawn as one long wandering black line, with colour laid underneath as offset patches, as if a second print colour slipped. It suits upbeat product moments (launches, sprints, flow, celebrations) where an interior scene would be too heavy. Use illustration-halftone-line for black open line with dot-screen tones and no colour. Use illustration-ink-sketch for a wobbly brush outline around a cute critter. Use illustration-two-colour-brush for thick brush outlines with solid black shapes and one mint ink.

Extracted from a set of 42 original design-and-coding cards in 14 styles; the three cards in examples/ are this style's shipped cards.

The look in one sentence

One continuous black line draws the whole figure, and flat coral, periwinkle and white patches sit behind it, deliberately knocked 2–6 px out of register.

Palette

Measured from the three examples (1x renders): paper 87–89% of the pixels, ink about 2%, white patches about 3%, periwinkle 2.3–3.7%, coral 0.8–2.8%.

Role Hex Where it goes
Paper #ece7da full-bleed background rect, square, no rx
Ink #1d1b1a the one line, every prop line, code glyphs, speed strokes, the eye, solid dots
Coral #f2846e face and hand patches, stripe lines on tops, a sun, one accent patch per prop, code dashes
Periwinkle #8790f4 trousers, hair, screens and props, ground patches, code dashes
White #ffffff tops and sleeves, shoes, cups, clouds, ground patches
  • Masks use #fff and #000 inside <mask> only; they never show.
  • Never: other colours, gradients, opacity, outlines on patches, grey, a second ink colour, black fills larger than a 1.9 px dot.
  • Coral is skin and small accents; it never fills trousers or a whole top. Periwinkle never fills skin.

Line and fill

  • One ink group: <g id="xx-ink" fill="none" stroke="#1d1b1a" stroke-width="2.3" stroke-linecap="round" stroke-linejoin="round">. Every ink path inherits it.
  • Weights at 480 wide: 2.3 for the figure line and props; 2.0–2.1 for a long motion path or clock hands; 1.8 for code glyphs (</>); coral stripe lines 1.9; coded colour dashes 2.3.
  • The figure is ONE path (id="xx-figure") of smooth cubic segments, 1-decimal coordinates. Separate short strokes are allowed only for the eye, a hem or cuff, and props. Each prop is its own single wandering line too.
  • Smoothness comes from the spline: every route point is [x, y] or [x, y, k] with tension k (1 smooth, 0.4–0.6 soft corner at elbows, knees and collars, 0 sharp for glyph corners).
  • Colour is never bounded by the line. Patches are separate closed blobs drawn first, in <g id="xx-patches">, then stripes and dashes in <g id="xx-accents">, then the ink on top.
  • Off-register: offset each patch 2–6 px from the shape it colours (T(pts, dx, dy)), and wobble its edge (wobble, amp 0.8–1.5 for hands and faces, 1.4–2.4 for limbs, 2.2–3 for big areas). Use a different integer seed per patch. Let patches fall short of one side and spill past the other.
  • Stripes: 3–5 coral lines across a top, following the body's curve, stopping 2–4 px short of the contour, 1.9 wide. Sleeves get 1–2 short stripes.
  • Masks: where the line passes behind something (an arm over a laptop, a fist round a baton, a motion path behind a juggled object), knock it out with a <mask> holding the front shape's silhouette in black. Add a black stroke of 2–10 px to open a gap. C.mask() builds it.

Characters

  • Proportions: figures 190–240 px tall in action (53–67% of the card height). The head is 41–48 px tall, so about 1:5. Limbs are tubes: arms 18–21 px wide at the shoulder tapering to 8.6–9.5 at the wrist; legs 27–28 at the hip to 12–13.5 at the ankle.
  • Head: a profile facing the direction of travel, 41–48 px tall. Route it in either direction. Up the throat into FACE_R (chin, lips, nose, brow as soft corners), over the crown and hair, down a ROUND back of the skull to the nape. Or the reverse, rev(FACE_R). The EAR_R C-loop is optional. Drop it if it doesn't read at 8x: an ear plus a flat hairline made a test head read as a helmet. The eye is a separate short closed-lid arc (EYE_R) and there is no mouth stroke (the profile carries the smile). A coral face patch covers the front half of the face, offset 1–2 px toward the profile, and leaves the back of the head bare paper.
  • Hair: a periwinkle patch behind the hair outline (p
FAQ

Why are the colors out of line?

The offset is intentional. It gives a hand-printed look, as if a second print color slipped.

What colors are used?

The skill uses a paper tone, black ink, coral and periwinkle blue, with small white patches.

Is it good for detailed scenes?

It suits a single active figure better than a busy room.

Details

Original description by the author

Draws original hand-written SVG spot illustrations in the One-line style, joyful action figures doing design and coding work. One continuous uniform black line (2.3 px at 480 wide) loops and doubles back to draw the whole figure. Flat coral, periwinkle and white patches sit behind the line, wobbly and deliberately knocked 2–6 px out of register like a misprinted riso. Tops carry coral stripe lines, and there is no ground plane, only a squiggle, a curl or a few speed strokes, all on warm beige paper. Covers the palette, a route-building toolkit (tube limbs, hand and shoe loops, wobble patches,

repo: MengTo/Skills

Popularity

GitHub stars
7.2k
Ranking position
#13379
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills