agentleFS
IsNoobgrammerIsNoobgrammer/skills-for-agents/skills/slidify/SKILL.md

slidify

Skill4 starsChanged 6 months agoMITView on GitHub

End-to-end PowerPoint generator. Use whenever the user wants to create, edit, or export a .pptx (or convert to PDF), add watermarks/logos/footers, apply brand templates, build a deck from any content, generate charts/diagrams, fetch stock images, or add animations/transitions. Always use this skill rather than writing pptxgenjs/python-pptx from memory. Triggers on: 'make a presentation', 'create slides', 'generate pptx', 'export to pdf', 'add watermark', 'apply template', 'add chart', '/slidify', or any .pptx request.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before writing any slide, ask: "Can this be a chart, diagram, or image instead of text?"

    line 29
  2. Very specific:

    Use scripts/gen_images.py to generate charts from data.

    line 44
  3. Very specific:

    Read references/slide-spec.md for the full schema.

    line 74
  4. Very specific:

    When writing slides.json, add "notes" to every slide object.

    line 98
  5. Very specific:

    If the slide spec has an "images" block, generate charts and fetch stock images:

    line 151
  6. Very specific:

    If the user wants animations or transitions, add an "animations" block to slides.json (see references/slide-spec.md for full schema).

    line 188

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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.

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

Slidify

You generate production-quality PowerPoint presentations using a two-layer architecture:

  1. Slide Spec (JSON) — you write and edit this; humans can read and tweak it
  2. Code Layer (JS) — generated from the spec; you run it

This separation makes the pipeline AI-friendly: editing means editing JSON, not wrestling with pptxgenjs internals.


Core Philosophy: Images Over Text

1 image > 2 slides of text. Visuals are processed 60,000x faster than text. Every slide with more than 4 bullet points is a candidate for an image replacement.

Before writing any slide, ask: "Can this be a chart, diagram, or image instead of text?"

If the content is...Replace with...
5+ bullet points with dataBar chart or comparison visual
A process with 3+ stepsFlowchart diagram
A timeline of eventsTimeline visual
Statistics/numbersStat callout cards with big numbers
Before/after comparisonSide-by-side visual
Overlapping conceptsVenn diagram
Feature listIcon grid
Trend over timeLine chart
Part-of-whole dataPie/donut chart
Hero/intro slideSearched stock image

Use scripts/gen_images.py to generate charts from data. Use scripts/fetch_images.py to find stock images from the web. See references/images.md for the full catalog.


When to Use

  • User asks to create, edit, or export a presentation
  • User mentions slides, deck, pptx, PowerPoint, or PDF export
  • User wants watermarks, logos, brand colors, or footers on slides
  • User provides content (paper, report, outline) and wants it as slides
  • User wants charts, diagrams, or data visualizations in slides
  • User wants stock images or illustrations fetched from the web
  • User says "/slidify"

Workflow

Step 1 — Resolve Template

Does the user have a template requirement (university logo, company brand, conference theme)?

Yes → Read references/templates.md, pick or create a template config in assets/templates/. No → Use default template (clean white, no watermark).

Templates live as JSON in assets/templates/. The generator reads them at runtime.

Step 2 — Write Slide Spec

Read references/slide-spec.md for the full schema.

Write slides.json:

{
  "meta": {
    "title": "My Presentation",
    "author": "Your Name",
    "template": "default",
    "output": "output.pptx"
  },
  "slides": [
    { "type": "title", "title": "...", "subtitle": "..." },
    { "type": "content", "title": "...", "layout": "bullets", "items": ["..."], "notes": "Speaker notes here" }
  ]
}

The spec is the single source of truth. All edits go here, never in generated code.

Step 2b — Generate Speaker Notes (MANDATORY)

Every slide MUST have a notes field. Speaker notes appear in the PPTX notes panel below each slide and are essential for presenting — they serve as the presenter's script.

When writing slides.json, add "notes" to every slide object. Generate notes automatically based on the slide content:

What good speaker notes contain:

ElementExample
Opening line"Today I'll walk you through our approach to..."
Key talking pointsExpand on each bullet/visual — what to say, not just what's on screen
Emphasis cues"Make sure to pause on this stat — it's the core finding"
Transitions"This leads us directly into the results section..."
Context for visuals"The chart shows a 4x improvement — let me explain why..."
Q&A prep"If asked about limitations, mention the dataset size constraint"

Notes format — keep them scannable for a presenter:

{
  "type": "content",
  "title": "Key Results",
  "layout": "stats",
  "stats": [
    { "value": "4x", "label": "Token efficiency" },
    { "value": "~2x", "label": "Perplexity gain" }
  ],
  "notes": "OPEN: Let's look at the numbers that matter.\n- 4x token efficiency: this is vs Phi-4 on Hindi — the core contribution.\n- ~2x perplexity: TokenAdapt halves the gap to English-quality models.\nEMPHASIS: Pause on the 4x stat — it's the headline.\nTRANSITION: Now let me show you how we got here..."
}

Slide-type-specific notes:

Slide TypeNotes Should Include
titleWelcome line, self-intro prompt, topic framing
content (bullets)Expand each bullet into 1-2 spoken sentences
content (stats)Explain what each number means and why it matters
content (chart)Describe the chart trend, highlight key comparisons
content (cards)Walk through each card with a real-world example
content (timeline)Narrate the story arc across the timeline
sectionPreview what's coming in this section
image-fullDescribe what the audience should notice in the image
closingWrap-up statement, invite questions, share contact info

Step 3 — Generate PPTX

node scripts/gen_pptx.js slides.json
# → output.pptx

The generator reads slides.json + the template config and produces a .pptx.

Step 3b — Generate Images (Optional but Recommended)

If the slide spec has an "images" block, generate charts and fetch stock images:

# Generate charts/diagrams from data
python scripts/gen_images.py images-config.json assets/generated/

# Fetch stock images from the web
python scripts/fetch_images.py fetch-config.json assets/fetched/

Then reference the generated images in the slide spec:

{
  "type": "content",
  "title": "Results",
  "layout": "image-right",
  "image": { "path": "assets/generated/perf_chart.png" },
  "notes": "The chart shows our 4x improvement..."
}

When to generate images:

Slide ContentGenerateType
Data comparisonsYesbar or grouped_bar
StatisticsYesstat_callout
Process/workflowYesflowchart
TimelineYestimeline
TrendsYesline
Hero/introFetchStock image via fetch_images.py

See references/images.md for all chart types and options.

Step 3c — Add Animations (Optional)

If the user wants animations or transitions, add an "animations" block to slides.json (see references/slide-spec.md for full schema). Then post-process:

node scripts/add_animations.js output.pptx animations.json output-animated.pptx

See references/animations.md for the full effect catalog.

Step 4 — Export (Optional)

bash scripts/export.sh output.pptx pdf    # → PDF
bash scripts/export.sh output.pptx all    # → PDF + PPT + images

Step 5 — QA

# Text content check
python scripts/extract_text.py output.pptx

# Visual check — convert to images
bash scripts/export.sh output.pptx images

Fix issues in slides.json → re-run generator → re-check. Never edit generated code directly.


Slide Types Quick Reference

TypeUse ForKey Fields
titleOpening slidetitle, subtitle, presenter, affiliation, date
contentGeneral slidestitle, layout, items/stats/cards/steps/chart
sectionSection dividerstitle, subtitle
image-fullFull-bleed imagepath, caption
closingFinal slidetitle, contact, links

Content layouts: bullets, two-column, image-right, image-left, cards, stats, timeline, chart, blank


Critical Rules

RuleWhy
No # in hex colors"FF0000" not "#FF0000" — corrupts the file
No unicode bulletsUse bullet: true, never the • character
No 8-char hex opacityUse opacity: 0.15 field, never "00000020"
No reused option objectsUse factory () => ({...}) for shadows/styles
No placeholder text in outputGrep for "TODO", "lorem", "XXX" before shipping
Watermark on EVERY slideTemplate applier loops all slides, not just first
Edit spec onlyNever modify generated .js — edit slides.json and regenerate
Speaker notes on EVERY slideEvery slide object must have a notes field — presenter's script

Editing an Existing Deck

  1. Edit slides.json — change content, reorder, add/remove slides
  2. Change template? Update meta.template → all slides update automatically
  3. Re-run generator — full regeneration from spec (idempotent)

File Map

NeedRead
Slide spec formatreferences/slide-spec.md
Template systemreferences/templates.md
pptxgenjs API cheatsheetreferences/pptxgenjs-cheatsheet.md
Images & chartsreferences/images.md
Animations & transitionsreferences/animations.md
Export optionsreferences/export.md
Ready-made templatesassets/templates/*.json

Composability — Working With Other Skills

See PROTOCOL.md (SIP) at skills root for full interop contract.

Domain Declaration

domain: process
composable: true
yields_to: [craft]

Slidify owns process — the workflow for generating PowerPoint presentations from structured specs. It controls the slide spec format, generation pipeline, and export steps.

When Slidify Leads

  • Any request to create, edit, or export a .pptx file
  • Any request involving slide decks, presentations, or PowerPoint
  • Template creation or modification for presentations

When Slidify Defers

Other Skill's DomainWhat Slidify Does
Craft (e.g. painter)Slidify handles structure and content. Visual design decisions (color palettes, layout aesthetics, typography choices) defer to craft skills.
Content (e.g. researcher, documenter)Slidify handles slide structure. The actual content substance comes from content skills.
Voice (e.g. blogger)Slidify handles slide layout. Tone and wording of slide text defers to voice skills.

Conflict Signal

⚠️ Process conflict: visual design request overlaps with craft domain. Slidify handles slide structure; craft skill handles aesthetic decisions. Which approach?

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.