/ai-analyst-plus:deck-rescuefrom ai-analyst-plus
Rewrites failing presentations end-to-end with proper narrative structure (Context-Tension-Resolution arc, action headlines, specific ask). Use when a deck scores D/F on /deck-critique or needs a complete rebuild.
Ships in ai-analyst-plus. 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.
Read when SKILL.md points to them.
Take a bad deck end-to-end and produce a complete rewrite: new narrative arc, new action headlines, decluttered evidence, and clear asks. Outputs a new Marp deck plus a before/after comparison document.
Apply this skill when:
/deck-critique — needs a complete rewrite, not slide-level fixesThis skill can be invoked directly as /deck-rescue or called by the presentation-doctor orchestrator agent.
{{DECK_SOURCE}}: Path to original Marp .marp.md file OR Google Slides presentation ID/URL{{AUDIENCE}}: Who the presentation is for (required for rescue — cannot rewrite without knowing the audience){{CONTEXT}} (optional): What decision or meeting this deck supports{{CRITIQUE}} (optional): Path to the deck critique from /deck-critique — saves re-diagnosis time{{STORY}} (optional): Path to story extraction from the story-extractor agent — if provided, skips Step 2{{THEME}} (optional): theme to apply — defaults to analytics per the auto-selection table in reference/presentation-standards.md (Marp-format analyst deliverables default light); pass analytics-dark for workshop/talk contextsThe full rescue is a 7-step pipeline. If {{CRITIQUE}} or {{STORY}} are provided, the corresponding steps are shortened or skipped.
If {{CRITIQUE}} is provided: Read the critique file and extract the per-slide scores, anti-patterns, and prescription. Skip to Step 2.
If not: Run the /deck-critique skill on {{DECK_SOURCE}}. Save to working/deck_critique_{{DATE}}.md.
Confirm the grade is D or F. If the grade is B or C, suggest /slide-transform instead — a full rescue may be overkill.
Parse every slide yourself. For a Marp file: strip the YAML frontmatter, split on --- slide separators, and for each slide record the title (first heading), the body text, the bullets (lines starting with - or *), whether it contains a chart (image reference) or a data table, and the word count. For Google Slides: fetch each slide's text through the Google Slides connector and record the same fields. Then extract ALL data, findings, and claims from the original deck — separate signal from noise:
Signal (keep):
Noise (discard):
CRITICAL VALIDATION: After extraction, check if the deck content matches the user's stated problem. For example:
If mismatch found: Inform the user immediately: "The deck content doesn't match your stated problem. The deck contains [X] but you mentioned [Y]. Should I: (A) Rescue using the deck's actual content, or (B) Wait while you provide the correct deck?" Do NOT proceed until clarified.
Save the extracted content inventory to working/content_inventory_{{DATE}}.md.
If {{STORY}} is provided: Read the story extraction and use the #1 story as the narrative spine. Skip to Step 4.
If not: Do the story extraction yourself on the content inventory, in five moves:
Save the extraction to working/story_extraction_{{DATE}}.md. This identifies the 1-3 stories worth telling and the #1 story to lead with.
The #1 story becomes the narrative spine for the new deck.
Using the extracted story, build a new narrative following Context → Tension → Resolution:
NARRATIVE ARC
━━━━━━━━━━━━
CONTEXT: What's the baseline? What does the audience already know?
TENSION: What changed? What's the surprising finding? What's at risk?
RESOLUTION: What should we do? What's the ask? What's the expected impact?
Map the narrative arc to slides:
| Slide | Role | Checklist Target |
|---|---|---|
| Slide 1 | Title + SO-WHAT — The main finding IS the title | SO-WHAT: 3/3 |
| Slide 2 | STAKES — Why should the audience care? Quantify the impact | STAKES: 3/3 |
| Slide 3 | EVIDENCE (pattern) — The key evidence supporting the finding | EVIDENCE: 3/3 |
| Slide 4 | EVIDENCE (cause) — Root cause or deeper explanation | EVIDENCE: 3/3 |
| Slide 5 | RESOLUTION — Recommendation with expected impact | ASK: 3/3 |
| Slide 6 | ASK — Specific decision request with timeline and risk | ASK: 3/3 |
This is the default 6-slide structure. Adjust based on content:
Slide count discipline: If you find yourself creating 10+ slides, the story is not focused. Go back to Step 3 (story extraction) and pick a narrower narrative. A rescue should SHORTEN and FOCUS, not just reorganize.
Write each slide as Marp markdown following these rules:
Title rules:
Evidence rules:
**67%**, **$2.3M ARR**Ask rules:
Marp formatting:
{{THEME}} theme (default: analytics); the theme is a styling spec in reference/presentation-standards.md, applied through the deck's frontmatter and inline styles (no CSS file ships with this plugin)<!-- _class: lead --> for the title slide<!-- _class: impact --> for single-statement emphasis slides — describe what chart should be created but do NOT generate charts (Chart Maker handles that)Save the new deck to working/deck_rescue_{{DATE}}.marp.md.
For each original slide, show what replaced it and why:
## Before/After Comparison
### Original Slide 1 → New Slide 1
**Before:** "Q3 Churn Analysis" (label title, no finding)
**After:** "Incomplete Onboarding Drives 67% of Enterprise Churn" (action headline)
**Why:** The original title told the audience nothing. The new title IS the finding.
**Score change:** 2/12 → 11/12
[Repeat for each slide mapping]
Note: Not every original slide maps 1:1 to a new slide. Some original slides are merged, some are cut entirely. Document this.
Save to working/before_after_{{DATE}}.md.
This step is NOT optional. Every rescued deck must include speaker notes for presentation readiness.
For each new slide, write brief speaker notes covering:
Add speaker notes as Marp comments below each slide in the deck_rescue_{{DATE}}.marp.md file:
<!--
TALKING TRACK: [what to say]
TRANSITION: [bridge to next slide]
ANTICIPATED Q: [question] → [answer]
-->
Quality check: After writing all speaker notes, verify that EVERY slide (including the final ask slide) has complete notes. Speaker notes are what make a rescued deck presentation-ready, not just readable.
The rescue produces 3 files:
working/deck_rescue_{{DATE}}.marp.md — The complete new Marp deckworking/before_after_{{DATE}}.md — Slide-by-slide comparison with score changesworking/content_inventory_{{DATE}}.md — Raw content extraction (signal vs noise)Plus a summary printed to the user:
# Deck Rescue Complete
**Original:** [N] slides, grade [X], avg score [Y/12]
**Rescued:** [M] slides, projected grade [A/B], avg score [Z/12]
## Story
[1-sentence summary of the narrative spine]
## Slide Map
| New Slide | Title | From Original | Score |
|-----------|-------|--------------|-------|
| 1 | "[action headline]" | Slides 1,4 (merged) | 11/12 |
| 2 | "[action headline]" | Slide 2 (rewritten) | 10/12 |
| ... | ... | ... | ... |
## Files Created
- New deck: `working/deck_rescue_{{DATE}}.marp.md`
- Comparison: `working/before_after_{{DATE}}.md`
- Content inventory: `working/content_inventory_{{DATE}}.md`
## Next Steps
1. Review the new deck and comparison doc
2. Run `/deck-critique` on the rescue to verify all slides score 9+/12
3. Run Chart Maker for any chart placeholders
4. Deliver the deck as the `.marp.md` file (it is readable markdown as-is). If the user wants a rendered file and Marp CLI is available: `npx @marp-team/marp-cli working/deck_rescue_{{DATE}}.marp.md --pdf` (or `--html`), using Marp's built-in styling; add `--theme <path>` only if the user supplies their own Marp CSS file. No CSS theme files ship with this plugin.
After the rescue:
/deck-critique on the new deck to confirm all slides score 9+/12.marp.md itself is the core deliverable/slide-transform instead. A rescue means starting over./deck-critique — for initial diagnosis (Step 1)reference/presentation-standards.md (in this skill) — for Marp theme applicationWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ai-analyst-lab/ai-analyst-plugin --plugin ai-analyst-plus47 skills in this plugin
/always-compareNever present a metric or number in isolation; anchor every number to a comparison (prior period, benchmark, or another segment) or state that none is available. Use every time you show a number: rates, counts, revenue, averages, query results, chart labels, summary stats. Trigger on output containing "the rate is", "we saw", "total", "average", "conversion", "revenue", "users", "sessions", "churn", "AOV", "NPS", or any figure pulled from data./analysis-designTurn a vague hunch or stakeholder request into a rigorous analysis plan via a staged pipeline (hypothesis sharpening, confound scan, V1, feedback, V2 redesign). Trigger on "I think X caused Y", "design an analysis for", "what's driving", "V2 after feedback", "stakeholder comments", "redesign the analysis". Vs question-framing (the lightweight framing gate before every analysis): use THIS only for a real hunch, confound scan, or V1 to V2 redesign./analyst-coreOperating rules for every data analysis. Apply for ANY data-analysis intent: "analyze", "investigate", "why did X change", "compare", "report on", "dashboard", "metrics", "funnel", "retention", "revenue", "conversion", "trend", "segment", "forecast", "how are we doing", "dig into", "break down", or any question about data, a metric, a CSV, or a table. Sets the method and routes to the other skills; load before any analytical question./archaeologyRetrieve proven SQL patterns, table cheatsheets, and join patterns from .knowledge/query-archaeology/ so past work gets reused. Fire as a pre-flight step before writing ANY SQL. Also trigger on "do we have a known query for X", "how do we usually join these tables", "have we computed this metric before". If the store is empty or missing, exit silently. Also owns the writer convention: after a validated analysis, curate the final SQL here./businessBrowse and search the organization's business context in .knowledge/organizations/: glossary terms, product catalog, metric definitions, OKRs, team structure. Trigger on "/business", "show me our glossary", "what metrics are defined?", "what products do we have?", "show me our OKRs", "who's on which team?", "look up [business term]", "what's the meaning of [term]?". Use this instead of reading the files directly./causalCausal inference toolkit for when experiments are not possible: estimate treatment effects from observational data with assumption checks and mandatory caveats. Invoke as /causal. Trigger on "causal", "caused", "impact of", "effect of", "attribution", "counterfactual", "difference-in-differences", "DiD", "propensity matching", "pre-post". If randomization IS possible, route to /experiment design instead.Other plugins' skills for the same job