Skip to content

Cover art skill

A skill that draws a post's cover picture (blog thumbnail) in one consistent style, with shapes and colours that change to fit the topic and mood. The studio uses it when publishing posts.

What the skill is

The cover-art skill is a set of instructions and a generator that lets an AI coding tool (Claude Code and others) draw a post's cover picture: a blog thumbnail, a card cover or an OG image. The style is one style: filled shapes, rounded corners, no outlines, gradients or shadows, small shapes and faint dots along the edges. What changes from post to post is the shapes and colours. The skill reads the title, summary and tags for the topic (motion, ranking, flow, design system …) and the mood (calm, energetic, serious …), and picks the main shape and the colour set from them.

It works outside dsui projects too. The generator is two dependency-free Node files. The same input and the same seed always give the same picture, so rebuilding a post never changes its cover.

Topic and mood decide the picture

What is decidedHow manyHow
Topic (concept)12The words of the title and tags (Korean and English). A ranking gets bars and stairs, a flow joined dots, motion a trail and an orbit, a design system tiles
Mood (mood)6The words plus the post's kind. Breaking news is serious (ink, blue), a ranking energetic (orange, pink), a guide calm (blue, teal)
Layout (layout)3One big shape (solo), two overlapping (duo), two and a small one (trio)
Band tone (tone)4Matches the post's band colour. A shape of the band's own colour turns to another colour by itself

The shapes of each topic, the colours of each mood and all twenty-nine shapes are in the skill's references/vocabulary.md.

The scene JSON

The generator does not draw straight away: it first makes a scene (a list of shapes), so you can change, remove or add shapes and draw again. c is a shape's main colour and d the small part inside it (the second colour).

Source codejson
{
  "v": 1,
  "tone": "plain",
  "concept": "data",
  "mood": "energetic",
  "items": [
    { "k": "bars", "x": 300, "y": 205, "s": 0.88, "r": 0, "c": "orange", "d": "pink" },
    { "k": "circle", "x": 96, "y": 88, "s": 0.26, "r": 0, "c": "yellow", "d": "white" }
  ],
  "dots": [{ "x": 40, "y": 60, "r": 5, "c": "gray" }]
}

Files

FileContents
SKILL.mdWhen to use it, the steps, a summary of the rules
references/vocabulary.mdShapes by topic, colours by mood, every shape, the scene JSON
references/design.mdComposition, colour rules, pictures on a band colour
references/topic-tiles.mdLogo tile and photo collage thumbnails (for cards that must show the topic at once)
references/studio.mdHow to use it for devs7udio studio posts
references/checklist.mdThe check after drawing
template/illustrate.mjsThe command line generator (SVG, scene JSON, a sheet of takes, PNG)
template/scene.mjsThe engine that makes a scene and draws it as SVG (no dependencies)

Each file is available at https://dsui.vercel.app/skill/cover-art/<path>.

Adding it to your project

Download it into the project's .claude/skills/cover-art/. To use it in every project on your computer, put it in ~/.claude/skills/cover-art/.

Source codebash
base=https://dsui.vercel.app/skill/cover-art
dir=.claude/skills/cover-art
mkdir -p $dir/references $dir/template
curl -fsSL $base/SKILL.md -o $dir/SKILL.md
for f in vocabulary design topic-tiles studio checklist; do
  curl -fsSL $base/references/$f.md -o $dir/references/$f.md
done
for f in illustrate.mjs scene.mjs; do
  curl -fsSL $base/template/$f -o $dir/template/$f
done

Making a picture

Ask the AI "make a thumbnail illustration for this post" and the skill decides the topic and mood, then draws four takes for you to look at. To do it yourself, run:

Source codebash
node .claude/skills/cover-art/template/illustrate.mjs \
  --title "오픈소스 아이콘 순위" --tags icons,design-system \
  --tone plain --variants 4 --out out --png
  • Open out/sheet.html to see the four takes at a glance and pick one. If none fits, draw again with --seed 다른말.
  • If the topic or mood was read wrongly, correct it with --concept, --mood or --layout.
  • SVG is the default; --png also writes PNG when Chrome is available (CHROME_BIN=<path> tells it where).

In studio publishing

The devs7udio studio uses the same engine directly (packages/core/lib/cover-scene/scene.mjs). Put cover: scene in a post's frontmatter and its card thumbnail and the picture at the top of the post are drawn from the post's own topic. A post about a known product such as Figma or Vercel keeps that product's glyph first.

Source codeyaml
tags: [design-system, figma]
tone: yellow
cover: scene
coverSeed: 다른말

Use coverSeed only when you need another take of the same post. In the post flow (/trend), a post without a known product gets cover: scene, and the take is chosen after the owner has looked at the options.

Using it with the MCP server

Give the MCP server's get_skill tool cover-art/SKILL.md as file to read this skill. cover-art/references/... and cover-art/template/... are read the same way.

Updating

Run the commands above again to overwrite with the latest files. The changelog shows which version changed the skill. The skill itself is written in Korean.