deckforge
AGENTS.md0 starsChanged 4 months agoMITArchived repositoryView on GitHub
This is the operating manual for any AI coding agent using DeckForge. Read this before building a deck. DeckForge is a presentation-generation skill. Your job is to read SKILL.md, follow the 6-phase workflow, and produce a self-contained HTML slide deck (with optional PPTX/PDF export). You write real files to disk, not chat output. When the user asks for a deck: Follow the workflow in SKILL.md: 1. Pre-Flight Scoping (4 questions) 2. Phase 0: Brief 3. Phase 1: Structure the story…
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 35,337 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.
In this repositoryOne other file it gives its agents.
- SKILL.mdSkill
The file
We split this AGENTS.md into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
When the user asks for a deck:
- Very specific: line 25
Follow the workflow in SKILL.md:
- Distinctive: line 48
When the user hasn't picked a theme:
- Very specific: line 53
When the user picks a theme from STYLE_PRESETS.md, apply only that theme's CSS variables.
- Distinctive: line 80
Don't paste the workflow into a chat window — the agent reads the files and follows them
- Distinctive: line 81
Don't skip the Pre-Flight Scoping phase even if the user seems impatient — restate assumptions instead of asking
- Very specific: line 82
Don't ship the first plausible deck — run the self-check checklist from SKILL.md
- Distinctive: line 83
Don't use system fonts (Arial, Roboto, Inter) unless the theme explicitly calls for them
- Distinctive: line 84
Don't add statistics, icons, or supporting numbers the user did not provide
- Distinctive: line 85
Don't use emoji as icons — use a real icon library or leave as placeholder
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
AGENTS.md
This is the operating manual for any AI coding agent using DeckForge. Read this before building a deck.
What DeckForge is
DeckForge is a presentation-generation skill. Your job is to read SKILL.md, follow the 6-phase workflow, and produce a self-contained HTML slide deck (with optional PPTX/PDF export). You write real files to disk, not chat output.
How to use it
- Read
SKILL.md— it contains the full workflow, design rules, anti-patterns, and export instructions - Read
STYLE_PRESETS.md— when you need to pick or apply a visual theme - Run
scripts/pptx_export.py— only when the user asks for PPTX export
Quick start
When the user asks for a deck:
"Create a pitch deck about [topic]"
"Turn these notes into slides: [content]"
"Make a presentation using the brand from company-deck.pptx"Follow the workflow in SKILL.md:
- Pre-Flight Scoping (4 questions)
- Phase 0: Brief
- Phase 1: Structure the story
- Phase 2: Outline with slide types
- Phase 3: HTML generation
- Phase 4: Images & charts
- Phase 5: Polish & review
- Phase 6: Export
Critical rules
- One idea per slide — split, don't cram
- Canvas is fixed 1920x1080 — scale externally, never use vh/vw for canvas sizing
- All font sizes use
clamp()— never fixed px/rem - No
scrollIntoView()— it breaks scroll-snap navigation - Speaker notes on N key — every deck needs this
- No
overflow: hiddento hide content — split the slide instead prefers-reduced-motionpath — required for every animated deck- No AI slop — run the anti-patterns checklist before delivery
Theme selection
When the user hasn't picked a theme:
- Generate 3 distinct visual directions (not color-swaps of the same layout)
- Show mini previews (cover + 1 content slide each)
- Let the user pick or mix
When the user picks a theme from STYLE_PRESETS.md, apply only that theme's CSS variables. Do not invent custom hex colors outside the theme tokens.
Export
- HTML (default): self-contained file, works offline
- PPTX Path A:
python3 scripts/pptx_export.py input.html --output output.pptx(python-pptx, image-based) - PPTX Path B: pptxgenjs DOM traversal (documented in SKILL.md Phase 6, editable text boxes)
- PDF: headless Chrome or Playwright
File structure
deckforge/
├── SKILL.md # The workflow (read this)
├── STYLE_PRESETS.md # 31 themes + Kami CSS spec
├── AGENTS.md # This file
├── README.md # Human-facing overview
├── MAINTAINER.md # Sync process from canonical skill
├── CONTRIBUTING.md # How to contribute
├── index.html # SEO landing page (OG/Twitter cards)
├── LICENSE # MIT
└── scripts/
└── pptx_export.py # PPTX export (Path A)What NOT to do
- Don't paste the workflow into a chat window — the agent reads the files and follows them
- Don't skip the Pre-Flight Scoping phase even if the user seems impatient — restate assumptions instead of asking
- Don't ship the first plausible deck — run the self-check checklist from SKILL.md
- Don't use system fonts (Arial, Roboto, Inter) unless the theme explicitly calls for them
- Don't add statistics, icons, or supporting numbers the user did not provide
- Don't use emoji as icons — use a real icon library or leave as placeholder
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.

