coreyhaines31/makerskills / skills/slide-deck
slide-deck
VerifiedWhen you want to draft, update, convert, or export a slide deck for a React/Next.js slide system (${SLIDE_DECK_REPO:-$HOME/code/your-slide-deck-site}/src/app/slides/). Writes TypeScript Slide[] arrays using your primitives (Eyebrow, Heading, Accent, Body, BulletList, Divider, TwoCol, GradientText), 12 cycling brand gradients, optional sections for "where am I" context, and speaker notes. Inspired by zarazhangrui/frontend-slides — "show, don't tell" for narrative (presents 3 angles, you pick) plus density modes (speaker-led vs reading-first). Four modes — new (draft from brief), update (modify existing, with overflow guards), ppt (convert legacy PPTX → React deck), export (Playwright snapshot existing React deck to standalone HTML, PDF, or Vercel URL — keeps brand). Triggers on "/slide-deck," "/slides new," "/slides export," "/slides update," "/slides ppt," "draft a deck," "deck for [topic]," "talk on [topic]," "keynote on [topic]," "internal deck for [audience]," "convert this pptx," "export this deck."
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 17.0 KB |
| references/export.md | markdown | 6.6 KB |
| references/narrative-and-voice.md | markdown | 11.1 KB |
| references/ppt-conversion.md | markdown | 5.4 KB |
| references/system.md | markdown | 5.9 KB |
| references/template.md | markdown | 6.4 KB |
references/template.md
View on GitHub# File templates
Drop-in skeletons for `page.tsx` and `layout.tsx`. Substitute `<TOKENS>`.
---
## `layout.tsx`
```tsx
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "<DECK_TITLE>",
};
export default function <DeckNameCamelCase>Layout({
children,
}: {
children: React.ReactNode;
}) {
return <>{children}</>;
}
```
---
## `page.tsx` — minimal (no sections)
```tsx
"use client";
import { SlideDeck, type Slide } from "@/components/slides/slide-deck";
import {
Eyebrow,
Heading,
Accent,
Body,
BulletList,
} from "@/components/slides/slide-primitives";
// ─── Slides ───────────────────────────────────────────────────────────────────
const slides: Slide[] = [
// 1. Title
{
id: "title",
content: (
<div className="flex flex-col justify-center h-full max-w-3xl">
<p className="text-sm uppercase tracking-[0.08em] font-heading font-medium text-[#4d4d4d]/40 mb-4">
<ROOM_KIND_OR_EYEBROW>
</p>
<h1 className="font-heading font-medium text-[4.236rem] leading-[1.05] tracking-[-0.02em] text-[#4d4d4d] mb-6 text-balance">
<DECK_TITLE_LINE_1> <Accent><DECK_TITLE_KEYWORD></Accent>
</h1>
<p className="text-[#4d4d4d]/50 text-xl font-heading">
<SPEAKER_NAME>
</p>
</div>
),
notes: [
"<OPENING_LINE>",
"<ONE_LINE_FRAME>",
"<WHY_THEY_SHOULD_CARE>",
],
},
// 2. <SLIDE_NAME>
{
id: "<slide-id>",
content: (
<div className="flex flex-col justify-center h-full max-w-3xl">
<Eyebrow><SECTION_NAME></Eyebrow>
<Heading><SLIDE_HEADLINE> <Accent>keyword</Accent></Heading>
<Body>
<PARAGRAPH>
</Body>
</div>
),
notes: [
"<OPENER>",
"<POINT>",
"<SUPPORT>",
"<TRANSITION>",
],
},
// ... more slides
];
// ─── Page ─────────────────────────────────────────────────────────────────────
export default function <DeckNameCamelCase>Page() {
return <SlideDeck slides={slides} />;
}
```
---
## `page.tsx` — with sections (keynote-length)
```tsx
"use client";
import { SlideDeck, type Slide } from "@/components/slides/slide-deck";
import type { SectionRange } from "@/components/slides/sections";
import {
Eyebrow,
Heading,
Accent,
Body,
BulletList,
Divider,
TwoCol,
} from "@/components/slides/slide-primitives";
// ─── Slides ───────────────────────────────────────────────────────────────────
const slides: Slide[] = [
// (slides here — see minimal template)
];
// ─── Sections ─────────────────────────────────────────────────────────────────
const sections: SectionRange[] = [
{ name: "Title", from: 0, to: 0 },
{ name: "<SECTION_NAME>", from: 1, to: 4 },
{ name: "<SECTION_NAME>", from: 5, to: 11 },
{ name: "<SECTION_NAME>", from: 12, to: 18 },
{ name: "Close", from: 19, to: 22 },
];
// ─── Page ─────────────────────────────────────────────────────────────────────
export default function <DeckNameCamelCase>Page() {
return <SlideDeck slides={slides} sections={sections} />;
}
```
---
## Slide primitives — common compositions
### Section divider (mid-deck)
```tsx
{
id: "divider-<n>",
content: (
<div className="flex flex-col justify-center items-center h-full">
<Eyebrow>Part <n></Eyebrow>
<h2 className="font-heading font-medium text-[4rem] leading-[1.05] tracking-[-0.02em] text-[#4d4d4d] text-balance text-center max-w-3xl">
<SECTION_TITLE>
</h2>
</div>
),
notes: [
"<TRANSITION_FROM_PREVIOUS_SECTION>",
"<WHAT_WE'RE_ABOUT_TO_COVER>",
],
},
```
### Framework / bullet list
```tsx
{
id: "<slide-id>",
content: (
<div className="flex flex-col justify-center h-full max-w-3xl">
<Eyebrow><SECTION_NAME></Eyebrow>
<Heading>The <Accent><N></Accent> things</Heading>
<BulletList items={[
"<bullet 1>",
"<bullet 2>",
"<bullet 3>",
]} />
</div>
),
notes: [
"<OPENER>",
"<POINT_ABOUT_THE_FRAMEWORK>",
"<WHY_THIS_COUNT_MATTERS>",
"<TRANSITION>",
],
},
```
### Two-column comparison
```tsx
{
id: "<slide-id>",
content: (
<div className="flex flex-col justify-center h-full max-w-5xl">
<Eyebrow><SECTION_NAME></Eyebrow>
<Heading><SLIDE_HEADLINE></Heading>
<TwoCol
left={
<>
<p className="text-sm uppercase tracking-wider text-[#4d4d4d]/50 mb-2">Before</p>
<Body><LEFT_CONTENT></Body>
</>
}
right={
<>
<p className="text-sm uppercase tracking-wider text-[#4d4d4d]/50 mb-2">After</p>
<Body><RIGHT_CONTENT></Body>
</>
}
/>
</div>
),
notes: [
"<OPENER>",
"<LEFT_SIDE_EXPLAINED>",
"<RIGHT_SIDE_EXPLAINED>",
"<THE_DIFFERENCE_THAT_MATTERS>",
],
},
```
### Pull quote / standout
```tsx
{
id: "<slide-id>",
content: (
<div className="flex flex-col justify-center h-full max-w-3xl">
<p className="text-[2.618rem] leading-[1.15] font-heading font-light text-[#4d4d4d] text-balance">
"<QUOTE_TEXT>"
</p>
<p className="text-[#4d4d4d]/50 text-base mt-6 font-heading">— <ATTRIBUTION></p>
</div>
),
notes: [
"<WHY_THIS_QUOTE>",
"<WHAT_IT_REVEALS>",
],
},
```
### Close / CTA
```tsx
{
id: "close",
content: (
<div className="flex flex-col justify-center h-full max-w-3xl">
<Eyebrow>Close</Eyebrow>
<Heading>One thing to <Accent>do Monday</Accent></Heading>
<Body>
<ONE_SENTENCE_CTA>
</Body>
<p className="text-[#4d4d4d]/40 text-base mt-12 font-heading">
<AUTHOR_HANDLE> · <AUTHOR_SITE>
</p>
</div>
),
notes: [
"<RECAP_THE_TAKE>",
"<THE_ONE_ACTION>",
"<HOW_TO_REACH_ME>",
"<THANK_THE_AUDIENCE>",
],
},
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |