# The slide-band skill

> A skill that turns content into a "band" style slide deck. Export it as PDF, HTML, images or PowerPoint, and use it in other projects.

- URL: https://dsui.vercel.app/en/docs/skill/slide-band

## What the skill is

The `slide-band` skill is a set of instructions and a generator that lets an AI coding tool (Claude Code and others) **turn content into a band-style slide deck**. Each slide is one full-bleed band in a single colour (white, blue, yellow or ink), with a pill highlight inside the big title, hand-drawn line icons and friendly copy. It uses no card boxes, gradients or emoji.

It works in projects that do not use dsui. Use it to summarise a report or a plan, or to restyle an existing PDF. The example above is the "Studio guide" made with this skill; the same file is also in the footer of [devs7udio](https://devs7ud.io).

## Nine layouts

| Layout | Use |
| --- | --- |
| `cover` | **The opening slide.** A brand, a faded line, a core line with the highlight, a tail, and a row with the date and address |
| `statement` | One conclusion, set as large as possible |
| `table` | A comparison table by item |
| `grid` | Six groups (3x2) |
| `bars` | A distribution by field, as bars |
| `rows` | A numbered list of types or steps |
| `numbers` | Three big numbers with explanations |
| `qa` | Questions anyone would ask, with answers |
| `closing` | **The closing slide.** A last line and a row of contacts such as the site and the contact page |

Bands alternate from slide to slide. The usual flow: open in blue or white, the conclusion in blue, groups and lists in yellow, Q&A in ink, and close in a colour different from the opening.

## Output formats

The same deck JSON gives four outputs. Choose by how the audience will use the slides.

| Format | Command | When |
| --- | --- | --- |
| PDF | `node build.mjs deck.json out.pdf` | To email, print or present. Fonts are embedded, so it looks the same everywhere. |
| HTML slides | `node build.mjs deck.json out.pdf --html-only` | To put on the web or view in a browser. |
| Image slides | `node build.mjs deck.json out.pdf --png` | When you need social cards, pictures for documents or previews. They come out as `out-slides/01.png` onward, 1280x720. |
| PPT | `node build.mjs deck.json out.pdf --pptx` | When the presenting tool must be PowerPoint. It holds one picture per slide, so the text cannot be edited. |

To change the text, edit the **deck JSON and build again** instead of editing the PPT. The JSON is the source. The JSON of the example deck above can be downloaded too.

## The deck JSON

A deck is a list of `slides`; each has a `layout` and its content. `*word*` inside a text becomes a pill highlight (use it once or twice per slide). The fields of each layout and the item limits are in the skill's `references/layouts.md`.

```json
{
  "title": "devs7udio 스튜디오 가이드",
  "footer": "devs7udio 스튜디오 가이드 · 2026-11-06",
  "slides": [
    { "layout": "cover", "tone": "blue", "brand": "devs7udio",
      "lines": ["디자인과 개발은 하나!", "*스튜디오 가이드*", "devs7udio를 쓰는 법"],
      "meta": ["2026-11-06", "devs7ud.io"] },
    { "layout": "statement", "tone": "plain", "label": "스튜디오 소개",
      "title": "*디자인과 개발*을 한 팀이 함께 해요", "body": "…" },
    { "layout": "closing", "tone": "yellow", "brand": "devs7udio",
      "title": "*함께* 만들어 봐요",
      "links": [{ "label": "사이트", "value": "devs7ud.io" }] }
  ]
}
```

## Files

| File | Contents |
| --- | --- |
| `SKILL.md` | When to use it, the order of work, the rules in short |
| `references/design.md` | Colour, type, highlight, decoration, deck order |
| `references/layouts.md` | The JSON shape of the 9 layouts and item limits |
| `references/outputs.md` | Which of PDF, HTML, images or PPT to use, and the commands |
| `references/checklist.md` | The check after building |
| `template/build.mjs` | The generator: deck JSON to HTML, PDF, images and PPTX |
| `template/pptx.mjs` | The image-based PPTX writer (no dependencies) |
| `template/band.css` | The band style |
| `template/deck.example.json` | An 8-slide example deck |

Every file is available at `https://dsui.vercel.app/skill/slide-band/<path>`. The skill text is written in Korean.

## Add it to your project

Download it into `.claude/skills/slide-band/` in your project, or into `~/.claude/skills/slide-band/` to use it in every project on your machine.

```bash
base=https://dsui.vercel.app/skill/slide-band
dir=.claude/skills/slide-band
mkdir -p $dir/references $dir/template
curl -fsSL $base/SKILL.md -o $dir/SKILL.md
for f in design layouts outputs checklist; do
  curl -fsSL $base/references/$f.md -o $dir/references/$f.md
done
for f in build.mjs pptx.mjs band.css deck.example.json; do
  curl -fsSL $base/template/$f -o $dir/template/$f
done
```

## Make slides

Ask the AI to "turn this into a band-style deck". The skill splits the content into 6 to 10 slides, picks a layout for each and writes the deck JSON. The first slide is `cover` and the last is `closing`. To do it yourself, copy the example, edit it and run it:

```bash
mkdir deck && cp .claude/skills/slide-band/template/* deck/
cd deck
node build.mjs deck.example.json my-deck.pdf --png
```

- With Chrome installed it also writes the PDF. If Chrome is elsewhere, pass `CHROME_BIN=<path>`. Without Chrome, use `--html-only` and print the HTML to PDF from a browser.
- The Pretendard font is downloaded once and placed next to the HTML if it is missing.
- After building, open the PDF or images slide by slide and go through `references/checklist.md`.

## Use it with the MCP server

Pass `slide-band/SKILL.md` as `file` to the `get_skill` tool of the [MCP server](/en/docs/ai) to read this skill. `slide-band/references/...` and `slide-band/template/...` work the same way.

## Keeping it current

Run the commands above again to overwrite the files with the latest ones. The [changelog](/en/docs/changelog) shows which versions changed the skill.
