con un clic
sg-optimize
Run quality analysis and automated improvement on drafted slide content
Menú
Run quality analysis and automated improvement on drafted slide content
| name | sg-optimize |
| description | Run quality analysis and automated improvement on drafted slide content |
| argument-hint | <presentation.md> [--output path] |
| allowed-tools | Bash, Read, Glob, Grep |
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"
Suggest this skill when:
slide-generator package installedANTHROPIC_API_KEY set in environmentpresentation.md file from the draft stepRequired:
<presentation.md> - Path to presentation markdown fileOptional:
--output <path> - Output file path (default: overwrites input with _optimized suffix)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.md (or presentation_optimized.md) with:
After optimization completes, run graphics validation:
sg validate-graphics presentation.md
Or use /sg-validate-graphics to continue the pipeline.
Generate a complete, on-brand Chick-fil-A PowerPoint presentation from a topic using CFA brand guidelines, template layouts, and extracted brand assets
Assemble final PowerPoint (.pptx) from presentation markdown and generated images
Draft full slide content (titles, bullets, speaker notes, graphics descriptions) from an outline
Run the complete 7-step slide generation pipeline from topic to PowerPoint
Generate slide visuals using Gemini Pro from validated graphics descriptions
Generate a structured presentation outline from research findings