Claude Code · Codex · Cursor

Make a deck with AI

The assistant writes content into fixed templates and keeps going until the check passes. You review the screenshots.

  1. Create the project

    Each deck project is a small folder with the templates, rules and skill.

    npx pcafe init my-talk
    cd my-talk && npm install
  2. Start your assistant in the folder

    It reads AGENTS.md (the rules) and skills/pcafe (the method: facts, storyline, templates by content shape, limits, check).

    Run claude in the folder. CLAUDE.md includes AGENTS.md, and the skill in .claude/skills is picked up automatically.

    claude
  3. Give it your material and a clear finish line

    Point it at your notes, name the audience and length, and say when it is done.

    Example prompt

    Make a 10-slide deck about our Q3 results from notes.md for the leadership team, following AGENTS.md and skills/pcafe/SKILL.en.md. Use the editorial style. Only use facts from notes.md and give each one a source. You are done when `npx pcafe check q3-review` prints PASS and you have looked at every screenshot in qa/.

    The same prompt in other languages

    简体中文

    根据 notes.md 给管理层做一份 10 页的第三季度业绩演示,遵守 AGENTS.md 和 skills/pcafe/SKILL.md。用 editorial 风格。只用 notes.md 里的事实,并给每条写出处。`npx pcafe check q3-review` 最后输出 PASS、并且你看过 qa/ 里每一张截图,才算完成。

    繁體中文

    根據 notes.md 為主管團隊做一份 10 頁的第三季業績簡報,遵守 AGENTS.md 和 skills/pcafe/SKILL.zh-TW.md。使用 editorial 風格。只用 notes.md 裡的事實,每一條都註明出處。`npx pcafe check q3-review` 最後輸出 PASS,而且你看過 qa/ 裡的每一張截圖,才算完成。

  4. Let it run the check until PASS

    The assistant fixes every FAIL (overflow, collisions, font sizes) by shortening or splitting slides, never by shrinking fonts.

    npx pcafe check q3-review
  5. Review the screenshots

    Open qa/slide-NN-1920x1080.png. Look for empty halves, crowded slides and emphasis that does not match the text. Ask for changes in plain words.

  6. Build and send

    The result is one offline HTML file in dist/.

    npx pcafe build q3-review

Good to know

  • Facts need a source. Ask the assistant to leave out what it cannot source.
  • If a slide does not fit, it should split the slide, not shrink the text.
  • Compare styles at /styles before you choose one, or ask for two and compare.

Writing guide → Styles →