mckinsey-charts
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mckinsey-charts" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-012bd5a82dd3eac22400d40b89664a59e1b272df38049e42fdd75c1983c45a88. Verify the upstream source and version against https://github.com/sruthir28/enterprise-ai-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Generates McKinsey-style consulting charts as native python-pptx objects (editable directly in PowerPoint). Includes three core chart types: bar chart with annotations for TAM/single-data stories, stacked column chart for revenue/usage structure over time, and waterfall chart for drivers/bridge analysis. Designed for situations that need manager-/review-level professional charts rather than default Excel styles.
Introduction source: third_party · sruthir28 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Generate McKinsey-style consulting charts as native python-pptx objects (editable inside PowerPoint). Three workhorse types — bar+callout for TAM/single-number stories, stacked column over time for revenue/usage mix, and waterfall for drivers/bridge analysis. Use when you need a chart that looks like it came from an EM-reviewed deck, not from Excel defaults.
- Testing
- Not tested
Browse files
Frontmatter
name: mckinsey-charts
description: Generate McKinsey-style consulting charts as native python-pptx objects (editable inside PowerPoint). Three workhorse types — bar+callout for TAM/single-number stories, stacked column over time for revenue/usage mix, and waterfall for drivers/bridge analysis. Use when you need a chart that looks like it came from an EM-reviewed deck, not from Excel defaults.McKinsey Charts
Drop-in chart builders for python-pptx. Charts are inserted as native PowerPoint chart objects — your audience can edit the data, change the colors, copy the chart to their own deck. No images, no screenshots.
The Three Charts
| Type | When to use | Example |
|---|---|---|
bar_callout |
One number is the story. TAM, market size, headcount, anything where you want to anchor on a single highlighted bar with a big callout. | "RTD coffee TAM will hit $42.5B by 2028" |
stacked_bar_over_time |
Composition over time. Revenue by segment, usage by feature, headcount by function. Shows both total growth and mix shift. | "Revenue grew 3x, but enterprise segment grew 7x" |
waterfall |
Bridging two numbers. Revenue walk, cost walk, headcount changes, any "start → adds → subtracts → end" story. | "FY24 → FY25 revenue bridge: $80M → $112M" |
Design choices (intentional, not configurable)
- Title is a claim, not a label. "RTD market will hit $42.5B by 2028" beats "Market Size."
- One highlight color, everything else grey. McKinsey decks don't rainbow. The chart points at one thing.
- No gridlines, no chart border, no legend unless multi-series. Less ink → more signal.
- Source line at the bottom in light grey italic. Always include it.
- Single font (Inter) at consistent sizes. Title 20pt, axis 10pt, source 9pt.
How to use
from pptx import Presentation
from pptx.util import Inches
from charts import add_bar_callout, add_stacked_bar_over_time, add_waterfall, new_deck
prs = new_deck() # 16:9 with title slide layout
slide = prs.slides.add_slide(prs.slide_layouts[6]) # blank
add_bar_callout(
slide,
title="RTD coffee TAM will hit $42.5B by 2028",
categories=["2023", "2024", "2025", "2026", "2027", "2028"],
values=[28.1, 30.8, 33.6, 36.5, 39.4, 42.5],
highlight_index=5, # which bar to highlight (last one here)
callout="$42.5B\n2028 TAM",
y_label="USD, billions",
source="Euromonitor 2025; Mintel; team analysis",
)
prs.save("output.pptx")
Same pattern for the other two:
add_stacked_bar_over_time(
slide,
title="Enterprise segment now drives 62% of revenue, up from 18% in 2021",
categories=["2021", "2022", "2023", "2024", "2025"],
series=[
("SMB", [12, 14, 15, 16, 18]),
("Mid-market", [8, 12, 16, 22, 28]),
("Enterprise", [4, 10, 22, 38, 74]),
],
highlight_series="Enterprise",
y_label="Revenue, $M",
source="Internal financials; FY21–FY25",
)
add_waterfall(
slide,
title="FY24 → FY25 revenue bridge: $80M → $112M, with new logos doing the heavy lifting",
labels=["FY24", "New logos", "Expansion", "Churn", "Price", "FY25"],
values=[80.0, 24.0, 12.0, -8.0, 4.0, 112.0],
kinds=["start", "pos", "pos", "neg", "pos", "total"],
y_label="Revenue, $M",
source="Internal financials; FY24–FY25",
)
Test it
python3 test_charts.py
open test_output.pptx
The test script generates one slide per chart type with realistic sample data. Open it in PowerPoint or Keynote and right-click any chart → "Edit Data" to confirm it's a native chart, not an image.
When NOT to use this skill
- You need a distribution (use a histogram or box plot — not a McKinsey staple).
- You need a scatter / quadrant (the 2x2 / portfolio map is a different skill).
- You're showing >5 series stacked (split into small multiples instead — one chart can't carry that load).
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供三种专业咨询图表类型,满足麦肯锡风格图表生成需求
- 支持原生 PowerPoint 对象输出,可直接编辑
- 适用于专业咨询场景,具有明确实用价值
Highlights
- 清晰定义三种图表类型的使用场景
- 提供具体示例说明何时使用每种图表
- 边界清晰,不易与其他图表工具混淆
Areas to improve
-
description写错位置 Reported severity: Minor
description 内容位于 skill_body 内部而非顶层 frontmatter
Recommendation: 建议将 description 移至顶层 frontmatter 中
Highlights
- 文档结构清晰,包含完整的使用说明
- 提供端到端代码示例和测试方法
- 设计原则说明详细,便于理解使用
Highlights
- 提供完整的 Python 代码示例
- 工具来源明确,基于 python-pptx
- 包含测试脚本验证功能
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Save or modify files
Confirm the output directory and whether existing files will be replaced. Back up important files and prefer a new output directory.
Mentioned in main document · lines 47
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.