/slide-gen:sg-optimize <presentation.md> [--output path]from slide-gen
Runs quality analysis and automated improvement on drafted slide content, scoring readability, tone, structure, redundancy, and citations.
Ships in slide-gen. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run quality analysis and automated improvement on drafted slide content. Uses Claude with extended thinking (budget_tokens=4096, temperature=1.0) to score and improve content across 5 dimensions: readability, tone consistency, structure, redundancy, and citation quality.
Working directory:
!pwd
Available presentation files:
!ls -la *.md 2>/dev/null | grep -i pres || echo "No presentation files found"
sg --version must succeed before proceeding — if sg is missing, stop and tell the user this requires the private davistroy/slide-generator engine (owner-only; see ADR-0008)slide-generator package installedANTHROPIC_API_KEY set in environmentpresentation.md file from the draft stepRequired:
<presentation.md> - Path to presentation markdown fileOptional:
--output <path> - Explicit output file path. If omitted, the sg engine chooses the output location itself — this is not documented in this repository (the engine lives in the private davistroy/slide-generator repo, ADR-0008/D23); run sg optimize --help to confirm current behavior before relying on it.sg optimize presentation.md
The optimize step uses:
| Error | Cause | Fix |
|---|---|---|
File not found | Wrong path | Check file path |
No slides detected | Malformed markdown | Verify presentation.md has proper slide markers |
Token limit exceeded | Very large deck | Set SG_OPTIMIZE_MAX_TOKENS=32768 or reduce slide count |
The optimize step produces an improved presentation markdown file — at the --output path if given, otherwise wherever the sg engine defaults to (unconfirmed here; see sg optimize --help) — with:
After optimization completes, run graphics validation:
sg validate-graphics presentation.md
Or use /sg-validate-graphics to continue the pipeline.
What SKILL.md sets; muted values are Claude Code's defaults
low9 skills in this plugin
/build-cfa-deckGenerate a complete, on-brand Chick-fil-A PowerPoint presentation from a topic using CFA brand guidelines, template layouts, and extracted brand assets. Use when you need a Chick-fil-A branded presentation, want to build a CFA deck with brand compliance, or need an on-brand presentation for a CFA audience./sg-buildAssemble final PowerPoint (.pptx) from presentation markdown and generated images. Use when you want to create the final PowerPoint, build the deck after image generation, or skip to building from presentation.md./sg-draftDraft full slide content (titles, bullets, speaker notes, graphics descriptions) from an outline. Use when you have an outline and want to generate full slide content, draft the slides, or move from structure to full presentation content.Other plugins' skills for the same job
npx claudepluginhub davistroy/claude-marketplace --plugin slide-gen