agentleFS
michaelenglandmichaelengland/deckwright/skills/present/SKILL.md

present

Skill2 starsChanged 9 months agoMITView on GitHub

This skill should be used when the user asks to generate the PowerPoint, build the .pptx file, render slides, or invoke /deckwright:present. Executes a slide design document to produce the final .pptx and .pdf files.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use build.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    build

    Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 10 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 10

    Distinctive

    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
  1. Very specific:

    If no design or generation script exists: "Would you like to use /deckwright:design first to plan your slides and visual direction?"

    line 16
  2. Very specific:

    Before starting, check: does a deck folder in decks/ contain a PptxGenJS generation script (a .js file containing require("pptxgenjs"))?

    line 22
  3. Distinctive:

    Read the generation script to understand the current slide functions

    line 26
  4. Distinctive:

    If adding slides, create new functions and insert their calls at the right position

    line 29
  5. Distinctive:

    If removing slides, delete the function and its call

    line 30
  6. Distinctive:

    After modifications, continue to step 3 (Visual Validation) as usual

    line 31
  7. Distinctive:

    Read the slide design document.

    line 35
  8. Distinctive:

    Create a JavaScript file that builds the presentation using PptxGenJS (10" × 5.625" for 16:9)

    line 45
  9. Very specific:

    Run with node to generate the .pptx

    line 46
  10. Distinctive:

    Create a thumbnail grid from the slide images

    line 49
  11. Distinctive:

    No cards/boxes used as containers?

    line 68
  12. Distinctive:

    No decorative gradients, shadows, or icon grids?

    line 69
  13. Distinctive:

    If issues found, fix and regenerate.

    line 75

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Present

Execute a slide design document to generate the final presentation. This skill takes the complete slide-by-slide spec (with layouts, content, and visual direction) and produces a validated .pptx and .pdf.

Prerequisites

  • A slide design document exists (from /deckwright:design), OR
  • User provides a complete slide-by-slide spec with visual direction, OR
  • A PptxGenJS generation script exists from a previous import or creation (edit mode)

If no design or generation script exists: "Would you like to use /deckwright:design first to plan your slides and visual direction?"

Process

Edit Mode Check

Before starting, check: does a deck folder in decks/ contain a PptxGenJS generation script (a .js file containing require("pptxgenjs"))?

  • If no: This is a new presentation. Follow the standard process below.
  • If yes: This is an edit. Read the existing generation script and modify only the affected slide functions based on user instructions or upstream design documents. Do not rewrite unchanged slides. Specifically:
    1. Read the generation script to understand the current slide functions
    2. Identify which slides need changes (from user request or updated design doc)
    3. Modify only those createSlideN functions — preserve everything else verbatim
    4. If adding slides, create new functions and insert their calls at the right position
    5. If removing slides, delete the function and its call
    6. After modifications, continue to step 3 (Visual Validation) as usual

1. Load the Slide Design

Read the slide design document. Extract:

  • Visual direction (color palette, typography, visual style)
  • Each slide's layout, content, and speaker notes
  • Source references (URLs carried forward from upstream phases)

2. Generate Slides

Before writing any generation code, read ${CLAUDE_PLUGIN_ROOT}/references/pptx-generation.md — it contains the complete PptxGenJS API reference, critical pitfalls that cause file corruption, and the full generation workflow.

Workflow:

  1. Create a JavaScript file that builds the presentation using PptxGenJS (10" × 5.625" for 16:9)
  2. Run with node to generate the .pptx
  3. Export to .pdf (see the reference for PowerPoint and LibreOffice approaches)
  4. Convert to slide images for validation (see "Visual Validation" in the reference)
  5. Create a thumbnail grid from the slide images

The reference includes a Critical Pitfalls section — follow it exactly before writing any code. Key failure modes covered: hex color formatting, opacity encoding, object reuse, bullet syntax, and gradient limitations.

Sources in the final output:

Source references carried from upstream phases should appear as clickable hyperlinks in the .pptx (and by extension, the .pdf). Use these approaches depending on context:

  • Inline footnote numbers — Small superscript-style numbers (e.g., "Market grew 40%¹") that link to the source URL via PptxGenJS hyperlink: { url: "..." }. Keep them subtle.
  • Sources slide at the end — A final slide listing all sources as clickable links: [1] Label — url. Use this for formal or data-heavy presentations.
  • Speaker notes — Always include source URLs in the speaker notes for the slides that reference them, even if they also appear inline or on a sources slide.

The goal: every claim in the final deck can be traced back to its source via a clickable link, in both .pptx and .pdf.

3. Visual Validation

Review the thumbnail grid. For each slide check:

  • Is 40%+ of the slide whitespace?
  • Is color used for meaning, not decoration?
  • No cards/boxes used as containers?
  • No decorative gradients, shadows, or icon grids?
  • Would removing any visual element break the meaning? (If not, remove it)
  • Does it feel like a designed slide or a template? (If template — simplify)
  • Text cutoff, overflow, or contrast issues?
  • Can it be understood in under 3 seconds?

If issues found, fix and regenerate. Repeat until all slides pass.

4. Deliver

Provide the final .pptx file with a summary:

"Your presentation is ready:

  • PowerPoint: [filename.pptx]
  • PDF: [filename.pdf]
  • Slides: [N] slides

The generation script is the source of truth — if you need changes, let me know and I'll update the script and regenerate. Edits made directly to the .pptx in PowerPoint will be overwritten on the next run.

Any adjustments needed?"

Principles

  • Follow the design — The slide design document is the spec; don't deviate without approval
  • Validate visually — Always review thumbnails before delivery
  • Fix and regenerate — If validation fails, fix the code and regenerate rather than declaring "good enough"

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.