Deck Rescue 标志

Deck Rescue

组织
ai-analyst-lab
deck-rescue

Take a failing deck end-to-end and produce a complete rewrite with proper narrative structure (Context-Tension-Resolution arc, action headlines, a specific ask). Use when a deck scores D or F on /deck-critique, or the user says "rescue", "rewrite", "redo", or "fix" an entire deck, "this deck is a mess", "completely rebuild these slides", "salvage this presentation". For minor fixes to a few slides use /slide-transform instead.

概览

发布者ai-analyst-lab
代码仓库ai-analyst-plugin
技能名称deck-rescue
星标数
34
复刻数
13
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 ai-analyst-lab 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Deck Rescue AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/deck-rescue
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ai-analyst-lab/ai-analyst-plugin.git /tmp/ai-analyst-plugin
mkdir -p .claude/skills
cp -r /tmp/ai-analyst-plugin/ai-analyst-plus/skills/deck-rescue .claude/skills/deck-rescue
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Deck Rescue,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Deck Rescue。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Deck Rescue 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Skill: Deck Rescue

Purpose

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.

When to Use

Apply this skill when:

  1. A deck scores D or F on /deck-critique — needs a complete rewrite, not slide-level fixes
  2. The user asks to "rescue", "rewrite", or "redo" an entire deck from scratch
  3. The presentation-doctor agent prescribes a full rescue based on diagnosis severity

This skill can be invoked directly as /deck-rescue or called by the presentation-doctor orchestrator agent.

Inputs

  • {{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 contexts

Instructions

Rescue Pipeline

The full rescue is a 7-step pipeline. If {{CRITIQUE}} or {{STORY}} are provided, the corresponding steps are shortened or skipped.

Step 1: Diagnose (or load critique)

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.

Step 2: Extract raw content and validate match

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):

  • Specific numbers, percentages, rates
  • Named segments, cohorts, time periods
  • Charts with data (note what the chart shows, not just that a chart exists)
  • Any finding, even if poorly stated

Noise (discard):

  • Generic filler ("as you can see", "in summary")
  • Redundant data points (same finding stated 3 ways)
  • Decorative elements that add no information
  • Appendix data that wasn't referenced in the main deck

CRITICAL VALIDATION: After extraction, check if the deck content matches the user's stated problem. For example:

  • User says "decide whether to invest in onboarding flow" but deck is about bugs → MISMATCH
  • User says "Q3 conversion dropped 12%" but deck shows Q1 churn data → MISMATCH

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.

Step 3: Find the story (or load story extraction)

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:

  1. Catalog every discrete finding, claim, or data point as a numbered flat list (numbers, comparisons, trends, anomalies, claims, recommendations). Don't interpret yet.
  2. Score each finding on four 1-5 dimensions (Surprise, Business Impact, Audience Relevance, Evidence Strength) and sum to a composite out of 20. If no audience was given, score relevance for a general executive audience.
  3. Pick Story #1 (highest composite), then a non-redundant Story #2 and #3. Check that Story #1 has a twist: the gap between what the audience expects and what the data shows. A story without surprise is just a report.
  4. Write the lead-story brief: HEADLINE (one sentence), THE TWIST, THE STAKES (quantified), THE EVIDENCE (2-3 specific data points), THE ASK.
  5. List what to CUT (off-story, redundant, too granular, unsurprising) with a one-line rationale each. An empty cut list means no editorial judgment was applied.

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.

Step 4: Build the narrative arc

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:

SlideRoleChecklist Target
Slide 1Title + SO-WHAT — The main finding IS the titleSO-WHAT: 3/3
Slide 2STAKES — Why should the audience care? Quantify the impactSTAKES: 3/3
Slide 3EVIDENCE (pattern) — The key evidence supporting the findingEVIDENCE: 3/3
Slide 4EVIDENCE (cause) — Root cause or deeper explanationEVIDENCE: 3/3
Slide 5RESOLUTION — Recommendation with expected impactASK: 3/3
Slide 6ASK — Specific decision request with timeline and riskASK: 3/3

This is the default 6-slide structure. Adjust based on content:

  • Simple story (1 evidence point): 4-5 slides
  • Complex story (multiple evidence threads): 6-8 slides
  • HARD LIMIT: 8 slides maximum for any rescue — the original was already too long, don't make it long again

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.

Step 5: Generate the new deck

Write each slide as Marp markdown following these rules:

Title rules:

  • Every slide title is an action headline (SO-WHAT score ≥ 2)
  • Read all titles top-to-bottom — they must tell the complete story
  • No label titles ("Overview", "Analysis", "Results")

Evidence rules:

  • Maximum 3 bullet points per slide
  • Maximum 1 chart per slide
  • Bold key numbers: **67%**, **$2.3M ARR**
  • If data was in the original deck, reference it specifically

Ask rules:

  • Final slide must have a specific ask with: action, owner (if known), timeline, risk mitigation
  • "Questions?" is never the final slide — it can follow the ask slide

Marp formatting:

  • Use the {{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)
  • Apply appropriate slide classes from the theme spec
  • Use <!-- _class: lead --> for the title slide
  • Use <!-- _class: impact --> for single-statement emphasis slides
  • Reference charts as ![](outputs/charts/...) — 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.

Step 6: Build the before/after comparison

For each original slide, show what replaced it and why:

markdown
## 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.

Step 7: Generate speaker notes (REQUIRED)

This step is NOT optional. Every rescued deck must include speaker notes for presentation readiness.

For each new slide, write brief speaker notes covering:

  • The talking track — what to say when this slide is on screen (2-3 sentences)
  • The transition — how to bridge to the next slide
  • Anticipated question — one question the audience might ask, with a prepared answer

Add speaker notes as Marp comments below each slide in the deck_rescue_{{DATE}}.marp.md file:

markdown
<!--
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.

Output Format

The rescue produces 3 files:

  1. working/deck_rescue_{{DATE}}.marp.md — The complete new Marp deck
  2. working/before_after_{{DATE}}.md — Slide-by-slide comparison with score changes
  3. working/content_inventory_{{DATE}}.md — Raw content extraction (signal vs noise)

Plus a summary printed to the user:

markdown
# 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.

Handoff

After the rescue:

  • Verify quality: Run /deck-critique on the new deck to confirm all slides score 9+/12
  • Generate charts: If the new deck references chart placeholders, invoke Chart Maker for each
  • Render: Use Marp CLI to produce the PDF or HTML when the user wants a rendered file; the .marp.md itself is the core deliverable
  • The presentation-doctor orchestrator handles all of this automatically

Anti-Patterns

  1. Never rescue a B/C deck — suggest /slide-transform instead. A rescue means starting over.
  2. Never keep the original structure — the whole point is a new narrative arc. If the original order was right, it wouldn't need rescuing.
  3. Never add new data — rescue uses ONLY what was in the original deck. The story was there; it was just buried.
  4. Never exceed 8 slides — if you need more, the story isn't focused enough
  5. Never end without an ask — the final slide must request a specific decision or action

Skills Used

  • /deck-critique — for initial diagnosis (Step 1)
  • reference/presentation-standards.md (in this skill) — for Marp theme application
  • Story extraction (Step 3) and deck parsing (Step 2) are done inline by this skill

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Deck Rescue AI 技能有什么作用?

Take a failing deck end-to-end and produce a complete rewrite with proper narrative structure (Context-Tension-Resolution arc, action headlines, a specific ask). Use when a deck scores D or F on /deck-critique, or the user says "rescue", "rewrite", "redo", or "fix" an entire deck, "this deck is a mess", "completely rebuild these slides", "salvage this presentation". For minor fixes to a few slides use /slide-transform instead.

为什么在 TypingMind 中使用 Deck Rescue?

因为您只需安装一次,就能搭配任何模型使用。Deck Rescue 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Deck Rescue?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/deck-rescue。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Deck Rescue?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Deck Rescue 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Deck Rescue 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Deck Rescue AI 技能免费吗?

是的。ai-analyst-lab 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇