slides
Use when create strategic HTML presentations with Chart.js, design tokens, responsive layouts, copywriting formulas, and contextual slide strategies.
SKILL.mdcontent/slides/SKILL.md
GitHubSlides
Strategic HTML presentation design with data visualization.
When to Use
- Marketing presentations and pitch decks
- Data-driven slides with Chart.js
- Strategic slide design with layout patterns
- Copywriting-optimized presentation content
Workflow
- Plan — Define presentation goal, audience, and slide count
- Structure — Select strategy from slide-strategies.csv
- Design — Generate layouts, typography, colors from decision CSVs
- Build — Create HTML slides with Chart.js and design tokens
- Validate — Check token compliance and pattern breaking
- Present — Export and deliver presentation
Subcommands
| Subcommand | Description | Reference |
|---|---|---|
create |
Create strategic presentation slides | references/create.md |
References (Knowledge Base)
| Topic | File |
|---|---|
| Layout Patterns | references/layout-patterns.md |
| HTML Template | references/html-template.md |
| Copywriting Formulas | references/copywriting-formulas.md |
| Slide Strategies | references/slide-strategies.md |
Routing
- Parse subcommand from
$ARGUMENTS(first word) - Load corresponding
references/{subcommand}.md - Execute with remaining arguments
Overview
Slides produces strategic HTML presentations directly — no PowerPoint or PDF toolchain. Each deck is a single self-contained HTML file that combines design tokens, Chart.js data visualizations, and copywriting formulas from the reference knowledge base. The workflow is plan → structure → design → build → validate → present.
When NOT to Use
- A single page or landing section — build the page, not a deck
- Video, motion graphics, or animated explainers — route to HyperFrames or Remotion
- Document-style reports (Word/PDF) — route to document-creator
- When the audience needs an editable PowerPoint file — export the HTML deck and convert, or build in PowerPoint directly
- Pixel-perfect print/PDF output — HTML decks are screen-first
Verification
- Run the generated deck in a browser: open the HTML file and step through every slide with the arrow keys
- Check token compliance — every color, spacing, and type value references the design-token CSS, no raw hex in slide markup
- Verify each Chart.js canvas renders real data (not empty/zero axes) and is responsive at 1024px and mobile widths
- Confirm the copywriting formula used (hook → proof → offer → CTA) is present in each section
- Check pattern breaking — the deck alternates emotional beats at the 1/3 and 2/3 positions instead of one flat rhythm
- Confirm the deck fits the time budget: ~1 slide per 60–90 seconds of presentation
Quick Start
Build a minimal token-compliant deck:
Install Chart.js locally with npm install chart.js (or use the CDN in the template):
npm install chart.js
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Pitch Deck</title>
<link rel="stylesheet" href="assets/design-tokens.css" />
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<section class="slide">
<h1>Hook — the problem in one line</h1>
<p>Proof — why it matters now</p>
<a class="cta">Offer → Call to action</a>
</section>
</body>
</html>
Serve the deck locally to preview with python3 -m http.server 8000, or use a Node static server via npx http-server ..
Anti-Rationalization Table
| Rationalization | Reality |
|---|---|
| "A generic template is fine, content matters more" | Generic decks read generic; slide strategy, layout patterns, and copy formulas are what persuade |
| "I'll just use CSS animations for transitions" | Page-load animations break when a deck is opened mid-stream; keep transitions keyboard-navigable and non-blocking |
| "Chart.js is overkill, a static table works" | Decision audiences respond to visual deltas; a line/bar chart communicates trend in one glance |
| "I'll design slides after writing the copy" | Structure first (strategy → layout → copy) prevents redesign churn; copy fills a decided frame |
| "Black-and-white text is always safe" | A brand-compliant token palette with deliberate contrast beats default styling and reads as designed |