شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها ai-analyst-lab على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Deck Rescue في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/deck-rescue
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
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

فعّل Deck Rescue في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Deck Rescue تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Deck Rescue بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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؟

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.

لماذا تستخدم Deck Rescue على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Deck Rescue عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Deck Rescue في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/ai-analyst-lab/ai-analyst-plugin/tree/main/ai-analyst-plus/skills/deck-rescue. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Deck Rescue؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Deck Rescue؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Deck Rescue معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Deck Rescue مجانية؟

نعم. نشرها ai-analyst-lab على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇