Skip to content
Content
Skill

/mckinsey-deck

Turn any content into a top-tier McKinsey-style deck — a 1280×720 page-turning HTML presentation that also prints to a clean per-slide PDF. Use when the user wants a "McKinsey-style deck / presentation", a polished slide deck or PDF from notes/content, an

From plugin
30x-mckinsey-research-deck
412 skills
Install
$ npx -y skills add norahe0304-art/30x-mckinsey-research-deck --skill mckinsey-deck --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/mckinsey-deck

Context preview

The summary Claude sees to decide when to auto-load this skill.

Turn any content into a top-tier McKinsey-style deck — a 1280×720 page-turning HTML presentation that also prints to a clean per-slide PDF. Use when the user wants a "McKinsey-style deck / presentation", a polished slide deck or PDF from notes/content, an

SKILL.md

mckinsey-deck.SKILL.md
name: mckinsey-deck
description: >
  Turn any content into a top-tier McKinsey-style deck — a 1280×720 page-turning HTML
  presentation that also prints to a clean per-slide PDF. Use when the user wants a
  "McKinsey-style deck / presentation", a polished slide deck or PDF from notes/content,
  an executive/board/investor deck, or to "make slides / a deck / a PDF report" with a
  premium consulting look. (For full market research with sizing + competitor + business
  case, use mckinsey-market-research-deck instead.)
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash
  - Glob

McKinsey-Style Deck (the style + engine skill)

Build a research-grade-looking, page-turning deck from content the user gives you. Reviewed on screen as an HTML presentation; shared as a print-clean PDF. The whole engine is one file — `assets/deck_engine.py` — copy it into the project and compose `build()`.

**This skill owns the canonical engine.** `mckinsey-market-research-deck` (and any future deck skill) consumes `assets/deck_engine.py` from HERE — engine fixes land in this file only, never in a project-local or sibling-skill fork. One engine, zero drift.

How to use

1. Copy `assets/deck_engine.py` into the working dir. Set `BRAND` (the footer line) and `OUT_HTML`. 2. Compose the deck inside `build()` using the renderers (below). Feed them the user's content directly, or load from a JSON if the content is structured. 3. Render + export:

   python3 deck_engine.py
   "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --headless --disable-gpu \
     --no-pdf-header-footer --print-to-pdf="Deck.pdf" "Deck.html"

(Windows/Linux: swap the Chrome path for `chrome`/`google-chrome`.) 4. QC (below), fix, re-render, then deliver.

Renderers (all in deck_engine.py)

  • `cover(title_html, subtitle)` — navy hero (uses `product-images/cover-hero.png` if present), title + one subtitle.
  • `answer_slide(title, deck, governing, pillars, src)` — the executive-summary page (Pyramid Principle: answer first). One-sentence governing thought + 3–4 pillar conclusions, each optionally with a serif key stat. Place right after the cover; reading only the headlines from here to the end must form one persuasive essay (horizontal logic).
  • `divider(no, title, points)` — full-navy section break; big sky-blue number; optional duotone image (`divider-<no>.png`).
  • `heroes([(num, label), ...])` — 4-up serif stat strip.
  • `prose_slide(title, deck, themes, src, cols=2, note=None)` — "bold theme + paragraph" blocks (the McKinsey prose page). `themes=[(heading, paragraph_html), ...]`.
  • `essay_slide(title, deck, lead, paras, src, side=None)` — flowing two-column prose + optional side rail.
  • `table_slide(title, deck, columns, rows, src, note=None, fill=True, bold_keys=(), extra=None)` — navy-header table, uniform row heights (header 34px / rows 52px, never stretched); `bold_keys` highlights total rows; `extra=` takes a content block (e.g. `heroes([...])`) to fill a sparse page by composition.
  • `decision_slide(page, src)` — renders a structured exhibit (buildup/breakdown/scenarios + assumptions + READ).
  • `donut_block(...)`, `bars_chart(...)`, `heatmap_block(...)` — titled chart blocks for a page's side rail (charts ride beside their analysis; never alone on a page); `charts_slide(...)` for the rare full-canvas exhibit. Low-level: `donut_svg(...)`, heatmap `hcell(...)`.
  • `sources_register(url_set, selected_rows, src)` — the numbered, clickable source appendix.
  • `render(slides)` — assembles the page-turning HTML and prints the div-balance check.

Headline = a full-sentence conclusion (the takeaway), never a topic label.

Hard design laws (never violate)

  • **No eyebrow/kicker labels** — no small letter-spaced ALL-CAPS tags above titles or on the cover.
  • **Cover is minimal:** title + one italic subtitle only. No KPI band, no date, no method block.
  • **Action-title headlines** — the headline states the conclusion.
  • **Notes pinned to a uniform bottom** (`margin-top:auto`) on every page.
  • **Nothing overlaps the footer.** `.pad` reserves bottom clearance.
  • **Fill by composition, not by stretching.** Essay/prose type auto-scales across 3 tiers by

content length. **Table row heights are uniform deck-wide (header 34px / rows 52px) and never stretch** — fill a sparse table page via `table_slide(..., extra=heroes([...]))` or more rows. If a page is still thin at the top tier, add content — never inflate type or rows.

  • **No mid-word truncation** — use `clipw()`, never raw `[:n]`.
  • **Flat** — no shadows/bevels (navy cover/divider are the only image-shadow exception).
  • **Images** — clean cutout on pure white, no shadow, blended via `mix-blend-mode:multiply`; every image gets an italic caption. Cover/divider images: anchored bottom-right, `height:100%` (never >100%, or the PDF clips the subject), left-edge gradient mask so the square dissolves into navy.

Palette (baked into the engine CSS)

navy `#051C2C` · blue `#1F6FB2` · sky `#5AA9E0` · ink `#23272E` · muted `#7B8593` · hairline `#E3E6EB`. Headlines Georgia; body Inter. Color is rationed: navy structure + grays, blue/sky as small accents.

QC before delivery (always self-run)

# structure — must be 0, or an unclosed div breaks pagination
python3 -c "h=open('Deck.html').read();print('div diff:',h.count('<div')-h.count('</div>'))"
pdfinfo Deck.pdf | grep Pages
# visual — render every page and eyeball
pdftoppm -png -r 92 Deck.pdf _q   # then look at _q-*.png

Check each page: no footer overlap · no mid-word "…metal o" cuts · <30% whitespace · notes at a uniform bottom · images blended with captions · cover has no eyebrow/date. Fix, re-render, re-check.

**Browser caching trap:** `open`-ing an already-open HTML only refocuses the stale tab — verify by rendering the PDF, and tell the user to hard-refresh (Cmd+Shift+R).

Make links clickable

If you list URLs (sources/appendix), wrap each in `<a href="<full-url>">…</a>` — Chrome's `--p

Read more
Ships with30x-mckinsey-research-deck

一条指令,产出一份敢被挑战的麦肯锡级市场研究 deck。 这是一个 Claude Code Skill(安装进 Claude Code 会话里用,不是独立运行的 CLI 工具)——不需要单独的 API key,研究和 deck 生成全部发生在 Claude Code 会话内部(复用会话自带的模型访问),不是你在终端里单独调用的脚本。内置 adversarially verified numbers、15 套麦肯锡方法论的可执行工作流、多 agent pipeline。

Get the whole plugin
Stats
41
Stars
5
Forks
Maintained
Maintenance
Python
Language
MIT
License
2mo ago
Last commit
3mo ago
Created

Repo: norahe0304-art/30x-mckinsey-research-deck