slide-nextup / templates
AGENTS.md2 starsChanged 3 months agoMITView on GitHub
Narrative-first slide decks: the agent (Claude Code or Codex) confirms the story with the user first, then generates an HTML deck that can be fully edited in the browser. π£οΈ Reply in the language the user writes in. π This file is the entry point for every agent platform: Claude Code reads CLAUDE.md (whose first line, @AGENTS.md, imports this file), Codex reads this file directly. Fixed order: brief β story (the user confirms) β visual direction β build β editβ¦
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- slide-briefSkill
- slide-buildSkill
- slide-designSkill
- slide-storySkill
- slide-talkSkill
- slide-briefSkill
- slide-buildSkill
- slide-designSkill
- slide-storySkill
- slide-talkSkill
The file
Files
slide-nextup
Narrative-first slide decks: the agent (Claude Code or Codex) confirms the story with the user first, then generates an HTML deck that can be fully edited in the browser.
π£οΈ Reply in the language the user writes in. π This file is the entry point for every agent platform: Claude Code reads
CLAUDE.md(whose first line,@AGENTS.md, imports this file), Codex reads this file directly.
The deck workflow
Fixed order: brief β story (the user confirms) β visual direction β build β edit in the browser, then talk when the user has to present it. Each deck lives in decks/<id>/ (brief.md, story.md, story.confirmed.json, design.json, deck.json, assets/, deck.html, talk.md).
Skill (canonical copy in .agents/skills/) | What it does | Output |
slide-brief | Asks four questions in one go (purpose and audience, length and page count, content readiness, density) | decks/<id>/brief.md |
slide-story | Writes the story, runs pnpm story:check, shows a per-slide summary, stops and waits for the user's confirmation, then pnpm story:confirm | story.md, story.confirmed.json |
slide-design | Three visual directions, each as a real cover preview; the user picks one | themes/<id>/, design.json |
slide-build | Gate story:check --require-confirmed β pnpm layouts β pnpm deck:scaffold β fix slots β deck:validate β render β qa β hand over | deck.json, deck.html |
slide-talk | After the build: what to say on each slide (cues marked must / may, not a script), the questions to expect ranked by likely Γ costly with the ones nobody can answer marked, a checklist for the moment before going on; pnpm talk:check keeps it in step with the deck | decks/<id>/talk.md |
The gate is enforced by the tools: deck:scaffold refuses an unconfirmed story or one that changed after confirmation. .claude/skills/ is a mirror; after editing the canonical copy run pnpm skills:sync, and pnpm skills:check catches drift. Codex finds the skills through this file and follows .agents/skills/<name>/SKILL.md directly.
In a workspace made by slide-nextup init, the pnpm scripts in package.json run the installed package and pnpm exec slide-nextup init --update refreshes the skills and scripts after an upgrade; in the slide-nextup repo itself the same scripts run the sources.
Do what the user asks
- "Make me a deck", "prepare a pitch, a talk, a report" with no brief yet β
slide-brief. - "Work out the storyline first", "change the story", "reorder", "rewrite the message of page N" β
slide-story; never generate slides before the user confirms. - "Change the style", "theme", "colours", "it looks too AI" β
slide-design. - "Redo page 3", "change this layout", "regenerate" β
slide-build; only that page is redone and manual overrides are kept. - "What do I say on each slide", "prepare me for questions", "speaker notes", "I present this tomorrow" β
slide-talk, once the deck is built; it never changes the deck or the story, and a wrong fact found while preparing the answers goes back throughslide-story. - "I need a timeline layout", "no layout fits this page" β there is no separate skill: at the layout-per-page step of
slide-build, read.agents/skills/slide-build/references/new-layout.mdand add one (three files;theme:lintandtheme:qaenforce the rules). Screenshot it first withpnpm layout:gallery --theme <theme> <id>and show the user; once approved, register it withdeck:scaffold --layouts sN=<id>. A layout placed in a theme pack'slayouts/travels withtheme:exportbut is visible only to decks using that theme.
Boundaries
- Rules live in the slide-nextup code and tests (the package;
src/andtests/in its repo); the skills describe the process and do not repeat the details. - The first phase outputs HTML only;
pnpm qachecks overflow, overlap, minimum font sizes, density and theme geometry in headless Chromium. - Example:
slide-nextup init --examplecopies the bundledtidewatch-progressdeck (a confirmed story with its generated deck.json, design.json and assets) intodecks/; the story format reference is.agents/skills/slide-story/references/story-format.md. - The environment is the user's to prepare. When
nodeorpnpmis missing, or older than the Node 24 and pnpm 10 the package asks for, say so and leave the fix to the user; do not install or switch Node versions yourself. A version manager driven through a pipe hangs the session:nvmfor Windows 1.1.12 opens a dialog nobody is there to click.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

