# A cover illustration per post, drawn in shapes

The cover-art skill reads a post's title and tags for its topic and mood and draws a shape illustration in one consistent style. Here are its twelve topics, six moods, how to pull proofs, and how to use it on studio posts.

- Language: en
- Published: 2026-11-06
- Tags: design, cover-art, agent-skills, dsui
- URL: https://devs7ud.io/en/deep-dives/cover-art-skill-en
- Translation (ko): https://devs7ud.io/deep-dives/cover-art-skill.md

## Give it a title, get a topic drawn

cover-art is a skill that lets an AI coding tool draw a post's lead picture: the blog thumbnail, the card cover and the OG image. It is one bundle of instructions and a generator, free to download from dsui. The generator is two Node files with no dependencies, so your project does not have to use dsui.

There is one style: filled shapes, rounded corners, no outlines, no gradients, no shadows, and a few small shapes and faint dots along the edges. Every cover has the same face, while the shapes and colors change with the post's topic and mood. The cover of this post was drawn with the skill too.

## Change the topic, change the shapes

The skill reads the topic from the words in the title, summary and tags. A ranking gets bars and stairs, a flow gets linked dots, motion gets trails and orbits, a design system gets tiles, and security gets an arch and a hexagon. There are twelve topics. Below are samples pulled for different ones.

![An icon ranking](/blog-img/cover-art-skill-en/s1.png "Ranking: bars and stairs")

![Linked dots for a deploy pipeline](/blog-img/cover-art-skill-en/s2.png "Flow: linked dots and pills")

![Tiles stand for design system parts](/blog-img/cover-art-skill-en/s3.png "Design system: tiles and a fan")

![Sparks for AI tool news](/blog-img/cover-art-skill-en/s4.png "AI: sparks and an orbit")

![A burst for a launch](/blog-img/cover-art-skill-en/s5.png "Launch: a burst and a drop")

![Trails of a motion demo](/blog-img/cover-art-skill-en/s6.png "Motion: trails and an orbit")

![Petals for a typeface story](/blog-img/cover-art-skill-en/s7.png "Brand: petals and a crescent")

![Chevrons for build speed](/blog-img/cover-art-skill-en/s8.png "Speed: chevrons and a quarter circle")

These samples were made for this post. They are not covers of real posts.

## Change the mood, change the colors

The same shape gets a different color set for each mood. There are six moods, and the kind of post supplies a default: news is serious, a ranking is energetic and a guide is calm. When the words are clear, the words win.

![Calm: blue and teal](/blog-img/cover-art-skill-en/m-calm.png "Calm: blue, teal, yellow")

![Energetic: orange and pink](/blog-img/cover-art-skill-en/m-energetic.png "Energetic: orange, pink, yellow")

![Serious: ink and blue](/blog-img/cover-art-skill-en/m-serious.png "Serious: ink, blue, yellow")

![Playful: purple and pink](/blog-img/cover-art-skill-en/m-playful.png "Playful: purple, pink, yellow")

![Fresh: green and teal](/blog-img/cover-art-skill-en/m-fresh.png "Fresh: green, teal, yellow")

![Warm: orange and yellow](/blog-img/cover-art-skill-en/m-warm.png "Warm: orange, yellow, purple")

## Pull four proofs and pick one

Download the files into `.claude/skills/cover-art/` in your project. To use the skill in every project on your computer, put them in `~/.claude/skills/cover-art/` instead.

```bash
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 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
```

Ask the AI for "a thumbnail illustration for this post" and the skill settles the topic and mood and shows four proofs. To run it yourself:

```bash
node .claude/skills/cover-art/template/illustrate.mjs \
  --title "Open source icon ranking" --tags icons,design-system \
  --tone plain --variants 4 --out out --png
```

Open `out/sheet.html` to see the four proofs at a glance and pick one. If none suits you, pull again with `--seed something-else`. If it misread the topic or the mood, correct it with `--concept`, `--mood` or `--layout`. PNG files are made when Chrome is installed.

**How the picture comes out**

- Give a title and tags
- → Read topic and mood
- → Make the scene JSON
- → Draw SVG and PNG

_Source: the dsui cover-art skill page_

## Like one? Pin it with a seed

The same input and the same seed always give the same picture, so rebuilding a post never changes its cover. Change the seed only when you want another take of the same post.

On a studio post, one line in the frontmatter is enough. A post about a known product such as Figma or Vercel keeps that product's glyph first, and the scene is drawn for posts without one.

```yaml
tags: [design-system, figma]
tone: yellow
cover: scene
coverSeed: something-else
```

When the words cannot tell the topic, set it yourself with `coverConcept` and `coverMood`. This post's title read as a different topic, so it was drawn with values set by hand.

## View

What I like is that you get a cover that shows the topic while keeping one style, without drawing a new picture for each post. In a list the cards look like a family, yet they do not repeat each other.

The limits are plain. When the words match none of the twelve topics, the seed picks one, so a post can be read as an odd topic, as this one was. Then you have to set the topic by hand. And shapes cannot show a concrete scene the way a photo can.

In your place, I would pull four proofs first for a new post, and fix by hand only the ones where the topic is off.

## The skill page and a playground

- [Cover-art skill page](https://dsui.vercel.app/en/docs/skill/cover-art) — Type a title and pull another proof right away

### Sources

- [dsui cover-art skill page](https://dsui.vercel.app/en/docs/skill/cover-art)
