claude-presentation-master 1.0.2 → 2.1.0

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,86 +60,133 @@ 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
+ });
104
+
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
+ });
78
117
 
79
- **Now Claude doesn't have to figure out presentations. The knowledge base already knows.**
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
120
-
121
- *Use for: Product launches, investor pitches, conference talks, TED-style presentations*
122
-
123
- **Business Mode** For informing and documenting
124
-
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
130
-
131
- *Use for: Board meetings, strategy reviews, consulting deliverables, quarterly reports*
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
+ ```
132
190
 
133
191
  ---
134
192
 
@@ -136,10 +194,14 @@ Traditional format that opens in Microsoft PowerPoint:
136
194
 
137
195
  ```bash
138
196
  npm install claude-presentation-master
197
+ ```
198
+
199
+ **Optional** (for visual regression testing):
200
+ ```bash
139
201
  npx playwright install chromium
140
202
  ```
141
203
 
142
- That's it. You're ready.
204
+ That's it. **No API keys. No subscriptions. Zero cost.**
143
205
 
144
206
  ---
145
207
 
@@ -148,58 +210,89 @@ That's it. You're ready.
148
210
  ### From the Command Line
149
211
 
150
212
  ```bash
151
- # Turn your markdown notes into a keynote-style HTML presentation
152
- cpm generate project-notes.md --mode keynote --format html
213
+ # TED-style keynote presentation
214
+ cpm generate keynote-talk.md --mode keynote --format html
153
215
 
154
- # Create a consulting-style PowerPoint deck
216
+ # Consulting strategy deck
155
217
  cpm generate strategy.md --mode business --format pptx
156
218
 
157
- # Generate both formats at once
219
+ # Investment banking pitchbook
220
+ cpm generate deal-memo.md --type investment_banking --format pptx
221
+
222
+ # Generate both formats
158
223
  cpm generate quarterly-review.md --mode business --format html,pptx
159
224
  ```
160
225
 
161
226
  ### From Your Code
162
227
 
163
228
  ```typescript
164
- import { generate } from 'claude-presentation-master';
229
+ import { PresentationEngine } from 'claude-presentation-master';
230
+
231
+ const engine = new PresentationEngine();
165
232
 
166
- const result = await generate({
233
+ const result = await engine.generate({
167
234
  content: `
168
- # Q4 Strategy Update
235
+ # Series A Pitch
169
236
 
170
- ## Where We Are
171
- Revenue up 23% YoY. Market share down 2 points.
237
+ ## The Problem
238
+ Enterprise teams waste 40% of time on manual data entry.
239
+ $50B market. Growing 23% annually.
172
240
 
173
- ## The Challenge
174
- Three new competitors launched in Q3.
175
- Customer acquisition costs up 40%.
241
+ ## Our Solution
242
+ AI-powered automation that learns from your workflow.
243
+ Currently serving 150 enterprise customers.
176
244
 
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
245
+ ## Traction
246
+ - $2.4M ARR (up from $800K last year)
247
+ - 94% customer retention
248
+ - NPS score of 72
181
249
 
182
- ## Expected Result
183
- Market share leadership within 18 months.
250
+ ## The Ask
251
+ Raising $15M to expand into Europe and build enterprise sales team.
184
252
  `,
185
253
  contentType: 'markdown',
186
- mode: 'business',
254
+ title: 'Series A Pitch',
255
+ mode: 'keynote',
187
256
  format: ['html', 'pptx'],
188
- title: 'Q4 Strategy Update'
257
+ author: 'Founder Name'
189
258
  });
190
259
 
191
- // result.outputs.html Complete HTML presentation
192
- // result.outputs.pptx — PowerPoint file buffer
193
- // result.score — Quality score (must be 95+ to pass)
260
+ // Guaranteed 95/100 quality or higher
261
+ console.log(`Score: ${result.score}/100`);
262
+ console.log(`Grade: ${result.metadata.grade}`);
263
+
264
+ // Save outputs
265
+ fs.writeFileSync('pitch.html', result.outputs.html);
266
+ fs.writeFileSync('pitch.pptx', result.outputs.pptx);
267
+ ```
268
+
269
+ ### Specifying Presentation Type
270
+
271
+ ```typescript
272
+ // Let the engine auto-detect (recommended)
273
+ const result = await engine.generate({
274
+ content: dealMemo,
275
+ mode: 'business',
276
+ format: ['pptx']
277
+ });
278
+ // Engine detects "investment_banking" from content keywords
279
+
280
+ // Or specify explicitly
281
+ const result = await engine.generate({
282
+ content: techSpec,
283
+ mode: 'keynote',
284
+ presentationType: 'technical_presentation',
285
+ format: ['html']
286
+ });
194
287
  ```
195
288
 
196
289
  ---
197
290
 
198
291
  ## The Knowledge Base
199
292
 
200
- This isn't a template library. It's a **complete expert system** for presentations.
293
+ This isn't a template library. It's a **complete expert system** 6,300+ lines of encoded expertise.
201
294
 
202
- ### What's Encoded
295
+ ### What's Inside
203
296
 
204
297
  **From McKinsey, BCG, Bain:**
205
298
  - Pyramid Principle — Lead with the answer
@@ -234,67 +327,126 @@ This isn't a template library. It's a **complete expert system** for presentatio
234
327
  - MECE Grouping — Mutually Exclusive, Collectively Exhaustive
235
328
  - Vertical Logic — Each level supports the one above
236
329
 
237
- ### Design System
330
+ **From Robert Cialdini (Influence):**
331
+ - Social Proof — Show who else succeeded
332
+ - Scarcity — Limited time, limited availability
333
+ - Authority — Credentials and expertise
334
+ - Reciprocity — Give value first
335
+
336
+ ---
337
+
338
+ ## Two Modes × Seven Types
339
+
340
+ ### Presentation Modes
341
+
342
+ **Keynote Mode** — For inspiring and persuading
343
+ - 6-15 words per slide (like Steve Jobs)
344
+ - 40%+ whitespace
345
+ - One idea per slide
346
+ - Emotional narrative structure
347
+ - Big visuals, minimal text
348
+
349
+ **Business Mode** — For informing and documenting
350
+ - 40-80 words per slide
351
+ - Action titles (full sentences that state conclusions)
352
+ - Data with callouts
353
+ - Structured with Pyramid Principle
354
+ - Charts, tables, metrics grids
355
+
356
+ ### Presentation Types (Auto-Detected)
357
+
358
+ | Keyword Triggers | Detected Type |
359
+ |-----------------|---------------|
360
+ | "TED", "keynote", "inspire" | `ted_keynote` |
361
+ | "sales", "demo", "prospect" | `sales_pitch` |
362
+ | "strategy", "recommendation", "McKinsey" | `consulting_deck` |
363
+ | "M&A", "valuation", "DCF", "pitchbook" | `investment_banking` |
364
+ | "Series A", "raise", "investor" | `investor_pitch` |
365
+ | "API", "architecture", "system design" | `technical_presentation` |
366
+ | "all hands", "company update", "quarterly" | `all_hands` |
367
+
368
+ ---
369
+
370
+ ## Output Formats
371
+
372
+ ### HTML Presentations (Reveal.js)
373
+
374
+ Modern, web-native slides:
375
+ - Share via URL — just send a link
376
+ - Works on any device — desktop, tablet, phone
377
+ - Keyboard shortcuts: `S` for speaker notes, `F` for fullscreen
378
+ - Embedded CSS with presentation-type-specific theming
379
+ - Glass morphism effects, smooth transitions
238
380
 
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
381
+ ### PowerPoint (PPTX)
244
382
 
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
383
+ Traditional format:
384
+ - Opens in Microsoft PowerPoint
385
+ - Fully editable
386
+ - Send to clients who expect PPTX
387
+ - Print to PDF for handouts
388
+ - Includes IB specialty charts (football field, waterfall, etc.)
249
389
 
250
390
  ---
251
391
 
252
- ## Quality Validation
392
+ ## Quality Scores
393
+
394
+ Every presentation gets a quality score:
253
395
 
254
- Every presentation passes through real visual QA using Playwright:
396
+ | Score | Grade | Status |
397
+ |-------|-------|--------|
398
+ | 97-100 | A+ | Exceptional |
399
+ | 93-96 | A | Excellent |
400
+ | 90-92 | A- | Very Good |
401
+ | 85-89 | B+ | Good |
402
+ | 80-84 | B | Acceptable |
403
+ | 75-79 | B- | Needs Work |
404
+ | < 75 | C or below | Blocked (auto-remediation applied) |
255
405
 
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 |
406
+ **Default threshold: 95/100**
264
407
 
265
- **Presentations must score 95/100 or higher.** If they don't, you get a specific list of what to fix.
408
+ 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
409
 
267
410
  ---
268
411
 
269
- ## The Difference
412
+ ## Zero Cost Guarantee
413
+
414
+ | Component | Cost | Notes |
415
+ |-----------|------|-------|
416
+ | NPM Package | FREE | MIT License |
417
+ | Dependencies | FREE | pptxgenjs, reveal.js, marked, etc. |
418
+ | Fonts | FREE | Google Fonts CDN |
419
+ | QA Validation | FREE | Built-in validators |
420
+ | Visual Testing | FREE | Playwright (optional) |
421
+ | API Keys | NONE | Runs 100% locally |
270
422
 
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 |
423
+ **No subscriptions. No usage limits. No API costs.**
279
424
 
280
425
  ---
281
426
 
282
- ## Use Cases
427
+ ## FAQ
428
+
429
+ **Does this require an API key?**
430
+ No. Everything runs locally on your machine.
431
+
432
+ **What's the difference between mode and type?**
433
+ - **Mode** (`keynote` or `business`) controls word counts and visual density
434
+ - **Type** (e.g., `investment_banking`) selects the expert methodology and theming
283
435
 
284
- **You're building a product strategy in Claude**
285
- Generate an investor pitch deck in keynote mode
436
+ **Can I customize the output?**
437
+ Yes. HTML is just HTML. PPTX opens in PowerPoint. Edit freely.
286
438
 
287
- **You've analyzed Q4 performance**
288
- Create a board presentation in business mode
439
+ **What if I don't like the auto-detected type?**
440
+ Specify it explicitly: `presentationType: 'consulting_deck'`
289
441
 
290
- **You're planning a product launch**
291
- Build a TED-style keynote for the all-hands
442
+ **Does it work with Claude Code?**
443
+ Yes that's exactly what it's designed for.
292
444
 
293
- **You've done competitive research**
294
- Turn it into a consulting-style strategy deck
445
+ **What about images?**
446
+ The engine generates placeholder boxes. Replace with your actual images.
295
447
 
296
- **You have meeting notes that need to become a presentation**
297
- One command, done
448
+ **Can I lower the quality threshold?**
449
+ Yes, but not recommended: `qaThreshold: 80`
298
450
 
299
451
  ---
300
452
 
@@ -302,37 +454,61 @@ Every presentation passes through real visual QA using Playwright:
302
454
 
303
455
  | Theme | Look | Best For |
304
456
  |-------|------|----------|
305
- | `default` | Clean, professional | General use |
306
- | `consulting-classic` | Cream, navy | McKinsey/BCG style |
307
- | `modern-tech` | Light, teal accents | Startups, tech |
457
+ | `default` | Dark executive | General use |
458
+ | `consulting-classic` | Cream + navy | McKinsey/BCG style |
459
+ | `modern-tech` | Light + teal | Startups |
308
460
  | `minimal` | Maximum whitespace | Design-focused |
309
461
  | `dark-executive` | Dark mode | Screen presentations |
462
+ | `investment-banking` | Navy + gold | Finance |
310
463
 
311
464
  ---
312
465
 
313
466
  ## Slide Types
314
467
 
315
468
  **Keynote Mode:**
316
- Big Idea • Single Statement • Full Image • Big Number • Quote
469
+ Title • Big Idea • Single Statement • Full Image • Big Number • Quote • CTA • Thank You
317
470
 
318
471
  **Business Mode:**
319
- Agenda • Bullet Points • Two Column • Three Column • Metrics Grid • Timeline • Process Flow • Comparison • Case Study • Pricing Table
472
+ Title • Agenda • Bullet Points • Two Column • Three Column • Metrics Grid • Timeline • Process Flow • Comparison • Case Study • Section Divider • Thank You
320
473
 
321
- ---
474
+ **Investment Banking (PPTX):**
475
+ Football Field Chart • Waterfall Chart • Sources & Uses Table • Comparable Companies Table
322
476
 
323
- ## FAQ
477
+ ---
324
478
 
325
- **Does this require an API key?**
326
- No. The knowledge base is bundled with the package. Works 100% offline.
479
+ ## API Reference
327
480
 
328
- **Can I edit the output?**
329
- Yes. HTML is just HTML. PPTX opens in PowerPoint for further editing.
481
+ ### PresentationEngine
330
482
 
331
- **What if I don't like the result?**
332
- Adjust your input content or lower the quality threshold (not recommended).
483
+ ```typescript
484
+ const engine = new PresentationEngine();
485
+
486
+ const result = await engine.generate({
487
+ // Required
488
+ content: string, // Your source content
489
+ title: string, // Presentation title
490
+ mode: 'keynote' | 'business',
491
+ format: ('html' | 'pptx')[],
492
+
493
+ // Optional
494
+ contentType?: 'markdown' | 'text' | 'html',
495
+ presentationType?: PresentationType, // Auto-detected if omitted
496
+ author?: string,
497
+ theme?: string,
498
+ qaThreshold?: number, // Default: 95
499
+ });
333
500
 
334
- **Does it work with Claude Code?**
335
- Yes that's exactly what it's designed for. Generate presentations from your project context.
501
+ // Result
502
+ interface PresentationResult {
503
+ outputs: {
504
+ html?: string,
505
+ pptx?: Buffer
506
+ },
507
+ score: number, // Quality score 0-100
508
+ qaResults: QAResults, // Detailed validation results
509
+ metadata: PresentationMetadata
510
+ }
511
+ ```
336
512
 
337
513
  ---
338
514
 
@@ -346,6 +522,8 @@ MIT — free to use, modify, and distribute.
346
522
 
347
523
  **Stuart Kerr** — [Isovision.ai](https://isovision.ai)
348
524
 
525
+ Questions? [stuart@isovision.ai](mailto:stuart@isovision.ai)
526
+
349
527
  ---
350
528
 
351
529
  <div align="center">
@@ -356,7 +534,10 @@ MIT — free to use, modify, and distribute.
356
534
  npm install claude-presentation-master
357
535
  ```
358
536
 
359
- Built on methodologies from McKinsey BCG BainNancy Duarte • Garr Reynolds
360
- Carmine Gallo • Chris Anderson • Barbara Minto • Edward Tufte
537
+ **100% FreeZero API KeysRuns Locally**
538
+
539
+ Built on methodologies from:
540
+ McKinsey • BCG • Bain • Nancy Duarte • Garr Reynolds • Carmine Gallo
541
+ Chris Anderson • Barbara Minto • Edward Tufte • Robert Cialdini
361
542
 
362
543
  </div>