# Deck

> Deck generation adapter. Requires a preset selection. Emits two files — a SlideSpec JSON and a presentation script markdown. No binary build. Triggers: "덱 만들어", "슬라이드 만들어", "발표 자료", "deck 생성", "deck 만들어", "A vs B 슬라이드", "뭐가 나은지 슬라이드"

- Skill: `jazz1x/deck` (Agent Skill, multi-file: 13 files)
- Install (CLI): `npx skillmds@latest add jazz1x/deck`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jazz1x/deck/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: jazz1x (https://skillmd.com/u/jazz1x)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jazz1x/deck

---


# galmuri:deck — Deck generation adapter

## Prerequisites
- `scripts/preflight.sh` passes.
- `skills/distill/` engine is installed.

## Step 1: Preset selection (required)

When `--preset` is missing, ask via HITL — *"Which preset? e.g. `pitch-deck` for a 3-slide presentation."* Selected preset resolves to `references/preset-{name}.md`.

| # | Preset | Shape |
|---|---|---|
| 1 | `decision-sandwich-6` | decision deck, 6 slides |
| 2 | `pitch-deck` | presentation, 3 slides |
| 3 | `concept-explain` | concept introduction, 4–5 slides |
| 4 | `story-arc` | variable length |

## Step 2: Engine Invoke
Pick mode/ratio from the preset (read the preset file's frontmatter):
- Call `distill --mode {preset.mode} --ratio {preset.ratio} --audience {X}`.
- Receive the EngineOutput JSON.

## Step 3: SlideSpec generation
EngineOutput.units + preset mapping → SlideSpec[]:
- Place each unit onto a slide following the preset file's slide structure.
- Apply the color/font tokens from `references/design-tokens.md`.

## Step 4: Save (2 files)

| File | Content |
|---|---|
| `docs/galmuri-deck-{slug}.json` | SlideSpec[] array (machine consumption) |
| `docs/galmuri-deck-{slug}.md` | per-slide script + visual cues (humans) |

> "Create both files? `docs/galmuri-deck-{slug}.{json,md}` (y/n/edit-slug)"

**No binary build step.** Do not introduce logic that emits native presentation-program file formats.

