Skip to content
Skills Library
Documents & office · Writing

sg-draft

/sg-draft

Draft 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.

Licence
MIT
Last repository change
31.07.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 31.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Draft 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.

Arguments

/sg-draft <outline.json> [--output path]
Original author description

Draft 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.

How it works

  1. Pre-loaded Context
  2. Prerequisites
  3. Input Validation
  4. Instructions
  5. How It Works
  6. Error Handling
  7. Output
  8. Next Step
Original SKILL.md headings · 73 lines, 370 words
SKILL.md preview
---
name: sg-draft
effort: low
description: Draft 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.
argument-hint: "<outline.json> [--output path]"
allowed-tools: Bash, Read, Glob, Grep
---

# Slide Generator: Draft Step

Draft full slide content from an outline. Uses structured single-call generation (one API call per slide) with batching (groups of 4) for efficiency. Produces a complete presentation markdown with titles, bullets, speaker notes, and graphics descriptions.

## Pre-loaded Context

**Working directory:**
!`pwd`

**Available outline files:**
!`ls -la outline*.json 2>/dev/null || echo "No outline files found"`

## Prerequisites

- **Preflight:** `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 installed
- `ANTHROPIC_API_KEY` set in environment
- An `outline.json` file from the outline step

## Input Validation

**Required:**
- `<outline.json>` - Path to outline file

**Optional:**
- `--output <path>` - Output file path (default: `presentation.md`)
- `--tone <tone>` - Content tone: professional, casual, academic, technical (default: professional)
- `--audience <audience>` - Target audience description

## Instructions

1. **Verify input**: Confirm the outline JSON file exists and is valid
2. **Run draft generation**:
   ```bash
   sg draft outline.json --output presentation.md
   ```
3. **Verify output**: Confirm `presentation.md` was created with full slide content
4. **Report results**: Show slide count, total word count, and a sample slide

## How It Works

The draft step uses:
- **Structured single-call**: Each slide generated in one API call (not 4 separate calls)
- **Batch generation**: Slides grouped in batches of 4 for efficiency
- **Inter-slide context**: Rolling 5-slide context window for coherence
- **Temperature 0.5**: Balanced creativity for content generation
- **Research cache**: Reuses research findings for factual accuracy

## Error Handling

| Error | Cause | Fix |
|-------|-------|-----|
| `File not found` | Wrong path to outline.json | Check file path |
| `Rate limit` | Too many API calls in batch | Wait and retry (built-in backoff handles this) |
| `Content too short` | Outline lacks detail | Re-run outline with more target slides |

## Output

The draft step produces `presentation.md` containing:
- Full markdown-formatted slides
- Titles, bullet points, and detailed speaker notes
- Graphics descriptions for each slide (feeds image generation)
- Proper frontmatter with metadata

## Next Step

After draft completes, run the optimize step:
```bash
sg optimize presentation.md
```
Or use `/sg-optimize` to continue the pipeline.

Versions

The database has no other skills named sg-draft.

Database snapshot: 13.11.2026 · package version 53d7158717fa (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90slide-deck-generator
    Generate a real PowerPoint .pptx deck from a Markdown outline. Picks slide layouts (title / content / closing) based on the outline structure, applies a brand accent color, optionally adds speaker notes. Use when asked to make a deck, render slides from a brief, or turn talking…
  • 95one-click-ai-ppt
    Turn any topic into a complete business presentation — outline plus slide-by-slide speaker notes. Use when the user asks to create, generate, or draft a PPT, PowerPoint, slide deck, pitch deck, or presentation, or says "make me slides" / "give me a deck".
  • 100create-slide
    Use this skill when the user wants to create, draft, author, or generate new slides / a presentation in this open-slide repo. Triggers on phrases like "make slides about X", "make a deck about X", "create a presentation", "draft slides for", "new slide", "a deck with speaker…
  • 100create-slide
    Use this skill when the user wants to create, draft, author, or generate new slides / a presentation in this open-slide repo. Triggers on phrases like "make slides about X", "make a deck about X", "create a presentation", "draft slides for", "new slide", "a deck with speaker…
  • 100office-ppt-outline
    Use when turning materials into a presentation storyline, slide outline, speaker notes, or sharing-session structure.
  • 100presentation-builder
    Transform ideas, outlines, or documents into structured slide content with clear titles, bullet points, and speaker notes. Adapts to presentation type (pitch decks, business reviews, technical workshops, educational talks). Use when user says "create slides", "build a deck",…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.