Skip to content

Project deck

A reveal.js deck in one HTML file that explains what a project is about: its purpose, its users, the architecture at a glance, the main flows and where things live in the code. Chapters run left to right, details downward.

Flip through the live example

Deck title slide

Slides

Claude writes an outline first: chapters, the slide pattern for each slide, a headline sentence that states the slide's message, the figure it needs, and where each fact comes from. Then it copies the patterns it needs from the template: text and cards, comparison, C4 level slides that zoom into each other, step-through diagrams, sequence diagrams, code with line-by-line highlighting, tables and a folder map.

Container diagram slide Sequence diagram slide
Code slide

Diagrams are SVG, drawn by a small dependency-free Python library that warns about text that does not fit, arrows through boxes and labels that overrun. They follow the deck's light and dark themes.

Every deck has speaker notes, a reading view that shows the slides as one scrolling page, and a keys panel.

Key Action
Right / Left Next / previous step or slide (chapters run left to right)
Down / Up Details within a chapter
Esc or O Overview of all slides
? Keys panel
V Reading view
F Full screen
S Speaker notes

In a browser that offers WebMCP, a deck built from the current template also lets an agent in the browser read its outline and slide text and turn the slides; the example deck has this block too. A deck made from an older template gets it by copying the block between BEGIN WEBMCP and END WEBMCP from the template to the end of its deck.src.html and rebuilding.

Source and rebuild

communications/project-deck/
  index.html          the deck
  artifact.html       the same content without the <html> wrapper, for hosts that add their own
  src/
    deck.src.html     the slides
    figures.py        the diagrams, one per FIG:name marker in the slides
    diagrams.py       the SVG diagram library
    build.py          the build
    reveal-5.1.0.min.css

Everything needed to rebuild is copied into src/, so the project can update its deck without the plugin:

cd communications/project-deck/src
python -B figures.py figs.json
python -B build.py deck.src.html --figs figs.json

Variants:

  • --static --out ../static.html builds a version without step-by-step reveals, for reading and printing.
  • --inline-js DIR embeds reveal.js so the deck works offline. By default reveal.js loads from a CDN; without a connection the deck falls back to a plain scrolling page.

Reference

  • Structure: the narrative arc, slide counts per audience, the outline format.
  • Animated or static: steps, auto-animate, the variant toggle, print versions.
  • Code slides: markup, highlighting, line steps, how much fits.
  • Diagrams and images: choosing, drawing and sizing diagrams, screenshots.