McKinsey Presentation Generator
by @yinin2005
McKinsey consulting-style multi-page HTML presentation generator. Creates data-rich, visually compelling slide decks with rigorous research, SVG charts, and...
clawhub install mckinsey-presentation-generatorπ About This Skill
name: mckinsey-presentation-generator description: "McKinsey consulting-style multi-page HTML presentation generator. Creates data-rich, visually compelling slide decks with rigorous research, SVG charts, and proper source citations. TRIGGERS: McKinsey, consulting deck, presentation, PPT, slide deck, data visualization, business presentation, market analysis slides."
McKinsey-Style Multi-Page Presentation Generator
Overview
This skill produces professional McKinsey consulting-style HTML slide decks. Every presentation is data-driven, information-dense, and visually rigorous. The workflow covers end-to-end generation: research β planning β slide creation (cover, content, section dividers, TOC, summary) β deployment. All slides are rendered as static HTML with inline SVG charts β no generated images except in rare, data-driven cases.
Workflow (MANDATORY ORDER β No Skipping Steps)
Step 1: Research Phase (CRITICAL β DO FIRST)
NEVER skip this step. Data quality determines presentation quality.
Gather comprehensive data before any slide creation:
#### Research Objectives
#### Information Source Prioritization
| Tier | Source Type | Examples | |------|-------------|----------| | 1 | Official Data/APIs | Company filings, government databases, central banks | | 2 | Research Institutions | McKinsey, BCG, Goldman Sachs, Morgan Stanley, IMF, World Bank | | 3 | Industry Reports | Gartner, Statista, CB Insights, PitchBook | | 4 | News Organizations | Reuters, Bloomberg, Financial Times | | 5 | Company Websites | Official press releases, investor relations |
#### Search Strategy
Execute multiple targeted searches: 1. "[Topic] market size 2025" 2. "[Topic] industry report" 3. "[Company] revenue growth 2025" 4. "[Topic] competitors market share" 5. "[Topic] trends forecast 2026" 6. "[Company] founding history milestones" 7. "[Topic] CAGR growth rate" 8. "[Topic] regional breakdown"
#### Data Quality Requirements
For every piece of data collected, record: 1. The specific data point (number, percentage, fact) 2. The source name (organization) 3. The publication date or data date 4. The original URL
MANDATORY minimums before completing research:
AVOID:
#### Research Output Format
## RESEARCH SUMMARYTopic: [Topic Name]
Research Date: [Current Date]
SLIDE N: [Slide Title]
Key Data Points:
1. [Data point 1] - [Value]
2. [Data point 2] - [Value]
Chart Data (if applicable):
| Year | Value | YoY Growth |
|------|-------|------------|
| 2023 | $XX | +XX% |
| 2024 | $XX | +XX% |
| 2025 | $XX | +XX% |
Source Citation: Source: [Organization 1], [Organization 2] | [Date]
ALL SOURCES
| # | Source Name | Type | Date | URL | Reliability |
|---|-------------|------|------|-----|-------------|
| 1 | [Name] | [Report/News/Official] | [Date] | [URL] | High/Medium |
Step 2: Presentation Planning
Based on research findings, plan the slide structure:
Typical 10-slide structure:
Step 3: Generate Cover Page
See Cover Page Specifications below.
Step 4: Generate Content Pages
For each content slide:
See Content Page Specifications below.
Step 5: Generate Optional Pages
If needed, generate:
Step 6: Deployment
Deploy the completed presentation using deploy_html_presentation.
Design System
Core Design Philosophy
Professional & Serious: All presentations must be square, formal, and business-appropriate. This is a consulting deck, NOT a creative portfolio.
Data-Driven: Every content slide must be backed by verifiable data with proper source citations.
Information Density: Content pages should maximize information density with at least 4 distinct content zones per slide.
Style: Sharp & Compact β square corners, high information density, professional severity. border-radius: 0 on ALL elements.
Color System
#### Primary Colors
| Element | Color Name | Hex | Usage |
|---------|------------|-----|-------|
| Main Background | White | #FFFFFF | Primary slide background (MANDATORY DEFAULT) |
| Title Bar/Header | Deep Navy Blue | #0B1F3A | Top header bar (0.6" height) |
| Primary Accent | Cobalt Blue | #1B5AB5 | Primary chart series, emphasis elements, insight text |
| Body Text/Labels | Dark Gray | #2D2D2D | Primary body text, data labels |
| Secondary Text/Footnotes | Medium Gray | #8C8C8C | Secondary text, footnotes, sources |
| Grid Lines/Dividers | Light Gray | #E0E0E0 | Chart grid lines, separators |
#### Cover Page & Section Divider Background Colors (Choose ONE)
| Option | Hex Code | Effect | Text Color |
|--------|----------|--------|------------|
| White | #FFFFFF | Clean, minimal, modern | Navy #0B1F3A |
| Navy Blue | #0B1F3A | Professional, authoritative | White #FFFFFF |
| Cobalt Blue | #1B5AB5 | Bold, confident | White #FFFFFF |
| Cyan | #2E8BC0 | Fresh, innovative | White #FFFFFF |
| Emerald Green | #3AAF6C | Growth, sustainability | White #FFFFFF |
| Gray | #4A4A4A | Neutral, sophisticated | White #FFFFFF |
#### Gradient Options (Cover/Divider pages ONLY, subtle only)
| Gradient | CSS Example |
|----------|-------------|
| Navy to Dark | background: linear-gradient(180deg, #0B1F3A 0%, #1B3A5C 100%); |
| Blue to Navy | background: linear-gradient(180deg, #1B5AB5 0%, #0B1F3A 100%); |
Note: Gradients are ONLY allowed on cover pages and section dividers. Content pages MUST NOT use gradients.
#### Chart Data Series Colors (use in order)
| Series | Color Name | Hex |
|--------|------------|-----|
| 1 | Cobalt Blue | #1B5AB5 |
| 2 | Cyan Blue | #2E8BC0 |
| 3 | Amber Gold | #D4A843 |
| 4 | Coral Red | #E05252 |
| 5 | Emerald Green | #3AAF6C |
| 6 | Purple Gray | #7B6D9E |
#### Semantic Colors
| Purpose | Color | Hex |
|---------|-------|-----|
| Positive Data | Green | #3AAF6C |
| Negative Data | Red | #E05252 |
#### β οΈ Accent Color Limit (STRICTLY ENFORCED β MAX 2 PER PAGE)
RULE: Maximum 2 accent colors per page. This is NON-NEGOTIABLE.
| Type | Colors | Can Use Freely | |------|--------|----------------| | Base Colors | Navy #0B1F3A, White #FFFFFF, Grays (#2D2D2D, #8C8C8C, #E0E0E0) | β Yes | | Primary Accent | Cobalt Blue #1B5AB5 | β Always allowed | | Secondary Accent | #2E8BC0, #D4A843, #E05252, #3AAF6C, #7B6D9E | β οΈ Pick ONLY ONE |
Enforcement: 1. Before writing HTML: Decide which 2 accent colors you will use 2. During HTML writing: Only use those 2 colors for accents 3. During verification: Count accent colors β if >2, FIX by replacing extras with #1B5AB5 or #E0E0E0
ONLY EXCEPTION: Multi-series charts with 3+ distinct data categories may use additional colors within that single chart.
#### Alternative Color Schemes
Use ONLY when the McKinsey White Theme is not appropriate:
| # | Name | Colors | Style | Use Cases |
|---|------|--------|-------|-----------|
| 2 | Modern Health | #006d77 #83c5be #edf6f9 #ffddd2 #e29578 | Fresh, healing | Healthcare, wellness |
| 3 | Business Authority | #2b2d42 #8d99ae #edf2f4 #ef233c #d90429 | Serious, classic | Annual reports, government |
| 4 | Nature Outdoor | #606c38 #283618 #fefae0 #dda15e #bc6c25 | Earthy, grounded | Environmental, agriculture |
| 5 | Dynamic Tech | #8ecae6 #219ebc #023047 #ffb703 #fb8500 | High energy | Startup pitches |
| 6 | Pure Tech Blue | #03045e #0077b6 #00b4d8 #90e0ef #caf0f8 | Futuristic | Cloud/AI, clean energy |
| 7 | Platinum White Gold | #0a0a0a #0070F3 #D4AF37 #f5f5f5 #ffffff | Premium | Fintech, luxury brands |
Typography
#### Font Family
| Language | Font | Notes | |----------|------|-------| | Chinese | Microsoft YaHei | Use for all titles and body text | | English | Arial / Arial Black | Arial Black for titles, Arial for body |
CSS font-family declaration: "Microsoft YaHei", Arial, sans-serif
#### Typography Hierarchy
| Element | Font | Size | Color | Notes |
|---------|------|------|-------|-------|
| Page Title (Header Bar) | Arial Black | 24px | #FFFFFF | White text on dark navy header |
| Insight/Subtitle | Arial Bold | 16px | #1B5AB5 | Blue text, one-line key insight |
| Chart Title | Arial Bold | 12px | #2D2D2D | Above each chart |
| Body/Data Labels | Arial | 10β12px | #2D2D2D | Chart labels and body |
| Chart Legend | Arial | 9px | #2D2D2D | Below or right of chart |
| Footnotes/Sources | Arial | 8px | #8C8C8C | Bottom of slide |
#### Font Size Limits (STRICT)
| Element | Max Size | Notes | |---------|----------|-------| | Page Title | 24px | In header bar | | Insight Text | 16px | Below header | | Stat Callout | 48px | Large numbers only | | Chart Title | 12px | Above charts | | Body Text | 10β12px | Compact for density | | Labels | 9β10px | Chart labels | | Footnotes | 8px | Source citations |
NO element should exceed 48px except in rare stat callout situations.
Forbidden Elements (DO NOT USE)
| β Forbidden | Reason | β
Use Instead |
|-------------|--------|----------------|
| Rounded corners (border-radius) | Looks casual/playful | Square corners (border-radius: 0) |
| Generated images | Decorative, unprofessional | SVG charts, data visualizations |
| Oversized fonts (>48px for body) | Looks like a billboard | Compact, data-dense typography |
| Drop shadows | Looks dated/gimmicky | Clean flat design |
| Gradients on content elements | Distracting | Solid colors |
| Animations/transitions | Unprofessional for consulting | Static content |
| Decorative icons | Cluttered | Minimal functional icons only |
| Bright/saturated colors | Looks unprofessional | Muted, business colors |
Required Style Attributes
/* ALL elements must have square corners */
border-radius: 0;/* Bars and charts - NO rounded corners */
rect { rx: 0; ry: 0; }
/* Progress bars - square ends */
.progress-bar { border-radius: 0; }
/* Cards and boxes - sharp edges */
.card, .box, .zone { border-radius: 0; }
Source Citation Format (MANDATORY)
Every slide containing data MUST include a footer citation:
Source: [Organization Name(s)] | [Data Period] | [Optional: Disclaimer]
Examples:
| Type | Example |
|------|---------|
| Financial | Source: Wind, CSRC, PBoC | Full Year 2025 |
| Research | Source: Goldman Sachs, Morgan Stanley, JP Morgan, IMF | Forecasts as of early 2026 | Not investment advice |
| Company | Source: Company Annual Report 2025 | Data as of December 2025 |
| Industry | Source: Statista, IDC, Gartner | Q4 2025 | Market estimates |
| Government | Source: National Bureau of Statistics | 2025 Annual Data |
Image Generation Rules (STRICT)
Maximum 3 images per entire presentation, only for:
FORBIDDEN:
All other visuals must be SVG charts created in HTML/CSS.
Slide Types
Cover Page
Design: Elegant & Minimal β centered typography only.
#### ALLOWED Elements
#### FORBIDDEN Elements
#### Layout
βββββββββββββββββββββββββββββββββββββββββββ
β β
β β
β PRESENTATION TITLE β
β βββββββββββββββββ β
β Subtitle Here β
β β
β Presenter | Date | Company β
β β
βββββββββββββββββββββββββββββββββββββββββββ
#### Font Size Hierarchy (Cover)
| Element | Recommended Size | Ratio to Base | |---------|-----------------|---------------| | Main Title | 72β120px | 3xβ5x | | Subtitle | 28β40px | 1.5xβ2x | | Supporting Text | 18β24px | 1x (base) | | Meta Info (date, name) | 14β18px | 0.7xβ1x |
#### Cover HTML Example
Presentation Title
Subtitle or Tagline
#### Cover Verification Checklist
Content Page
Every content slide MUST follow this vertical structure:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β HEADER BAR (Deep Navy #0B1F3A, 0.6" / 32px height) β
β [Page Title - White, left-aligned] [Page# - right] β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β INSIGHT ZONE (0.1" below header) β
β One-line blue bold text summarizing the key finding β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β CONTENT AREA (4+ zones) β
β Charts, data, bullet points, comparisons β
β Left/Right margins: 0.5" (26px) β
β Inter-chart spacing: 0.2" (10px) β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β FOOTER ZONE (0.4" / 21px height) β
β [Data source + Date + Disclaimer - Gray #8C8C8C, 8px] β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
#### 1. Header Bar
#0B1F3A#FFFFFF, left-aligned with 0.5" padding
Page Title
3
#### 2. Insight Zone
#1B5AB5
Key Insight: Market grew 25% YoY driven by digital transformation initiatives
#### 3. Content Area
#### 4. Footer Zone (MANDATORY SOURCE CITATION)
#8C8C8C
Source: Goldman Sachs, Morgan Stanley | Forecasts as of early 2026 | Not investment advice
#### β οΈ 4-Zone Minimum Layout (MANDATORY)
Every content page MUST have at least 4 distinct content zones.
##### 2x2 Grid
βββββββββββββββββββ¬ββββββββββββββββββ
β Zone 1 β Zone 2 β
β [Chart/Stats] β [Bullet List] β
βββββββββββββββββββΌββββββββββββββββββ€
β Zone 3 β Zone 4 β
β [Key Finding] β [Comparison] β
βββββββββββββββββββ΄ββββββββββββββββββ
##### 1+3 Layout
βββββββββββββββββββββββββββββββββββββββ
β Zone 1: Hero Chart β
βββββββββββββ¬ββββββββββββ¬ββββββββββββββ€
β Zone 2 β Zone 3 β Zone 4 β
β Detail 1 β Detail 2 β Detail 3 β
βββββββββββββ΄ββββββββββββ΄ββββββββββββββ
#### Content Variety (NOT JUST BULLETS)
| Format | When to Use | |--------|-------------| | Prose paragraphs | Context, analysis, explanations (2β4 sentences) | | Data tables | Comparisons, specifications, metrics | | Bullet lists | Action items, key takeaways, features | | Charts/Graphs | Trends, distributions, relationships | | Callout stats | Highlight 1β3 key numbers | | Process flows | Sequential steps, workflows |
Example of good zone variety on one page:
#### Content Subtypes
#### Content Page Verification Checklist
Table of Contents
#### Layout Options
1. Numbered Vertical List (best for 3β5 sections)
| TABLE OF CONTENTS |
| 01 Section Title One |
| 02 Section Title Two |
| 03 Section Title Three |
2. Two-Column Grid (best for 4β6 sections)
3. Sidebar Navigation (modern/corporate)
4. Card-Based Layout (3β4 sections, creative/modern)
#### Font Size Hierarchy (TOC)
| Element | Recommended Size | |---------|-----------------| | Page Title ("Table of Contents" / "Agenda") | 36β44px | | Section Number | 28β36px | | Section Title | 20β28px | | Section Description | 14β16px |
#### Content Elements 1. Page Title β Always required 2. Section Numbers β Consistent format (01, 02... or I, II...) 3. Section Titles β Clear and concise 4. Section Descriptions β Optional one-line summaries 5. Page Number Badge β MANDATORY (see Appendix G)
Section Divider
Design: Elegant & Minimal β same style as cover pages.
#### ALLOWED Elements
#### FORBIDDEN Elements
#### Layout
βββββββββββββββββββββββββββββββββββββββββββ
β β
β 02 β
β SECTION TITLE β
β Optional intro line β
β β
βββββββββββββββββββββββββββββββββββββββββββ
#### Font Size Hierarchy (Section Divider)
| Element | Recommended Size | Notes | |---------|-----------------|-------| | Section Number | 72β120px | Bold, accent color or semi-transparent | | Section Title | 36β48px | Bold, clear, primary text color | | Intro Text | 16β20px | Light weight, muted color, optional |
Page Number Badge is MANDATORY (see Appendix G).
Summary / Closing Page
#### Layout Options
1. Key Takeaways β 3β5 key points with icons or numbered markers
2. CTA / Next Steps β Clear call-to-action prominently displayed
3. Thank You / Contact β Closing message with contact info
4. Split Recap β Left: key takeaways; Right: CTA/contact
#### Font Size Hierarchy (Summary)
| Element | Recommended Size | |---------|-----------------| | Closing Title ("Thank You" / "Summary") | 48β72px | | Takeaway / Action Item | 18β24px | | Supporting Text | 14β16px | | Contact Info | 14β16px |
Page Number Badge is MANDATORY (see Appendix G).
Chart & Data Visualization Rules (MANDATORY)
General Chart Rules
1. No outer borders on any chart
2. Light gray grid lines (#E0E0E0)
3. Y-axis starts from zero (unless specifically noted)
4. Data labels directly on charts to reduce legend lookup cost
5. Legend position: Below chart or right side, 9px font
6. Square corners on ALL bars β NO rx/ry attributes
Bar/Column Chart
Line Chart
Progress Bar (NO ROUNDED CORNERS)
Market Share
75%
Pie Charts β Image Generation Tool is MANDATORY
Pie charts MUST be created using the image generation tool. SVG pie charts require arc commands (A) which are forbidden for PPTX conversion. ALL workarounds (layered circles, stroke-dasharray, clip-paths, conic-gradient, rotated segments) WILL FAIL during PPTX conversion.
HTML Implementation Specification
Appendix A β Responsive Scaling Snippet (REQUIRED)
Every slide HTML file MUST include this snippet:
Appendix B β CSS Rules (REQUIRED)
#### β οΈ Inline-Only CSS
All CSS styles MUST be inline (except the snippet in Appendix A).
blocks outside Appendix A
#### β οΈ Background on .slide-content Directly
Do NOT create a full-size background DIV inside .slide-content. Set background directly on .slide-content itself.
#### β οΈ No Bold for Body Text and Captions
Reserve bold (font-weight: 600+) for titles, headings, and key emphasis only. Body text, captions, legends, and footnotes must use normal weight (400β500).
Appendix C β Color Palette Rules (REQUIRED)
rgba(r,g,b,0.1))linear-gradient(), radial-gradient(), conic-gradient() on content slidesanimation, @keyframes, transition, hover effects, or SVG Appendix D β SVG Conversion Constraints (CRITICAL)
#### Supported SVG Elements (WHITELIST)
β rectangles (with rx/ry for rounded corners) β circles β ellipses β straight lines β connected line segments (stroke only, NO fill) β closed polyline (stroke only, NO fill) β ONLY with M/L/H/V/Z commands β repeating patterns#### Command Restrictions (CRITICAL)
ONLY these commands are supported:
M/m β moveToL/l β lineToH/h β horizontal lineV/v β vertical lineZ/z β close pathFORBIDDEN commands (will cause SVG to be SKIPPED in PPTX):
Q/q β quadratic BΓ©zier curveC/c β cubic BΓ©zier curveS/s β smooth cubic BΓ©zierT/t β smooth quadratic BΓ©zierA/a β elliptical arc#### Additional SVG Constraints
transform="rotate()" on shapes causes fallback failure in complex SVGs β SVG text becomes rasterized, not editable in PPTX must be rectangles β if a path has fill, it must form a closed rectangle with only M/L/H/V/Z#### Workaround: Approximate Curves with Line Segments
Appendix E β Advanced SVG Techniques
transform: scale() or , NOT CSS background/borderbackground, border, or
#### SVG Badge Example (Text INSIDE SVG)
LABEL
#### SVG Background Patterns
#### SVG Icons (Supported Patterns)
#### SVG Implementation Tips
vector-effect="non-scaling-stroke" to keep stroke widths stable under scalingoverflow="visible" when SVG extends beyond its boxaria-hidden="true" for decorative SVGscurrentColor for easy themingpointer-events: none for overlay SVGsAppendix F β HTML2PPTX Validation Rules (REQUIRED)
#### Layout and Dimensions
#### Backgrounds and Images
background-image on div elements![]()
element as background#### Text Elements
p, h1βh6, ul, ol, li must NOT have background, border, or shadowspan, b, i, u, strong, em) must NOT have margins
or
listsdiv β wrap in text tags#### SVG and Text
, ) as overlay on SVG β it will be lost in PPTX element inside the SVG must use text-anchor="middle" and dominant-baseline="central"#### Placeholders
placeholder must have non-zero width and heightAppendix G β Page Number Badge (REQUIRED)
All slides except Cover Page MUST include a page number badge. Shows current slide number in bottom-right corner.
position:absolute; right:32px; bottom:24px;, not overlaid )3 or 03), not "3/12"
03
No Excessive Whitespace (MANDATORY CHECK)
Every page must be information-dense. Avoid large empty areas.
| Check | Requirement | |-------|-------------| | Content Coverage | At least 70% of the content area must contain meaningful content | | Gap Size | No single empty gap larger than 1" (52px) in any direction | | Zone Balance | All 4+ zones should have substantial content, not filler |
During page verification, check for:
Slide Page Type Classification
Classify every slide as exactly one of these 5 page types:
1. Cover Page β Opening + tone setting 2. Table of Contents β Navigation + expectation setting (3β5 sections) 3. Section Divider β Clear transitions between major parts 4. Content Page β Data-rich slides (pick a subtype) 5. Summary / Closing Page β Wrap-up + action
Common Mistakes to Avoid
border-radius: 0Verification Workflow (MANDATORY for Every Slide)
After generating each slide's HTML, verify using screenshots:
1. Layout Structure: Correct header/insight/content/footer zones 2. Text Overflow/Truncation: No text cut off, no "..." truncation 3. Whitespace: No large empty gaps, 70%+ fill rate, check right side and bottom 4. Accent Colors: Count β€2 (excluding base colors) 5. Content Variety: Not all bullet points 6. Square Corners: No border-radius anywhere 7. Source Citation: Footer citation present on data slides 8. Page Number Badge: Present on all non-cover slides
If ANY issue is found, FIX immediately before proceeding to the next slide.