illustration-one-line
它能做什么
这个技能指导 AI 智能体绘制处于动态中的生动人物,使用一条长长的黑色线条,并搭配略微错位的色块。适合发布或庆祝等轻快的产品时刻。
适用场景
- ✓你想为发布、冲刺或庆祝活动制作轻快的图片的时候。
- ✓页面需要动感和活力,但又不需要复杂场景的时候。
- ✓你想用一条连续线条绘制人物的时候。
技能链接
https://github.com/MengTo/Skills/blob/main/agent-skills/illustration/illustration-one-line/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用一条连续线条绘制一个充满活力的 SVG 人物,用于我们的产品发布庆祝横幅。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会把整个人物画成一条游走的黑色线条。在它后面,略微错位放置平涂的珊瑚色和蓝色色块,看起来像是印刷时没有对齐。
技术内容(原始 SKILL.md)
作者在 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
#fffand#000inside<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). TheEAR_RC-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
常见问题
为什么颜色没有对齐?
这种错位是有意为之的。它营造出手工印刷的效果,仿佛第二种颜色的印版滑动了。
使用哪些颜色?
技能使用纸色、黑色墨水、珊瑚色和长春花蓝,以及少量白色色块。
它适合细节丰富的场景吗?
它更适合单个动态人物,而不是复杂的房间场景。
详情
作者的原始描述
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
热度
- GitHub 星标
- 7.2k
- 排名
- #13379
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
3d-cloth-material
7.2k帮你的智能体在 Three.js 中制作逼真的编织织物,包括纱线编织纹理、柔和光泽、自然褶皱、下摆和缝线。
3d-falling-leaves
7.2k帮你的智能体在 3D 场景中添加逼真的飘落树叶,树叶会翻滚、随风飘动,并在镜头移动时循环利用。
3d-four-seasons
7.2k帮你的智能体为 3D 场景添加春夏秋冬四季效果,无需重建场景即可改变植被、光线、天空和积雪。
3d-high-poly-models
7.2k帮你的智能体构建形状平滑、边缘可信的精细 3D 模型,然后制作在网页上运行流畅的轻量版本。