Packs / documents-public
deck
Slide deck as HTML (16:9 sections) printed to a PDF with one slide per page; checks the page count equals the slide count.
Install
logicpacks pack use documents-public/deckget_pack documents-public/deckThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
chrome-localweasyprint-localpandoc-local - Checks: 3 in
outcome/checks.yaml - Code:
deck-template.html - Tools: python3, chrome
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
A short deck (5-10 slides) that prints to a 16:9 PDF with exactly one page per slide.
Steps
- Write the story first: problem, what we built, proof (one number with its source), ask.
- Fill
code/deck-template.html(each<section>is one slide; @page is 13.333in x 7.5in). python3 ../tools/html2pdf.py deck.html deck.pdf;check_doc.py deck.pdf --pages N:Nwhere N = number of sections.- If PowerPoint is required, import the PDF or rebuild from the outline; python-pptx is not installed here.
Edge cases
- Text that overflows a slide pushes a second page: the page-count check catches it.
- Fonts: system fonts only, no CDN.
Don'ts
- Don't send or share the PDF with a client yourself; hand it to Waleed (he sends).
- Don't put real client data into fixtures or this repo; fixtures use fictional Acme Example Co.
- Don't invent numbers (prices, dates, metrics): every figure comes from the brief or a cited source.
- Don't put more than one idea on a slide.