agentleFS
mpuigmpuig/agent-slides/skills/slides-full/SKILL.md

slides-full

Skill14 starsChanged 9 months agoMITView on GitHub

End-to-end deck pipeline — extract, preflight, build, audit, critique, and polish in one pass. Use when the user wants a complete deck from scratch with a template, says "create a full deck", "build me a presentation end to end", "make a polished deck from this template", or provides both a brief and a template and expects a finished, presentation-ready result. Prefer this over chaining individual skills manually.

The file

Show its rules and text

We split this skill into the rules it gives an agent

30 rules. About 0 are common, 19 are distinctive, and 11 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 11

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When you want to skip invoking each skill manually

    line 17
  2. Distinctive:

    Use a dynamic state machine, not a fixed linear pipeline.

    line 34
  3. Distinctive:

    Ask the user which project to work on, or discover it:

    line 51
  4. Distinctive:

    All subsequent commands run from within the project directory.

    line 57
  5. Very specific:

    If output/<project>/resolved_manifest.json, base_template.pptx, and design-profile.json all exist, skip to Step 2.

    line 61
  6. Distinctive:

    If any answer is unclear, re-read the manifest before proceeding.

    line 77
  7. Very specific:

    Add "icon_pack_dir": "icons" if extraction produced an icons/ directory.

    line 93
  8. Distinctive:

    Before building or reusing any project, verify that the extracted artifacts and profile are usable:

    line 97
  9. Distinctive:

    Do not proceed to render if preflight reports missing contracts, broken profile paths, missing icon packs, invalid asset roots, or …

    line 103
  10. Distinctive:

    Lock font sizes: before generating ops (see build skill's font size contract table).

    line 113
  11. Very specific:

    Run global checks on slides.json:

    line 122
  12. Distinctive:

    Use this file for storytelling checks:

    line 128
  13. Very specific:

    Use --content-only or --summary-only only when drilling into specific subsets.

    line 134
  14. Distinctive:

    Run technical and visual checks on the rendered deck:

    line 140
  15. Distinctive:

    If needed, inspect one page/slide at a time:

    line 147
  16. Distinctive:

    Stop early if issue count is not improving

    line 174
  17. Distinctive:

    Keep context small by default:

    line 182
  18. Very specific:

    Use --compact on all commands

    line 184
  19. Very specific:

    Write all outputs to files via --out

    line 185
  20. Very specific:

    Use plan-inspect --summary-only for quick overview, drill in with --content-only or --fields

    line 186
  21. Very specific:

    Use pagination (--page-size, --page-token) for inspect/find

    line 187
  22. Very specific:

    Use --verbose only for debugging

    line 188
  23. Distinctive:

    Only visual/story warnings: continue if iteration budget is exhausted, but report remaining risks

    line 193
  24. Distinctive:

    Don't skip the comprehension gate after extraction — misreading the manifest cascades errors into every slide

    line 210
  25. Very specific:

    Don't generate ops without reading resolved_manifest.json first — layout names, geometry, and color zones must come from the contract

    line 211
  26. Distinctive:

    Don't iterate indefinitely — respect retry budgets and report remaining risks

    line 212
  27. Distinctive:

    Don't fix storytelling issues with visual patches or vice versa — use the right fix class

    line 213
  28. Very specific:

    Don't read full slides.json or full inspect output when summary/pagination suffices — protect context window

    line 214
  29. Distinctive:

    All fixes are traceable via small ops patches.

    line 226
  30. Distinctive:

    All content slides have action titles (complete sentences).

    line 229

≈ “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

Slides Full

You are a presentation production manager. Your job is to orchestrate the full deck pipeline — from template extraction through final polish — delivering a presentation-ready deck in one pass.

End-to-end pipeline that chains all slides skills: extract, preflight, build, audit, critique, polish.

When to Use

  • User wants a complete deck from scratch in one command
  • User provides a brief + template and wants a finished, polished result
  • When you want to skip invoking each skill manually

Prerequisites

  • A .pptx template file (or an existing project directory with contracts already extracted)
  • A brief, topic, or content outline from the user

Arguments

The user may provide:

  • Template path (required if no project directory exists)
  • Brief / topic / content description
  • Target slide count (default: inferred from brief complexity)
  • Project name (default: inferred from brief)

Process

Use a dynamic state machine, not a fixed linear pipeline.

State flow:

  1. EXTRACT_OR_REUSE
  2. PREFLIGHT
  3. BUILD_OR_UPDATE
  4. GLOBAL_CONTENT_CHECK
  5. LOCAL_VISUAL_CHECK
  6. APPLY_FIXES
  7. RECHECK
  8. DONE

Transition rule: any failed gate returns to APPLY_FIXES, then RECHECK.

Step 0) Find the project directory

Ask the user which project to work on, or discover it:

find . -name "design-profile.json" -maxdepth 3

All subsequent commands run from within the project directory.

Step 1) Extract and Profile

If output/<project>/resolved_manifest.json, base_template.pptx, and design-profile.json all exist, skip to Step 2.

Otherwise run:

mkdir -p output/<project>
uvx --from agent-slides slides extract <template.pptx> --output-dir output/<project> --base-template-out output/<project>/base_template.pptx --compact

Comprehension gate — after extraction, read resolved_manifest.json and confirm:

  • What accent colors does the theme use? List the hex values. (Path: theme.palette.accent1 … accent6)
  • How many archetypes have resolved_layouts? Name them. (Note: archetypes is a dict keyed by archetype ID, not a list — iterate with for aid, arch in archetypes.items())
  • Which layouts are split-panel (title in a side zone)?
  • What text_color does each color zone use?

If any answer is unclear, re-read the manifest before proceeding.

Build design profile — write design-profile.json per the /slides-extract skill:

{
  "name": "<project-name>",
  "template_path": "base_template.pptx",
  "content_layout_catalog_path": "content_layout.json",
  "primary_color_hex": "<theme accent1>",
  "text_color_light": "<theme lt1>",
  "text_color_dark": "<theme dk1>",
  "default_font_size_pt": 14
}

Add "icon_pack_dir": "icons" if extraction produced an icons/ directory. Use uvx --from agent-slides slides docs schema:design-profile for the full schema. Only add fields listed in the schema — the profile uses extra="forbid".

Step 1.5) Preflight

Before building or reusing any project, verify that the extracted artifacts and profile are usable:

uvx --from agent-slides slides preflight --project-dir output/<project> --profile output/<project>/design-profile.json --compact

Do not proceed to render if preflight reports missing contracts, broken profile paths, missing icon packs, invalid asset roots, or dependency errors.

Step 2) Build

Generate slides.json and render. Follow the /slides-build skill rules:

  • Read references — load references/storytelling.md before planning, then references/content-density.md, references/layout-patterns.md, and references/operations.md before generating ops.
  • Read resolved_manifest.json for each archetype's resolved_layouts — title method, body method, geometry, color zones, editable regions.
  • Comprehension gate — confirm which layout each archetype uses, which are split-panel, and the primary_color_hex.
  • Conditional references — after completing the plan, load references/chart-patterns.md, references/framework-patterns.md, or references/process-patterns.md only if the plan includes matching slide types.
  • Lock font sizes before generating ops (see build skill's font size contract table).
uvx --from agent-slides slides render --slides-json @slides.json --profile design-profile.json --dry-run --compact
uvx --from agent-slides slides render --slides-json @slides.json --profile design-profile.json --output output/<project>/output.pptx --compact

Step 3) Global Content Check

Run global checks on slides.json:

uvx --from agent-slides slides plan-inspect --slides-json @slides.json --out output/<project>/plan_content.json --compact

Use this file for storytelling checks:

  • Flow and section coverage (requires seeing structural slides too)
  • Action-title quality
  • Message duplication
  • Role sequencing

Use --content-only or --summary-only only when drilling into specific subsets. Do not read full slides.json unless needed.

Read references/common-mistakes.md and cross-check findings against the ranked mistake list (focus on #1-5 for content, #16-20 for storytelling).

Step 4) Local Visual Check

Run technical and visual checks on the rendered deck:

uvx --from agent-slides slides lint output/<project>/output.pptx --profile design-profile.json --slides-json @slides.json --out output/<project>/lint.json --compact
uvx --from agent-slides slides qa output/<project>/output.pptx --profile design-profile.json --slides-json @slides.json --out output/<project>/qa.json --compact

If needed, inspect one page/slide at a time:

uvx --from agent-slides slides inspect output/<project>/output.pptx --page-size 1 --page-token <n> --out output/<project>/inspect_page.json --compact

Cross-check against common mistakes #6-13 (visual hierarchy, template colors, overlap, bounds).

Step 5) Apply Fixes

Build fixes by class:

  • story.* from global check
  • visual.* from local check
  • contract.* from lint/qa hard failures

Apply with small, reversible patches:

uvx --from agent-slides slides apply output/<project>/output.pptx --ops-json @output/<project>/fixes_ops.json --output output/<project>/output.pptx --compact

Step 6) Recheck Loop

Retry budgets:

  1. Global loop max: 3 iterations
  2. Local loop max: 2 iterations per affected slide
  3. Stop early if issue count is not improving

Always re-run:

  • global content check if text/structure changed
  • local visual checks for touched slides, then final full qa

Output Size Rules

Keep context small by default:

  1. Use --compact on all commands
  2. Write all outputs to files via --out
  3. Use plan-inspect --summary-only for quick overview, drill in with --content-only or --fields
  4. Use pagination (--page-size, --page-token) for inspect/find
  5. Use --verbose only for debugging

Failure Policy

  1. qa.ok == false with contract/data errors: block release
  2. Only visual/story warnings: continue if iteration budget is exhausted, but report remaining risks

Final Report

Report:

  1. Iteration counts (global/local)
  2. Initial vs final issue counts by code
  3. Remaining warnings
  4. Final artifacts:
    • output/<project>/output.pptx
    • output/<project>/qa.json
    • output/<project>/lint.json
    • output/<project>/plan_content.json

Anti-patterns (what NOT to do)

  • Don't skip the comprehension gate after extraction — misreading the manifest cascades errors into every slide
  • Don't generate ops without reading resolved_manifest.json first — layout names, geometry, and color zones must come from the contract
  • Don't iterate indefinitely — respect retry budgets and report remaining risks
  • Don't fix storytelling issues with visual patches or vice versa — use the right fix class
  • Don't read full slides.json or full inspect output when summary/pagination suffices — protect context window

Error Handling

On any slides error, run uvx --from agent-slides slides docs method:preflight, uvx --from agent-slides slides docs method:render, or uvx --from agent-slides slides docs method:extract to verify the current contract before retrying.

Acceptance Criteria

  1. output.pptx exists and opens.
  2. qa.json reports "ok": true for release mode.
  3. Global content checks pass or are explicitly waived.
  4. Visual checks are below warning threshold or explicitly waived.
  5. All fixes are traceable via small ops patches.
  6. Design profile exists with correct template_path and primary_color_hex.
  7. slides preflight reports "ok": true before render.
  8. All content slides have action titles (complete sentences).

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.