claude-presentation-master 1.0.2 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,22 +5,33 @@
5
5
  ![NPM Version](https://img.shields.io/npm/v/claude-presentation-master)
6
6
  ![Downloads](https://img.shields.io/npm/dm/claude-presentation-master)
7
7
  ![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)
8
+ ![Zero Cost](https://img.shields.io/badge/cost-FREE-success)
8
9
 
9
- ### Turn your Claude projects into polished presentations instantly.
10
+ ### World-Class Presentations from Any Content Zero Cost, Zero API Keys
10
11
 
11
- You've been working in Claude on a business project. Strategy docs, research, analysis, plans.
12
- Now someone asks for a presentation. **This is usually where things get painful.**
13
-
14
- Not anymore.
12
+ **7 Presentation Types Expert Methodologies QA Validation Auto-Remediation**
15
13
 
16
14
  [Install Now](#installation) •
17
15
  [See It Work](#quick-start) •
18
- [What's Inside](#the-knowledge-base)
16
+ [Presentation Types](#7-presentation-types)
17
+ [Expert Knowledge](#the-knowledge-base)
19
18
 
20
19
  </div>
21
20
 
22
21
  ---
23
22
 
23
+ ## What's New in v2.1.0
24
+
25
+ - **7 Specialized Presentation Types** — TED Keynote, Sales Pitch, Consulting Deck, Investment Banking, Investor Pitch, Technical Presentation, All Hands
26
+ - **Strategy Pattern Architecture** — Each type uses its own expert methodology (Duarte for keynotes, Minto for consulting, etc.)
27
+ - **Investment Banking Charts** — Football field, waterfall, sources & uses tables, comparable companies analysis
28
+ - **Professional Typography** — Google Fonts for each presentation type (Libre Baskerville for IB, Space Grotesk for technical, etc.)
29
+ - **Hallucination Detection** — Zero-tolerance fact checking ensures all content is sourced from your input
30
+ - **Auto-Remediation** — Automatically fixes quality issues until 95/100 threshold is met
31
+ - **100% Zero Cost** — No API keys, no subscriptions, runs entirely on your machine
32
+
33
+ ---
34
+
24
35
  ## The Scenario
25
36
 
26
37
  You're deep in a Claude Code session. You've built something real:
@@ -49,157 +60,305 @@ Ready to present. Ready to send to clients.
49
60
 
50
61
  ---
51
62
 
52
- ## Why This Works
63
+ ## 7 Presentation Types
53
64
 
54
- Claude is brilliant at research, analysis, and strategy. But presentations? Not so much.
65
+ The engine automatically detects your content and applies the right expert methodology:
55
66
 
56
- That's because Claude wasn't trained on what actually makes presentations work:
57
- - McKinsey consultants don't use bullet points — they use action titles
58
- - TED speakers don't dump information they follow the Sparkline narrative arc
59
- - Steve Jobs averaged 10 words per slide not 100
60
- - Investment bankers structure decks with the Pyramid Principle answer first, support second
67
+ | Type | Expert Methodology | Visual Style | Best For |
68
+ |------|-------------------|--------------|----------|
69
+ | **TED Keynote** | Nancy Duarte (Sparkline) | Bold, minimal, black backgrounds | Conference talks, inspiration |
70
+ | **Sales Pitch** | Robert Cialdini (Persuasion) | Trust blue, success green | Closing deals, demos |
71
+ | **Consulting Deck** | Barbara Minto (Pyramid Principle) | McKinsey blue, action titles | Strategy, recommendations |
72
+ | **Investment Banking** | Analyst Academy | Navy + gold, serif fonts | M&A, valuations, pitchbooks |
73
+ | **Investor Pitch** | Sequoia/YC frameworks | Clean, startup purple | Fundraising, board decks |
74
+ | **Technical Presentation** | Edward Tufte (Data-ink) | Dark mode, Space Grotesk | Architecture, engineering |
75
+ | **All Hands Meeting** | Internal comms best practices | Corporate blue, win green | Company updates, celebrations |
61
76
 
62
- **We spent months building a knowledge base that knows all of this.**
77
+ ### Investment Banking Specialty Charts
63
78
 
64
- We scoured the internet for everything ever written about making great presentations:
79
+ For IB presentations, the engine generates industry-standard visualizations:
65
80
 
66
- | Source | What We Extracted |
67
- |--------|-------------------|
68
- | **600+ consulting decks** | McKinsey, BCG, Bain slide structures and standards |
69
- | **Nancy Duarte** | Sparkline narrative, STAR moments, Glance Test |
70
- | **Garr Reynolds** | Presentation Zen, signal-to-noise ratio |
71
- | **Carmine Gallo** | TED talk patterns, Rule of Three, 18-minute rule |
72
- | **Barbara Minto** | Pyramid Principle, SCQA framework, MECE logic |
73
- | **Edward Tufte** | Data-ink ratio, chartjunk elimination |
74
- | **Cole Nussbaumer Knaflic** | Storytelling with Data principles |
75
- | **10M+ views of YouTube content** | Analyst Academy, PowerPoint School, and more |
81
+ ```typescript
82
+ // Football Field Valuation Chart
83
+ engine.addFootballFieldChart(slide, {
84
+ title: 'Valuation Summary',
85
+ methodologies: [
86
+ { name: 'DCF', low: 42, mid: 48, high: 55 },
87
+ { name: 'Comps', low: 38, mid: 45, high: 52 },
88
+ { name: 'Precedents', low: 44, mid: 50, high: 58 }
89
+ ],
90
+ currentPrice: 46
91
+ });
76
92
 
77
- All of it — **6,300+ lines of expert knowledge** — encoded into an agentic vector database.
93
+ // Waterfall Chart
94
+ engine.addWaterfallChart(slide, {
95
+ title: 'Enterprise Value Bridge',
96
+ startLabel: 'Equity Value',
97
+ startValue: 850000,
98
+ steps: [
99
+ { label: 'Plus: Debt', value: 250000 },
100
+ { label: 'Less: Cash', value: -150000 },
101
+ { label: 'EV', value: 950000, isTotal: true }
102
+ ]
103
+ });
78
104
 
79
- **Now Claude doesn't have to figure out presentations. The knowledge base already knows.**
105
+ // Sources & Uses Table
106
+ engine.addSourcesUsesTable(slide, {
107
+ title: 'Transaction Financing',
108
+ sources: [
109
+ { label: 'Senior Debt', amount: 500000 },
110
+ { label: 'Equity', amount: 300000 }
111
+ ],
112
+ uses: [
113
+ { label: 'Purchase Price', amount: 750000 },
114
+ { label: 'Fees & Expenses', amount: 50000 }
115
+ ]
116
+ });
117
+
118
+ // Comparable Companies Table
119
+ engine.addCompsTable(slide, {
120
+ title: 'Trading Comparables',
121
+ columns: ['EV/Revenue', 'EV/EBITDA', 'P/E'],
122
+ companies: [
123
+ { name: 'Company A', values: [3.2, 12.5, 18.3] },
124
+ { name: 'Company B', values: [2.8, 10.2, 15.7] },
125
+ { name: 'Target Co', values: [2.5, 9.8, 14.2], highlight: true }
126
+ ],
127
+ medianRow: true
128
+ });
129
+ ```
80
130
 
81
131
  ---
82
132
 
83
- ## What You Actually Get
133
+ ## Professional Typography
84
134
 
85
- ### Two Output Formats
135
+ Each presentation type loads appropriate Google Fonts (zero cost):
86
136
 
87
- **HTML Presentations (Reveal.js)**
137
+ | Type | Heading Font | Body Font | Personality |
138
+ |------|-------------|-----------|-------------|
139
+ | TED Keynote | DM Sans | DM Sans | Modern, bold |
140
+ | Sales Pitch | Poppins | Poppins | Friendly, approachable |
141
+ | Consulting | IBM Plex Sans | IBM Plex Sans | Clean, corporate |
142
+ | Investment Banking | Libre Baskerville | IBM Plex Sans | Classic, authoritative |
143
+ | Investor Pitch | DM Sans | Source Sans Pro | Startup, modern |
144
+ | Technical | Space Grotesk | Source Sans Pro | Precision, engineering |
145
+ | All Hands | Source Sans Pro | Source Sans Pro | Clear, professional |
88
146
 
89
- Modern, web-native slides that run in any browser:
147
+ ---
90
148
 
91
- - Share via URL — just send a link
92
- - Works on any device — desktop, tablet, phone
93
- - Animations and transitions built-in
94
- - Speaker notes with `S` key
95
- - Fullscreen with `F` key
96
- - Looks like a polished online version of PowerPoint
149
+ ## Quality Assurance System
97
150
 
98
- *Best for: Tech audiences, conferences, product demos, anything you want to share online*
151
+ ### Bulletproof QA Pipeline
99
152
 
100
- **PowerPoint (PPTX)**
153
+ Every presentation goes through a rigorous validation pipeline:
101
154
 
102
- Traditional format that opens in Microsoft PowerPoint:
155
+ ```
156
+ Content Analysis → Slide Generation → QA Validation → Auto-Remediation → Final Output
157
+
158
+ [Loops until 95/100 threshold met]
159
+ ```
103
160
 
104
- - Edit further if needed
105
- - Send to clients who expect PPTX
106
- - Print to PDF for handouts
107
- - Works offline
161
+ ### What Gets Validated
108
162
 
109
- *Best for: Board decks, client deliverables, corporate environments*
163
+ | Category | Checks |
164
+ |----------|--------|
165
+ | **Content** | Word count per slide, bullet count, one-idea-per-slide |
166
+ | **Visual** | Whitespace %, font consistency, color count |
167
+ | **Structure** | Title slide present, conclusion slide, logical flow |
168
+ | **Expert Rules** | Glance test (3-second rule), Rule of Three, Pyramid structure |
169
+ | **Accessibility** | WCAG contrast ratios, minimum font sizes |
170
+ | **Hallucination** | Every fact must be traceable to source content |
110
171
 
111
- ### Two Presentation Modes
172
+ ### Hallucination Detection
112
173
 
113
- **Keynote Mode** For inspiring and persuading
174
+ The engine includes a **zero-tolerance hallucination detector**:
114
175
 
115
- - 6-15 words per slide (like Steve Jobs)
116
- - 40%+ whitespace
117
- - One idea per slide
118
- - Emotional narrative structure
119
- - Big visuals, minimal text
176
+ ```typescript
177
+ // The engine checks every statistic, quote, and claim
178
+ const factCheck = await hallucinationDetector.checkForHallucinations(
179
+ slides,
180
+ originalContent,
181
+ contentAnalysis
182
+ );
183
+
184
+ // If unverified facts are found, they're automatically flagged and removed
185
+ if (!factCheck.passed) {
186
+ slides = hallucinationDetector.remediate(slides, factCheck);
187
+ console.log(`Removed ${factCheck.issues.length} unverified claims`);
188
+ }
189
+ ```
120
190
 
121
- *Use for: Product launches, investor pitches, conference talks, TED-style presentations*
191
+ ---
122
192
 
123
- **Business Mode** — For informing and documenting
193
+ ## Installation
124
194
 
125
- - 40-80 words per slide
126
- - Action titles (full sentences that state conclusions)
127
- - Data with callouts
128
- - Structured with Pyramid Principle
129
- - Charts, tables, metrics grids
195
+ ### Option 1: npx (Quick One-Off No Install Needed)
196
+
197
+ Run directly without installing anything. Perfect for trying it out or one-off presentations:
198
+
199
+ ```bash
200
+ # Generate a presentation instantly (downloads temporarily, runs, cleans up)
201
+ npx claude-presentation-master generate notes.md -m keynote -f html
130
202
 
131
- *Use for: Board meetings, strategy reviews, consulting deliverables, quarterly reports*
203
+ # Generate a consulting deck as PowerPoint
204
+ npx claude-presentation-master generate strategy.md --type consulting_deck -f pptx
205
+
206
+ # See all options
207
+ npx claude-presentation-master --help
208
+ ```
209
+
210
+ **When to use npx:**
211
+ - Quick one-off presentation
212
+ - Trying out the tool before installing
213
+ - CI/CD pipelines where you don't want permanent installs
214
+ - Sharing a command that "just works" for anyone
132
215
 
133
216
  ---
134
217
 
135
- ## Installation
218
+ ### Option 2: npm install (For Regular Use)
219
+
220
+ Install once, use anytime with the short `cpm` command:
221
+
222
+ ```bash
223
+ # Install globally (recommended for regular use)
224
+ npm install -g claude-presentation-master
225
+
226
+ # Now use the short command anywhere
227
+ cpm generate notes.md -m keynote -f html
228
+ cpm generate strategy.md --type investment_banking -f pptx
229
+ cpm info
230
+ ```
231
+
232
+ **Or install as a project dependency:**
136
233
 
137
234
  ```bash
235
+ # In your project directory
138
236
  npm install claude-presentation-master
237
+
238
+ # Use programmatically in your code (see below)
239
+ ```
240
+
241
+ **When to use npm install:**
242
+ - You create presentations regularly
243
+ - You want the short `cpm` command
244
+ - You're building it into a Claude Code workflow
245
+ - You want to use the TypeScript API in your code
246
+
247
+ ---
248
+
249
+ ### Optional: Visual Testing
250
+
251
+ For Playwright-based visual regression testing (not required for generation):
252
+
253
+ ```bash
139
254
  npx playwright install chromium
140
255
  ```
141
256
 
142
- That's it. You're ready.
257
+ **No API keys. No subscriptions. Zero cost.**
143
258
 
144
259
  ---
145
260
 
146
261
  ## Quick Start
147
262
 
148
- ### From the Command Line
263
+ ### From the Command Line (npx)
264
+
265
+ ```bash
266
+ # One-liner: Generate keynote from markdown (no install needed)
267
+ npx claude-presentation-master generate notes.md -m keynote -f html
268
+
269
+ # Generate consulting deck
270
+ npx claude-presentation-master generate strategy.md --type consulting_deck -f pptx
271
+
272
+ # Generate IB pitchbook with both formats
273
+ npx claude-presentation-master generate deal.md --type investment_banking -f html,pptx -o ./output
274
+ ```
275
+
276
+ ### From the Command Line (after npm install -g)
149
277
 
150
278
  ```bash
151
- # Turn your markdown notes into a keynote-style HTML presentation
152
- cpm generate project-notes.md --mode keynote --format html
279
+ # TED-style keynote presentation
280
+ cpm generate keynote-talk.md --mode keynote --format html
153
281
 
154
- # Create a consulting-style PowerPoint deck
282
+ # Consulting strategy deck
155
283
  cpm generate strategy.md --mode business --format pptx
156
284
 
157
- # Generate both formats at once
285
+ # Investment banking pitchbook
286
+ cpm generate deal-memo.md --type investment_banking --format pptx
287
+
288
+ # Generate both formats
158
289
  cpm generate quarterly-review.md --mode business --format html,pptx
159
290
  ```
160
291
 
161
292
  ### From Your Code
162
293
 
163
294
  ```typescript
164
- import { generate } from 'claude-presentation-master';
295
+ import { PresentationEngine } from 'claude-presentation-master';
165
296
 
166
- const result = await generate({
297
+ const engine = new PresentationEngine();
298
+
299
+ const result = await engine.generate({
167
300
  content: `
168
- # Q4 Strategy Update
301
+ # Series A Pitch
169
302
 
170
- ## Where We Are
171
- Revenue up 23% YoY. Market share down 2 points.
303
+ ## The Problem
304
+ Enterprise teams waste 40% of time on manual data entry.
305
+ $50B market. Growing 23% annually.
172
306
 
173
- ## The Challenge
174
- Three new competitors launched in Q3.
175
- Customer acquisition costs up 40%.
307
+ ## Our Solution
308
+ AI-powered automation that learns from your workflow.
309
+ Currently serving 150 enterprise customers.
176
310
 
177
- ## What We're Doing
178
- 1. Launch enterprise tier in Q2
179
- 2. Expand into adjacent markets
180
- 3. Shift to product-led growth
311
+ ## Traction
312
+ - $2.4M ARR (up from $800K last year)
313
+ - 94% customer retention
314
+ - NPS score of 72
181
315
 
182
- ## Expected Result
183
- Market share leadership within 18 months.
316
+ ## The Ask
317
+ Raising $15M to expand into Europe and build enterprise sales team.
184
318
  `,
185
319
  contentType: 'markdown',
186
- mode: 'business',
320
+ title: 'Series A Pitch',
321
+ mode: 'keynote',
187
322
  format: ['html', 'pptx'],
188
- title: 'Q4 Strategy Update'
323
+ author: 'Founder Name'
189
324
  });
190
325
 
191
- // result.outputs.html Complete HTML presentation
192
- // result.outputs.pptx — PowerPoint file buffer
193
- // result.score — Quality score (must be 95+ to pass)
326
+ // Guaranteed 95/100 quality or higher
327
+ console.log(`Score: ${result.score}/100`);
328
+ console.log(`Grade: ${result.metadata.grade}`);
329
+
330
+ // Save outputs
331
+ fs.writeFileSync('pitch.html', result.outputs.html);
332
+ fs.writeFileSync('pitch.pptx', result.outputs.pptx);
333
+ ```
334
+
335
+ ### Specifying Presentation Type
336
+
337
+ ```typescript
338
+ // Let the engine auto-detect (recommended)
339
+ const result = await engine.generate({
340
+ content: dealMemo,
341
+ mode: 'business',
342
+ format: ['pptx']
343
+ });
344
+ // Engine detects "investment_banking" from content keywords
345
+
346
+ // Or specify explicitly
347
+ const result = await engine.generate({
348
+ content: techSpec,
349
+ mode: 'keynote',
350
+ presentationType: 'technical_presentation',
351
+ format: ['html']
352
+ });
194
353
  ```
195
354
 
196
355
  ---
197
356
 
198
357
  ## The Knowledge Base
199
358
 
200
- This isn't a template library. It's a **complete expert system** for presentations.
359
+ This isn't a template library. It's a **complete expert system** 6,300+ lines of encoded expertise.
201
360
 
202
- ### What's Encoded
361
+ ### What's Inside
203
362
 
204
363
  **From McKinsey, BCG, Bain:**
205
364
  - Pyramid Principle — Lead with the answer
@@ -234,67 +393,126 @@ This isn't a template library. It's a **complete expert system** for presentatio
234
393
  - MECE Grouping — Mutually Exclusive, Collectively Exhaustive
235
394
  - Vertical Logic — Each level supports the one above
236
395
 
237
- ### Design System
396
+ **From Robert Cialdini (Influence):**
397
+ - Social Proof — Show who else succeeded
398
+ - Scarcity — Limited time, limited availability
399
+ - Authority — Credentials and expertise
400
+ - Reciprocity — Give value first
401
+
402
+ ---
403
+
404
+ ## Two Modes × Seven Types
405
+
406
+ ### Presentation Modes
407
+
408
+ **Keynote Mode** — For inspiring and persuading
409
+ - 6-15 words per slide (like Steve Jobs)
410
+ - 40%+ whitespace
411
+ - One idea per slide
412
+ - Emotional narrative structure
413
+ - Big visuals, minimal text
414
+
415
+ **Business Mode** — For informing and documenting
416
+ - 40-80 words per slide
417
+ - Action titles (full sentences that state conclusions)
418
+ - Data with callouts
419
+ - Structured with Pyramid Principle
420
+ - Charts, tables, metrics grids
421
+
422
+ ### Presentation Types (Auto-Detected)
423
+
424
+ | Keyword Triggers | Detected Type |
425
+ |-----------------|---------------|
426
+ | "TED", "keynote", "inspire" | `ted_keynote` |
427
+ | "sales", "demo", "prospect" | `sales_pitch` |
428
+ | "strategy", "recommendation", "McKinsey" | `consulting_deck` |
429
+ | "M&A", "valuation", "DCF", "pitchbook" | `investment_banking` |
430
+ | "Series A", "raise", "investor" | `investor_pitch` |
431
+ | "API", "architecture", "system design" | `technical_presentation` |
432
+ | "all hands", "company update", "quarterly" | `all_hands` |
238
433
 
239
- Complete color palettes tested for accessibility:
240
- - **Consulting Classic** — Cream background, navy text (McKinsey/BCG look)
241
- - **Executive Professional** — Warm gray, sophisticated
242
- - **Modern Tech** — Light with teal accents
243
- - **Dark Executive** — Dark mode for screens
434
+ ---
435
+
436
+ ## Output Formats
244
437
 
245
- Typography rules:
246
- - Keynote: 54-72px titles, max 2 fonts
247
- - Business: 18-22px action titles, 11-14px body
248
- - Accessibility: 18pt minimum, 30pt+ for projection
438
+ ### HTML Presentations (Reveal.js)
439
+
440
+ Modern, web-native slides:
441
+ - Share via URL just send a link
442
+ - Works on any device — desktop, tablet, phone
443
+ - Keyboard shortcuts: `S` for speaker notes, `F` for fullscreen
444
+ - Embedded CSS with presentation-type-specific theming
445
+ - Glass morphism effects, smooth transitions
446
+
447
+ ### PowerPoint (PPTX)
448
+
449
+ Traditional format:
450
+ - Opens in Microsoft PowerPoint
451
+ - Fully editable
452
+ - Send to clients who expect PPTX
453
+ - Print to PDF for handouts
454
+ - Includes IB specialty charts (football field, waterfall, etc.)
249
455
 
250
456
  ---
251
457
 
252
- ## Quality Validation
458
+ ## Quality Scores
459
+
460
+ Every presentation gets a quality score:
253
461
 
254
- Every presentation passes through real visual QA using Playwright:
462
+ | Score | Grade | Status |
463
+ |-------|-------|--------|
464
+ | 97-100 | A+ | Exceptional |
465
+ | 93-96 | A | Excellent |
466
+ | 90-92 | A- | Very Good |
467
+ | 85-89 | B+ | Good |
468
+ | 80-84 | B | Acceptable |
469
+ | 75-79 | B- | Needs Work |
470
+ | < 75 | C or below | Blocked (auto-remediation applied) |
255
471
 
256
- | Check | What's Measured |
257
- |-------|-----------------|
258
- | **Whitespace** | Percentage of empty space (40%+ for keynote, 25%+ for business) |
259
- | **Balance** | Center of mass — is the layout visually balanced? |
260
- | **Contrast** | WCAG 4.5:1 minimum for text readability |
261
- | **Word Count** | Enforced limits per slide type |
262
- | **Font Count** | Maximum 2 font families |
263
- | **Color Count** | Maximum 5 colors |
472
+ **Default threshold: 95/100**
264
473
 
265
- **Presentations must score 95/100 or higher.** If they don't, you get a specific list of what to fix.
474
+ The engine will automatically remediate issues (up to 5 iterations) until the threshold is met. If it can't reach 95, it delivers the best result with a detailed report of remaining issues.
266
475
 
267
476
  ---
268
477
 
269
- ## The Difference
478
+ ## Zero Cost Guarantee
479
+
480
+ | Component | Cost | Notes |
481
+ |-----------|------|-------|
482
+ | NPM Package | FREE | MIT License |
483
+ | Dependencies | FREE | pptxgenjs, reveal.js, marked, etc. |
484
+ | Fonts | FREE | Google Fonts CDN |
485
+ | QA Validation | FREE | Built-in validators |
486
+ | Visual Testing | FREE | Playwright (optional) |
487
+ | API Keys | NONE | Runs 100% locally |
270
488
 
271
- | Without This Library | With This Library |
272
- |---------------------|-------------------|
273
- | Ask Claude for slides, get bullet point soup | Structured presentation following expert frameworks |
274
- | Manually fix formatting for hours | Production-ready output in seconds |
275
- | Hope it looks professional | 95/100 quality bar enforced |
276
- | Generic templates | 6,300+ lines of encoded expertise |
277
- | Text only | HTML or PowerPoint output |
278
- | No validation | Real visual QA with screenshots |
489
+ **No subscriptions. No usage limits. No API costs.**
279
490
 
280
491
  ---
281
492
 
282
- ## Use Cases
493
+ ## FAQ
494
+
495
+ **Does this require an API key?**
496
+ No. Everything runs locally on your machine.
497
+
498
+ **What's the difference between mode and type?**
499
+ - **Mode** (`keynote` or `business`) controls word counts and visual density
500
+ - **Type** (e.g., `investment_banking`) selects the expert methodology and theming
283
501
 
284
- **You're building a product strategy in Claude**
285
- Generate an investor pitch deck in keynote mode
502
+ **Can I customize the output?**
503
+ Yes. HTML is just HTML. PPTX opens in PowerPoint. Edit freely.
286
504
 
287
- **You've analyzed Q4 performance**
288
- Create a board presentation in business mode
505
+ **What if I don't like the auto-detected type?**
506
+ Specify it explicitly: `presentationType: 'consulting_deck'`
289
507
 
290
- **You're planning a product launch**
291
- Build a TED-style keynote for the all-hands
508
+ **Does it work with Claude Code?**
509
+ Yes that's exactly what it's designed for.
292
510
 
293
- **You've done competitive research**
294
- Turn it into a consulting-style strategy deck
511
+ **What about images?**
512
+ The engine generates placeholder boxes. Replace with your actual images.
295
513
 
296
- **You have meeting notes that need to become a presentation**
297
- One command, done
514
+ **Can I lower the quality threshold?**
515
+ Yes, but not recommended: `qaThreshold: 80`
298
516
 
299
517
  ---
300
518
 
@@ -302,37 +520,61 @@ Every presentation passes through real visual QA using Playwright:
302
520
 
303
521
  | Theme | Look | Best For |
304
522
  |-------|------|----------|
305
- | `default` | Clean, professional | General use |
306
- | `consulting-classic` | Cream, navy | McKinsey/BCG style |
307
- | `modern-tech` | Light, teal accents | Startups, tech |
523
+ | `default` | Dark executive | General use |
524
+ | `consulting-classic` | Cream + navy | McKinsey/BCG style |
525
+ | `modern-tech` | Light + teal | Startups |
308
526
  | `minimal` | Maximum whitespace | Design-focused |
309
527
  | `dark-executive` | Dark mode | Screen presentations |
528
+ | `investment-banking` | Navy + gold | Finance |
310
529
 
311
530
  ---
312
531
 
313
532
  ## Slide Types
314
533
 
315
534
  **Keynote Mode:**
316
- Big Idea • Single Statement • Full Image • Big Number • Quote
535
+ Title • Big Idea • Single Statement • Full Image • Big Number • Quote • CTA • Thank You
317
536
 
318
537
  **Business Mode:**
319
- Agenda • Bullet Points • Two Column • Three Column • Metrics Grid • Timeline • Process Flow • Comparison • Case Study • Pricing Table
538
+ Title • Agenda • Bullet Points • Two Column • Three Column • Metrics Grid • Timeline • Process Flow • Comparison • Case Study • Section Divider • Thank You
539
+
540
+ **Investment Banking (PPTX):**
541
+ Football Field Chart • Waterfall Chart • Sources & Uses Table • Comparable Companies Table
320
542
 
321
543
  ---
322
544
 
323
- ## FAQ
545
+ ## API Reference
324
546
 
325
- **Does this require an API key?**
326
- No. The knowledge base is bundled with the package. Works 100% offline.
547
+ ### PresentationEngine
327
548
 
328
- **Can I edit the output?**
329
- Yes. HTML is just HTML. PPTX opens in PowerPoint for further editing.
330
-
331
- **What if I don't like the result?**
332
- Adjust your input content or lower the quality threshold (not recommended).
549
+ ```typescript
550
+ const engine = new PresentationEngine();
551
+
552
+ const result = await engine.generate({
553
+ // Required
554
+ content: string, // Your source content
555
+ title: string, // Presentation title
556
+ mode: 'keynote' | 'business',
557
+ format: ('html' | 'pptx')[],
558
+
559
+ // Optional
560
+ contentType?: 'markdown' | 'text' | 'html',
561
+ presentationType?: PresentationType, // Auto-detected if omitted
562
+ author?: string,
563
+ theme?: string,
564
+ qaThreshold?: number, // Default: 95
565
+ });
333
566
 
334
- **Does it work with Claude Code?**
335
- Yes that's exactly what it's designed for. Generate presentations from your project context.
567
+ // Result
568
+ interface PresentationResult {
569
+ outputs: {
570
+ html?: string,
571
+ pptx?: Buffer
572
+ },
573
+ score: number, // Quality score 0-100
574
+ qaResults: QAResults, // Detailed validation results
575
+ metadata: PresentationMetadata
576
+ }
577
+ ```
336
578
 
337
579
  ---
338
580
 
@@ -346,6 +588,8 @@ MIT — free to use, modify, and distribute.
346
588
 
347
589
  **Stuart Kerr** — [Isovision.ai](https://isovision.ai)
348
590
 
591
+ Questions? [stuart@isovision.ai](mailto:stuart@isovision.ai)
592
+
349
593
  ---
350
594
 
351
595
  <div align="center">
@@ -356,7 +600,10 @@ MIT — free to use, modify, and distribute.
356
600
  npm install claude-presentation-master
357
601
  ```
358
602
 
359
- Built on methodologies from McKinsey BCG BainNancy Duarte • Garr Reynolds
360
- Carmine Gallo • Chris Anderson • Barbara Minto • Edward Tufte
603
+ **100% FreeZero API KeysRuns Locally**
604
+
605
+ Built on methodologies from:
606
+ McKinsey • BCG • Bain • Nancy Duarte • Garr Reynolds • Carmine Gallo
607
+ Chris Anderson • Barbara Minto • Edward Tufte • Robert Cialdini
361
608
 
362
609
  </div>