Logo Deck Rescue

Deck Rescue

Tổ chức
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.

Tổng quan

Nhà phát hànhai-analyst-lab
Kho mãai-analyst-plugin
Tên kỹ năngdeck-rescue
Sao
34
Bản fork
13
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ai-analyst-lab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Deck Rescue trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/deck-rescue
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Deck Rescue trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Deck Rescue ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Deck Rescue với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Deck Rescue làm được gì?

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.

Vì sao nên dùng Deck Rescue trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Deck Rescue là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Deck Rescue trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/deck-rescue. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Deck Rescue?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Deck Rescue với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Deck Rescue với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Deck Rescue có miễn phí không?

Có. Kỹ năng này được ai-analyst-lab phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇