canon-slides-draftlisted
Install: claude install-skill erclx/canon
# Slides draft
Author a `SLIDES.md` source, then shell out to `canon slides render`. The CLI owns all layout and styling. This skill owns content and the design choices encoded in the source.
## Read the catalog
Run this first to load the available layouts. Never hardcode layout names. The catalog is the source of truth.
```bash
canon slides list --json 2>/dev/null
```
## Draft the source
Write the deck to `.claude/SLIDES.md` from the project root. Structure:
- Deck frontmatter between `---` delimiters: `title`, optional `subtitle`, `palette`, and `variant` (light or dark).
- One slide per section, separated by a `---` rule. Each slide opens with a `# Title` and a `layout:` line naming a layout from the catalog, followed by its content.
Match content shape to the layout: bullet lists for list layouts, `## Heading` blocks for columns, `- value : caption` pairs for stats and cards, a quote with a `- attribution` line for quotes.
For a deck with chapters, add a `toc` slide near the front and mark each chapter opener with the `section` layout. The render fills the contents links and the per-slide footer automatically from the section slides. Leave the `toc` slide body empty.
## Design rules
The palette and type scale live in the CLI. Own the choices the source controls.
- Pick the variant that fits the topic. Light is a paper background, dark is near black. Both carry the same rust accent.
- Vary the layout across slides. Never repeat title-and-bullets on every slide.