Duolingo Character Style 标志

Duolingo Character Style

社区
rossark0
duolingo-character-style

按照 Duolingo 自有品牌指南中矢量插画的规则和比例,绘制 Duolingo 扁平插画风格的人物与角色。内容涵盖三种圆润形状、墓碑形头部和躯干、肩部隐藏的粗胶囊状手臂、大圆手掌、仅在手势需要时绘制手指、药丸状眼睛、姿势、图层顺序,以及最多使用一种阴影的纯色填充。适用于绘制、生成、审查或修正 Duolingo 风格的人物、头像、吉祥物或插画场景(SVG、React Native SVG、Skia、canvas、Figma 规格);也适用于有人指出手臂、手掌或手指不符合这种风格的情况。

Add to TypingMind

概览

发布者rossark0
代码仓库duolingo-character-style-skill
技能名称duolingo-character-style
星标数
46
复刻数
4
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 rossark0 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Duolingo Character Style AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/rossark0/duolingo-character-style-skill/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rossark0/duolingo-character-style-skill.git \
  .claude/skills/duolingo-character-style
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Duolingo Character Style,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Duolingo Character Style。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Duolingo Character Style 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Duolingo-style characters

Draw original characters the way Duolingo's illustrators draw theirs. Every rule here comes from Duolingo's public brand guide ("Shape language", design.duolingo.com/illustration) or from measuring the vector drawings published in it (raw numbers in reference/measurements.md).

Make new characters in this style. Never copy Duolingo's own characters (Duo, Lily, Zari, Bea, Vikram and the rest) or its logo: they are trademarks.

The frame

Draw every character in one frame: the head is 100 units wide and its center is (0, 0), with y growing downward. All numbers below use that unit, so the proportions survive any size. To place the character in a scene, translate and scale the whole group.

1. Shape language (always)

  • Three shapes only: the rounded rectangle (the one you use most), the circle and the rounded triangle. Every corner is rounded, because pointy shapes are off-brand. A capsule is a fully rounded rectangle.
  • Few shapes: use the fewest shapes that tell the story, and make every shape matter.
  • Rhythm: put big and small shapes side by side (big head, short neck, round hands). Shapes of the same weight next to each other look dull.
  • No outlines: parts are separated by flat color only.
  • One shade step at most per color: no gradients and no textures. Never use transparency to fake a darker tone; pick a solid darker color.
  • Flat perspective: a floor shadow is a pill, never an oval (an oval implies perspective).
  • Few colors: too many colors hurt legibility at small sizes.
  • Never gray: not for skin, clothes or a "sad / before" version of a character. Use cool pastels instead.

2. Proportions (head width = 100)

PartShapeSizeValue in the kit
HeadTall capsule, or a tombstone (half-circle top, straight sides, rounded bottom corners)100 wide, 115 to 125 tall100 x 122, y -66 to 56
NeckRounded rectangleAbout 1/3 of the head width. 12 to 25 of it shows between chin and torso28 wide
Torso of a bustTombstone: the top is a half circle (radius = half the width), straight sides, small bottom radius1.4 to 1.55 x the head width144 wide, top at y 68
Torso of a short full bodyRounded square with very round corners (radius about 0.45 of the width), or a circleAbout 1.45 x the headn/a
Arm or sleeveCapsule, same thickness from shoulder to wrist36 to 40: about the neck's width, a quarter of the torso's width38
Shoulder (the arm's round end)Fully inside the torso outlineAbout 0.7 x arm thickness in from the torso side, about 1/3 of the torso width below its top(±46, 118)
HandCircleDiameter about half the head width (1.3 x the arm thickness)Radius 25
Hanging armOne straight capsule, 9 to 15 degrees out from verticalAbout 145 from the shoulder to the hand centerHand at (±80, 252)
Bent armTwo capsules sharing one round elbow55 to 80 each (most poses 65 to 80), within 25% of each othern/a
Raised straight armOne capsuleCan stretch to about 2 x the head widthn/a
Finger or thumbCapsuleWidth = 1/3 of the hand diameter16

3. Arms

  • An arm is a thick capsule: the same thickness from shoulder to wrist, about as wide as the neck. A thin "stick" arm is the most common way to break this style.
  • The socket is always hidden behind the torso. The guide says: "Ensure that the arm socket is always concealed behind the torso." Put the arm's round shoulder end fully inside the torso outline and draw the arm before the torso. If the round end reaches the torso's top corner, a ball shows on the shoulder; move the shoulder lower and further in.
  • Straight, or one bend. A bent arm is two capsules that share the same round elbow. An SVG polyline with round caps and round joins draws exactly this.
    • Never draw a continuous curve (a "banana" arm).
    • Never draw a separate ball for the elbow or shoulder. The guide: "Avoid too many shapes. It complicates the overall silhouette."
  • Segment length: when both the upper arm and the forearm show, keep them about the same length. A straight arm can stretch (a raised arm can reach twice the head width); a cartoon length is fine, but unequal segments are not.
  • Let the elbow break the silhouette. When a forearm crosses the body, the elbow sticking out of the torso outline is what tells the viewer the arm is bent.
  • Hanging arms fall almost straight down, 9 to 15 degrees outward, with the hand at hip height. On a bust, the torso hides most of the arm and only a sliver along the side and the hand show. That is correct.

4. Hands and fingers

The guide: "Try to keep hands as abstract as you can by keeping them as circles in most places. If you need to show fingers, display the bare minimum needed for the pose."

  • Size: the hand is a circle about half the head width (1.3 x the arm thickness). Hands a third of the head wide look like beads.

  • Clothed arm: draw the hand first and the sleeve over it, so the sleeve's round end covers the top of the hand a little. The hand center sits about 38 units past the center of the sleeve's round end. Bare arm: the hand can go on top of the arm's end.

  • Fingers: each finger is a capsule 1/3 as wide as the hand diameter, never a thin line. Use at most four digits, counting the thumb.

  • The minimum per gesture:

    GestureHand
    Fist, holding something, cheering, hand on the face or kneeCircle only
    Thumbs upFist circle plus a thumb capsule (width 1/3 of the hand diameter). The thumb runs from the fist center to 0.63 x the radius past the top of the fist, shifted toward the body
    PointingFist circle plus an index capsule along the top of the fist, reaching about 1.6 x the fist radius past it
    Wave or spread handFour short capsules fanned out from the end of the arm, from up-left round to the right, with no extra palm shape. Each is about 0.46 x the arm thickness wide and 0.9 to 1.3 x the arm thickness long. Use it only when the wave is the point of the image
    Flat open palm (a shrug)A thin horizontal pill, about half the arm thickness tall and 1.6 x it long
  • Avoid the "fork": three thin parallel fingers plus a thumb. It is the second most common way to break the style.

5. Same-color overlaps and shading

  • Sleeve in front of the torso: when the torso is the same color, the sleeve merges with it, with no outline and no extra shade. The pose reads from the elbow sticking out of the silhouette and from the hand. Duolingo draws it this way for arms crossed over a sweater and for a forearm holding a bowl. Do not draw a darker forearm across the chest; it reads as a separate stick.

  • Where the hand lands: the forearm disappears into the body, so design poses where the hand lands somewhere readable:

    • on the face or head;
    • at the edge of the silhouette (gripping the other arm);
    • on an object;
    • in the air.

    A lone hand in the middle of the chest reads as a stray dot.

  • Hand over the face (skin on skin): use the skin's one-step-darker shade.

  • Same-color part behind (a body behind a head, a second blueberry): the one behind can go one step darker.

  • Holding an object: draw the sleeve, then the object, then the hand on top. Otherwise the merged sleeve covers the object.

  • Holding an edge (a blanket, table or wall): put the hands behind the edge so only their top half shows. Two full circles side by side read as something else.

6. Face (inside the 100-wide head)

  • Eyes: white pills standing up (fully rounded rectangles), never ovals. They are big and close together: each about 30 x 40, with centers about 39 apart, a little above the middle of the head (y about -8).

  • Pupil: a dark pill (13 x 20) in the upper part of the eye, never centered vertically. Add a small white shine dot on the same side in both eyes.

  • Emotion: it comes from cutting the white of the eye and from the pupil size. There are no eyebrows. A cut is a skin-colored shape over the top of the white (the lid) or the bottom (the cheek).

    ExpressionHow
    TiredFlat lid across the top
    SadLid slanting down toward the outside
    WorriedSteeper lid plus a cheek cut
    HappyCheek cut pushing up from below
    Wide-eyedSmaller pupil
  • Closed eye: one stroke in the dark skin tone, never black.

    • Happy: an upward arc.
    • Calm: a line with the outer end drooping.
    • Squeezed: ">" and "<" with a flat stroke along the bottom.
  • Nose: one or two rounded rectangles between the eyes, in the "feature" color (a darker, more saturated skin tone).

  • Mouth: the least geometric shape. It is usually pulled to one side and can break the face outline.

    MouthHow
    SmileA stroke
    Big smileOnly a white tooth shape
    OpenDark shape with the teeth at the top and the tongue in the middle
    Gritted teethA white rounded bar
  • Extras:

    • Tear: a light-blue rounded triangle plus a circle under the outer corner of the eye.
    • Tired bags: short curved strokes in the skin shade.
    • Facial hair: keep the nose the same color as the skin (guide).

7. Head and hair

  • Hair: simple, one or two big shapes. Too many irregular shapes make the head hard to turn.
  • Above the ear: always put some hair above the ear or sideburn, or the character looks like it got a bad haircut (guide).
  • Two hair recipes:
    • A bob is one tombstone behind the head plus straight bangs in front, in the same color so they read as one shape.
    • Curls are a few circles of different sizes (rhythm) over a close-cropped base.
  • Ears (optional): small circles at eye height.
  • Variety: vary head width and height, eye style (round, glasses, almond, linear, dots), nose and hair between characters. The construction stays the same.

8. Posing

  • Tell the story: posing adds personality. Avoid static, expressionless characters.
  • Silhouette test: fill the character in one color; the gesture must still read.
  • Size test: check at the smallest size the image will ship (for example 60 px tall). Hands, elbows and the expression must still read.
  • Prefer readable hand spots: hands on the face or head, at the silhouette edge, on an object, or in the air.
  • Tested poses in the kit:
    • hand on the forehead (sigh);
    • both arms up in a V (cheer);
    • thumbs up;
    • self hug (sad and cold);
    • hands on the temples with elbows on a desk (stress);
    • holding a phone with both hands;
    • phone at the ear with a coffee in the other hand;
    • cross-legged with the hands on the knees (calm);
    • lying in bed holding the blanket.
  • Floating accents (hearts, notes, drops) are fine when they serve the illustration (the idea comes from Duo's floating feet). Keep them few.

9. Layer order (back to front)

  1. Back hair (a bob behind the head)
  2. Arms that go behind the torso (shoulder hidden)
  3. Neck
  4. Torso, collar, prints
  5. Head, face, front hair, accessories
  6. Things a hand goes over (a phone at the ear)
  7. Sleeves of the arms in front (merged with the torso)
  8. Objects being held (a cup)
  9. Hands that grip (on top)
  10. Things in front of the hands (a phone held with both hands)

10. Color

Official palette (names and hex values from the guide):

Color familyNames and hex values
NeutralsSnow #FFFFFF, Polar #F7F7F7, Swan #E5E5E5, Hare #AFAFAF, Wolf #777777, Eel #4B4B4B
RedsSquid #EBE3E3, Walking Fish #FFDFE0, Flamingo #FFB2B2, Pig #F5A4A4, Crab #FF7878, Cardinal #FF4B4B, Fire Ant #EA2B2B
Yellows and orangesCanary #FFF5D3, Duck #FBE56D, Bee #FFC800, Lion #FFB100, Fox #FF9600, Cheetah #FFCE8E, Monkey #E5A259, Camel #E7A601, Guinea Pig #CD7900, Grizzly #A56644
GreensSea Sponge #D7FFB8, Turtle #A5ED6E, Feather Green #58CC02, Mask Green #89E219, Tree Frog #58A700
BluesIguana #DDF4FF, Anchovy #D2E4E8, Beluga #BBF2FF, Moon Jelly #7AF0F2, Blue Jay #84D8FF, Macaw #1CB0F6, Whale #1899D6, Humpback #2B70C9, Narwhal #1453A3
Pinks and purplesStarfish #FFAADE, Beetle #CE82FF, Betta #9069CD, Butterfly #6F4EA1

Each character has:

  • skin;
  • skin shade, one step darker (hands over the face, tired bags);
  • feature, darker and more saturated (nose, closed eyes, closed mouth);
  • hair;
  • clothes, plus one clothes shade.

Example skin trios (skin, shade, feature):

  • light: #FFCBA3, #F5B585, #E99B5F;
  • warm: #F5B092, #E8946F, #D97856.

Face colors:

  • eye white #FFFFFF;
  • pupil #3C3C3C;
  • open mouth #B03A3A;
  • tongue #F15A5A.

Muted "before" version:

  • Map every color by its lightness onto a cool pastel ramp (from #4A4680 dark to #DEDAFF light). Never use gray.
  • Keep the eye whites and teeth white.
  • Push the clothes about one step darker than the skin. Skin and a pastel sweater have the same lightness, so without this the hands in front of the clothes vanish.

11. Workflow

  1. Read the request: who the character is, the mood, where it appears and at what size, and the output (SVG, React Native SVG, Skia, Figma spec).
  2. Pick the parts: head shape, eye style, nose, hair (one or two shapes), clothes, and the palette (skin trio plus clothes pair).
  3. Build in the 100-unit frame using the proportions table. When code is wanted, start from reference/kit.mjs.
  4. Pose: pick the gesture, then place the shoulder (inside the torso), the elbow (breaking the silhouette) and the hand center. Keep arm segments similar in length.
  5. Face: set the expression (section 6).
  6. Render and check: compare against the numbers, run the checklist, and view it at the final display size.
  7. Fix what reads poorly: change the pose before adding shapes.

12. Checklist before showing anything

  • Only rounded rectangles, circles and rounded triangles. No outlines, gradients or transparency shading.
  • Arm thickness about the neck's width (about 38 for a 100-wide head).
  • No ball showing at the shoulder: the arm's round end is inside the torso.
  • Each arm is straight or has one bend, with similar segments. The elbow breaks the silhouette when the forearm crosses the body.
  • Hands are circles about half the head wide. Fingers appear only where the gesture needs them: capsules 1/3 of the hand wide, at most 4 digits.
  • The torso has round shoulders (half-circle top on a bust).
  • Eyes are white pills with the pupil in the upper half. No eyebrows. Closed eyes use the dark skin tone.
  • At most one shade step. Same-color sleeves merge with the torso. A hand on the face is one shade darker.
  • Hair is one or two shapes and covers above the ear.
  • It reads at the final size, and the silhouette alone tells the pose.

13. Mistakes already made, and the fix

What it looked likeWhyFix
Stick armsArm 1/6 of the torso widthArm as thick as the neck (0.38 of the head)
A ball on the shoulderRound end of the arm at the torso's top cornerShoulder lower and further in, fully inside the torso
Beads for handsHand a third of the headHand diameter half the head
Fork fingersThree thin fingers plus a thumb on every handCircles; fingers only for the gesture, as thick capsules
A body like a sackBox torso with small corner radiusTombstone torso with a half-circle top
Two-tone stick across the chestForearm drawn one shade darker over the same-color sweaterMerge the sleeve; let the elbow and the hand tell the pose
"Hand on chest" read as a stray dotMerged forearm, hand alone in the middle of the bodyA pose whose hands land at the silhouette edge (self hug) or on the face or head
A flipper sticking outElbow pushed far out on a diagonal with nothing after itUpper arm closer to the body; elbow as a short bump at the side
Swollen cheeksTwo big shaded hands on the cheeksHands on the temples (stress) or over a clear gesture
Cup hidden by the armFront sleeve drawn over the held objectSleeve, then object, then hand
Two balls under the chinFull hand circles on top of a blanket edgeHands behind the edge, only the top half showing
Hands vanish in the muted versionSkin and pastel clothes map to the same toneClothes one step darker in the muted ramp
A mascot floating next to the headIt used to sit on a square shoulder; round shoulders have no seatStand it beside the character on the ground line

Reference files

  • reference/measurements.md has the raw numbers taken from the guide's own drawings, with which drawing each number came from.
  • reference/kit.mjs is a dependency-free JavaScript kit (Node 18+). It draws two example characters in nine poses, following every rule above. Each function returns plain shape data, and toSvg() turns it into SVG. Port the geometry to React Native SVG, Skia or canvas unchanged: it is plain path data.
  • reference/render-sheet.mjs writes a contact sheet. Run node reference/render-sheet.mjs out and open out/sheet.svg. Run it after any change to the kit and look at the result before showing anyone.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Duolingo Character Style AI 技能有什么作用?

按照 Duolingo 自有品牌指南中矢量插画的规则和比例,绘制 Duolingo 扁平插画风格的人物与角色。内容涵盖三种圆润形状、墓碑形头部和躯干、肩部隐藏的粗胶囊状手臂、大圆手掌、仅在手势需要时绘制手指、药丸状眼睛、姿势、图层顺序,以及最多使用一种阴影的纯色填充。适用于绘制、生成、审查或修正 Duolingo 风格的人物、头像、吉祥物或插画场景(SVG、React Native SVG、Skia、canvas、Figma 规格);也适用于有人指出手臂、手掌或手指不符合这种风格的情况。

为什么在 TypingMind 中使用 Duolingo Character Style?

因为您只需安装一次,就能搭配任何模型使用。Duolingo Character Style 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Duolingo Character Style?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/rossark0/duolingo-character-style-skill/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Duolingo Character Style?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Duolingo Character Style 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Duolingo Character Style 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Duolingo Character Style AI 技能免费吗?

rossark0 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇