← スキル一覧に戻る

keynote-slides
by dbmcco
⭐ 4🍴 0📅 2026年1月21日
SKILL.md
name: keynote-slides description: Build Keynote-style single-file HTML slide decks with brand-ready templates, minimal navigation, and Gemini nano banana media generation. Includes Narrative Engine integration for framework-driven deck creation with 17 proven storytelling structures and 5-agent review panel. Use when creating or editing slide decks, transforming content into presentations, or generating slide visuals.
Keynote Slides
Assets
assets/keynote-slides.htmlholds the single-file slide deck template.references/brand-guidelines.mdcaptures brand tokens, typography, and image style guidance.references/gemini-media.mddocuments the Gemini nano banana and Veo media settings.
Workflow
- Run the deck bootstrap to create a deck folder:
scripts/new-deck.sh example-pitch --entity northwind --title "Example Pitch" --type pitch
- Update
decks/brands.jswhen brand tokens change. - Edit
decks/<deck-id>/index.htmland duplicate slides inside<main id="deck">, keeping eachdata-titleunique. - Use layout classes (
layout-title,layout-split,layout-grid,layout-metrics,layout-quote) to keep spacing consistent. - Apply
revealplus--reveal-indexto stagger key elements.
Entities
- Use the generator panel to select the active entity profile.
- Add
data-entity="entity-id"on a slide to override the global profile for that slide. - Add
?entity=entity-idto the URL for a quick switch. - Use
mediaPromptPrefixinbrandProfilesto keep Gemini media outputs on brand.
Deck storage
decks/<deck-id>/index.htmlis the editable deck file.decks/<deck-id>/deck-config.jsstores deck metadata (entity, title, resources).decks/<deck-id>/deck.jsonstores the same metadata in JSON form.decks/<deck-id>/slides.mdis for draft copy and notes.decks/<deck-id>/resources/assets/holds logos, images, and media inputs.decks/<deck-id>/resources/materials/holds briefs, pricing docs, P&L inputs, and outlines.
Collaboration
- Co-author the narrative: propose headlines, POV, and slide ordering based on
deckTypeand entity preferences. - Keep the brief in
resources/materials/brief.mdand capture evolving preferences indeck.jsonordecks/brands.js. - Use concise headline options (3-5 variants) and confirm direction before building slides.
Review loop
- Use the Chrome Devtools MCP tools to capture a snapshot/screenshot and review layout.
- Check hierarchy, alignment, spacing rhythm, and contrast; then adjust copy and spacing.
- Use the generator panel for brand-aware media, then re-check balance and whitespace.
Templates
- Copy markup from the
<template>blocks at the bottom of the file. - Replace placeholders with branded copy, numbers, and visuals.
Media generation
- Add
data-genanddata-promptto<img>or<video>elements. - Open the generator panel with
gor theGenbutton. - Save the API key and model settings to localStorage (never commit keys).
- For image-to-image or image-to-video, load a base image in the panel.
- Run "Generate slide" or "Generate all" and review outputs.
Preview
scripts/serve-decks.sh
Then open http://<tailscale-ip>:8921/decks/<deck-id>/index.html.
Speaker notes
- Add per-slide notes with a hidden block:
<aside class="slide-notes">Speaker notes here.</aside> - Toggle the notes panel with the "Notes" button or press
n. - Append
?notes=1to open notes by default. - Use "Export notes" to download a markdown file.
Animation + SVG
- Use
data-animfor lightweight animations (fade, slide-up, slide-left, slide-right, scale-in). - Set
--anim-delayto stagger; avoid mixing withrevealon the same element. - Disable animation with
?motion=offor rely onprefers-reduced-motion. - Inline SVG diagrams use
.diagramanddata-media="svg":<svg class="diagram" data-media="svg" viewBox="0 0 800 450" role="img" aria-label="Diagram"></svg> - Keep media lanes explicit:
data-gen= Gemini only (optionaldata-media="gemini").- Inline SVG = no
data-gen. - Static images/videos = no
data-gen.
Copy editor
- Open
decks/<deck-id>/editor.htmlin a second window to edit copy without touching HTML. - Use the editor "Open deck" button to connect and update the live preview.
- For existing decks, copy the template first:
cp skills/keynote-slides/assets/keynote-editor.html decks/<deck-id>/editor.html - Edits are stored in localStorage; export JSON from the editor for handoff.
PDF export
- Use the browser print dialog and "Save as PDF".
- Enable background graphics for gradients and color fills.
- The template includes print styles to paginate each slide.
- CLI option:
node scripts/export-pdf.js decks/<deck-id> --out /tmp/<deck-id>.pdf
Navigation
- Arrow keys, PageUp/PageDown, Space.
- Home/End for first or last slide.
- Use
#slide-titlehash navigation for direct jumps.
Narrative Engine Integration
For content-driven deck creation, use the Narrative Engine workflow that matches your material to proven storytelling frameworks.
Reference Files
references/narrative-engine/narrative-arcs.md— Beat-by-beat structures for 10 narrative arcsreferences/narrative-engine/framework-selection.md— Selection matrix by audience/purpose/contentreferences/narrative-engine/framework_selection_guide.md— Deep pairing guidance for arcs + frameworksreferences/narrative-engine/communication-frameworks.md— 7 efficiency-optimized frameworksreferences/narrative-engine/checklists.md— Quality gates for narrative + copy reviewreferences/narrative-engine/agent-reference-*.md— Agent-specific frameworks for review
Workflow: Narrative Build
- Ingest resources: Run
node scripts/ingest-resources.js decks/<deck-id>to read all materials- Or use
node scripts/narrative-build.js decks/<deck-id>to prepare model-mediated prompts
- Or use
- Focal discovery + discovery: Align on the one point, then answer 5 questions (audience, purpose, content type, tone, reveal)
- Density + framework match: Choose density mode, then get 2-3 recommendations with content mapped to structure
- Deck generation: Build slides with source attribution tags
- Review panel: 5 agents + Director synthesize feedback
Discovery Questions
| Question | Options |
|---|---|
| Audience | Executive, Technical, Investors, Skeptics, General, Mixed |
| Purpose | Persuade, Inform, Inspire, Align, Report, Defend, Entertain |
| Content type | Research, Strategy, Origin story, Post-mortem, Pattern insight, etc. |
| Tone | Authoritative, Provocative, Warm, Urgent, Balanced, Visionary |
| Reveal potential | Yes (has surprise), No (straightforward), Help me find one |
Framework Selection Quick Reference
| If your content has... | Consider... |
|---|---|
| A genuine surprise | The Prestige or Mystery Box |
| Multiple stakeholder views | Rashomon |
| A transformation story | Hero's Journey |
| Future vision | Time Machine |
| Root cause analysis | Columbo |
| Strategy/roadmap | The Heist |
| Paradigm shift | Trojan Horse |
5-Agent Review Panel
| Agent | Lens | Key Question |
|---|---|---|
| Audience Advocate | Target audience persona | "Does this land for [audience]?" |
| Comms Specialist | Messaging, emotion, PR risk | "Is this tight and bulletproof?" |
| Visual Designer | Metaphor coherence, S.T.A.R. moments | "What visual makes this unforgettable?" |
| Critic | Pacing, weak links, efficacy | "What's the weakest link?" |
| Content Expert | Accuracy, logic, sources | "Can every claim be defended?" |
Source Attribution Tags
| Tag | Meaning |
|---|---|
[DIRECT] | Verbatim from source material |
[PARAPHRASE] | Restated ideas |
[ELABORATED] | Expanded concept |
[SYNTHESIZED] | Combined multiple sources |
[GENERATED] | New content for flow |
Headline Rules
- Image & Action: Concrete nouns + strong transitive verbs; avoid "is/are"
- Tension & Turn: Because/Therefore, Not/But, Before/After
- Cadence: 8-14 words; two-beat rhythm
- Specific Anchors: Time/place/actor/number in every third headline
- Power verbs: tilts, unseats, ignites, drains, compounds, unlocks, anchors, accelerates
- Metaphor family: One per deck (journey OR ecology OR weather, etc.)
See /docs/integrated-architecture.md for full technical details.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です