illustration-two-colour-brush
它能做什么
这个技能指导 AI 智能体用两种墨水在奶油色纸张上绘制一个做出清晰动作的粗壮角色。适合俏皮的空状态、引导和编辑风格的页眉。
适用场景
- ✓你想为空状态或错误页面绘制俏皮的手绘角色的时候。
- ✓编辑风格的页眉需要活力和人情味的时候。
- ✓画面只想使用黑色和一种薄荷色的时候。
技能链接
https://github.com/MengTo/Skills/blob/main/agent-skills/illustration/illustration-two-colour-brush/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在奶油色纸张上绘制一个俏皮的 SVG 马克笔风格人物,带有薄荷色高光,用于我们的引导界面。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会绘制粗实的黑色马克笔式线条,线条端头呈圆团状。薄荷绿以平涂色块的方式加入,略微错位于黑色线条之外,像是没有对齐的印刷品。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Illustration: Two-colour brush
Loose, confident marker drawings in two inks, black and mint, on cream paper. A chunky character does one readable thing, drawn with fat wobbly lines; mint sits in flat blocks that never quite line up with the black. It suits playful product moments that want energy and a human hand: empty states, onboarding, error pages, editorial headers.
Boundary: for a wobbly brush line with hatching and full colour, use illustration-ink-sketch. For a single continuous line with off-register colour, use illustration-one-line. For thin black line with halftone dot shading, use illustration-halftone-line. For flat colour with solid black shapes and no marker texture, use illustration-flat-with-black.
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
Every line is a fat, wobbling, blob-ended black marker ribbon, and the only other ink is flat mint green laid as a second plate that slips a few pixels off those lines, on cream paper.
If the lines go even-width or the mint registers exactly inside the outlines, it stops being this style.
Palette
Four colours, measured from the examples. Nothing else is ever drawn.
| Role | Hex | Where it goes |
|---|---|---|
| Paper | #f1ede3 |
full-bleed card, skin (faces, hands, necks), knockout halos behind front objects |
| Ink | #141412 |
every line; solid hair, beards, trousers, hoodies, shoes, laptop lids, mugs, night panes |
| Mint | #4fd592 |
offset plates on bodies and props, highlight dashes on black, floor bands, screen glow, stickers |
| Off-white | #f7f4ec |
shirts and chair upholstery under camo, toe caps, glints on black, bubbles, beaks, laptop shells |
| (clip only) | #000 |
fill of <clipPath> shapes; never visible |
Never: a third hue, grey, tints or opacity, gradients, filters, drop shadows, or stroke= lines (the only stroked paths are paper halos). Skin is paper, not a skin tone. Mint never touches mint: separate two mint areas with a black line or paper.
Line and fill
- Every line is a filled ribbon from
scripts/brush.mjs, never an SVG stroke. On the 480 card the nominal widthwrenders atw x 1.42(w >= 4),w x 1.28(3.3-3.9) orw x 1.1(below 3.3), whatever the fit scale. - Widths in use (card px): floor line w 5.2-5.8 (7.4-8.2); big silhouettes (duck, armchair, hair) w 4.4-4.8 (6.2-6.8); standard outlines (body, limbs, props) w 4.0-4.2 (5.7-6.0); hands, mugs, small props w 3.0-3.8 (3.3-4.9); inner lines, glyphs, creases, tread w 2.0-2.8 (2.2-3.1); camo w 2.5-2.8.
- Wobble: width varies ±34% along a stroke, the start blob swells 38-78% and the end 26-66%, long strokes get 1-3 swells, and the centre-line wanders 0.95 px. Keep the defaults; pass
v: 0.05-0.15only for small glyphs and clock hands. - Outlines of closed shapes are ONE
loop()stroke that starts somewhere (start0-1) and overlaps its own start by 4%. A visible overlap blob is correct.part: 0.93leaves a deliberate gap. - Solid black shapes (hair, trousers, shoes, hoodie):
fillShape(ink)then aloop()outline round them, so the edge is lumpy. - The mint plate: fill the shape with paper or off-white, then the SAME shape in mint shifted by (dx, dy), then the black outline. Offsets on the examples run from 2 to 10 px, mostly up-left (-3..-7, -2..-6), a few down-right. On black shapes, put the shifted mint BEFORE the black fill so mint peeks out along one edge.
- Halos: where a front object crosses a black shape, lay
halo(shape, 3-12)first: a paper fill plus paper stroke that cuts a clean gap. Shoes 10-11, a front leg 8.5, a laptop lid 6-8, hair 9, arms 6, palms 5, thumbs 3. - Highlights: 2-4 mint dashes (w 2.4-3.0, 8-16 long) along the inside edge of each black shape, 4-5 in from the outline; off-white dashes (w 2.4-3.0) for glints on shoes, mugs and lids.
- Squiggle camo on off-white areas only: 3-7 crinkled wandering lines, 1-3 closed puddles and 1-4 small o-rings (r 3.4-4.2) per area, w 2.5-2.8, clipped to the shape with
clipped(), drawn before the outline. - Stipple: clusters of 3-5 dots r 1.0-1.5 in ink or mint beside a form (a cushion, a cheek, a belly).
Characters
- Proportions: chunky. The head with hair is about 1/3.5 of a seated figure's height; limbs are fat tubes (legs 38 → 23 wide, arms 30 → 24, in scene units before fit); hands about as long as the fac
常见问题
为什么薄荷色会偏离线条?
这是该风格的特点。这种错位模仿了双色印刷略微不对齐的效果。
它使用几种墨水?
只使用两种:黑色和薄荷绿,搭配奶油色纸张。
它适合细节丰富的产品界面吗?
不适合。它是为松散、人性化的场景设计的,而不是精细的界面截图。
详情
作者的原始描述
Draws original design and coding scenes as hand-authored SVG cards (480x360) in a two-colour brush-marker style. Identifying traits: thick wobbly black marker lines with blobby ends, built as filled ribbons; one second ink, mint green, in flat blocks that slip 2-10 px off the line like a misregistered print; solid black hair, trousers and shoes with mint highlight dashes; and a crinkly squiggle camo on cream areas, all on warm cream paper. Characters are chunky, with profile heads, big noses, dot eyes, big hands and feet. It covers people coding, thinking, carrying and resting with laptops, mu
repo: MengTo/Skills
热度
- GitHub 星标
- 7.2k
- 排名
- #13382
- 许可证
- 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 模型,然后制作在网页上运行流畅的轻量版本。