deck-kit
AGENTS.md0 starsChanged 12 days agoMITView on GitHub
An offline, self-hosted HTML presentation: a fixed engine (keyboard and clicker control, fragments, presenter window with sync, overview, blackout, print, single-file build, slide lint) plus one deck's content and design. Each copy of this repo is one talk.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Use the host's skill picker or name the skill in your prompt.
- Very specific: line 24
If an agent does not discover these paths, explicitly read this file and the relevant .agents/skills/<name>/SKILL.md before following the …
- Very specific: line 37
No runtime network requests: No CDNs, remote fonts or remote images.
- Very specific: line 52
On-screen copy voice: no emoji, no em dashes, no exclamation marks.
- Distinctive: line 63
If delegation is unavailable, perform separate research and verification passes yourself and disclose that verification was not independent.
- Distinctive: line 65
Commit or push only when the speaker asks.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deck kit: project rules
An offline, self-hosted HTML presentation: a fixed engine (keyboard and clicker control, fragments, presenter window with sync, overview, blackout, print, single-file build, slide lint) plus one deck's content and design. Each copy of this repo is one talk.
Read first
docs/brief.md: this deck's content source of truth (created bynew-deckfromdocs/templates/brief.md). If it does not exist yet, this copy still holds the starter deck: suggestnew-deck.docs/decisions.md: the speaker's approved answers. Where they conflict with the brief, the decisions win.docs/authoring.md: the slide format, notes structure, lint rules, icons, SVG rules, manifest.docs/fact-log.mdanddocs/research/: verified facts. Check here before researching again.examples/wifi/andexamples/crypto/: complete, finished decks. Copy their patterns (notes depth, Q&A, diagrams);examples/crypto/docs/shows every documentnew-deckproduces.
Agent compatibility
AGENTS.mdis the canonical project guidance;CLAUDE.mdis a relative symlink to it..agents/skills/contains the canonical skills;.claude/skillsis a relative symlink to it. Edit the canonical sources and preserve these links.- Use the host's skill picker or name the skill in your prompt. Codex CLI/IDE supports
$new-deck; Claude Code supports/new-deck(and likewise for the other skills). - If an agent does not discover these paths, explicitly read this file and the relevant
.agents/skills/<name>/SKILL.mdbefore following the workflow.
Skills
new-deck: the whole workflow for a new talk, in phases with a review stop after each.add-slide: add or rewrite one slide.retheme: the design pass (touches onlysrc/theme/**and SVG class styling).ship-deck: final verification and the files to take to the room.
Hard rules
- Never change slide content, facts or numbers from the brief on your own. Apply only
approved changes from
docs/decisions.md. Flag anything else, and mark unapproved on-screen text withdata-todo="why"(the lint fails until it is resolved). - No runtime network requests. No CDNs, remote fonts or remote images. Fonts come from
@fontsource*packages, icons fromlucide, images live in the repo. The deck must run with Wi-Fi off. - Keep the three layers separate (tests enforce it):
src/engine/has no visual literals and is not edited per deck. Engine changes needpnpm test:engineto pass.src/slides/holds content and semantic markup only.src/theme/holds every visual value as a token.
- Never edit
examples/: they are finished talks, andwifi/is the engine's test fixture. Their fonts and icons are shared with your deck: do not remove a font package or icon an example still uses. - Stack: pnpm, Vite 8, strict TypeScript 7 (no
any, enforced by Biome), vanilla DOM. No UI framework and no presentation library. - Icons come from
lucide, hydrated from<i data-icon="name">. Never emoji or pictographic Unicode. - On-screen copy voice: no emoji, no em dashes, no exclamation marks. Arrows are icons. About
30 words of prose per slide (diagram labels do not count), except slides marked
data-wordcount="exempt". Detail goes in the notes. - Diagrams are hand-authored inline SVG with
dgm-*classes, a<title>, and no paint attributes. Never copy vendor diagrams or screenshots.
Working style
- Work in phases (Brief, Research and plan, Content, Verify, Design) and stop for the speaker's review at the end of each phase.
- Delegate research and verification to subagents when available, using the host's configured models. Use stronger reasoning for high-stakes facts and adversarial checks. If delegation is unavailable, perform separate research and verification passes yourself and disclose that verification was not independent.
- Commit or push only when the speaker asks.
- Report honestly: if a check fails or is skipped, say so and show the output.
Commands
pnpm dev(open/presenter.htmlalongside),pnpm build,pnpm build:single,pnpm previewpnpm check(typecheck, lint, unit tests, slide lint)pnpm test:deck(your deck in a browser),pnpm test:engine,pnpm test:e2e(both)pnpm pdf,pnpm notes:pdf [profile],pnpm notes:mdpnpm dev:exampleandpnpm dev:example:cryptoshow the example deckspnpm mediaregenerates the README images indocs/media/(sources indocs/media/src/)
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.

