npx skills add ...
npx skills add iii-hq/iii --skill presentation
Turn a tech-spec directory into an interactive, marketing-grade web presentation — built so engineers understand the design, the reader is convinced of the why, and the result is shareable in public. Use when someone wants a spec turned into a deck.
npx skills add iii-hq/iii --skill presentation
Turn a technical specification into an interactive, persuasive web deck — the kind at iii.dev/roadmap/. The output is a content layer inside the repo's roadmap base (the shared component library, gallery, and markdown spec viewer that build every deck into one static site — Astro routes of the site package in iii, a standalone Vite project in other repos):
/roadmap/<slug>/, safe to share.A product launch microsite generated from an RFC. Stripe-doc clarity meets a keynote narrative, in a monospace drafting-sheet style.
/tech-spec/designRead these before building (they are the law — do not re-derive them):
reference/design-system.md — the locked tokens, type, motion, layoutreference/archetypes.md — the interactive slide library + how to pick onereference/component-standards.md — deck-local vs promoted components, the
promotion checklist, the registry formatreference/narrative-framework.md — the persuasive arc + outline rulesreference/quality-bar.md — the checklist to self-verify before finishingreference/hosting.md — the two-tree layout, the pairing contract,
frontmatter registration, and deploy<base>/COMPONENTS.md — the live registry of that repo's
shared components. It may exceed the bundled catalog; when it and
reference/archetypes.md disagree, the repo registry wins.The skill bundles two scaffolds:
template/ — one deck's content layer (App, sections, pages, content
data, the spec-docs glob). Copy it per spec; everything visual comes from the
base's shared src/ via the @lib alias. You generate only content.base/ — the whole per-repo presentations site: the shared component
library + design tokens, the gallery, the md-only spec viewer, and the build
glue (build.mjs, vite.config.ts, one package.json). Copy once per repo
(in iii it already lives at website/roadmap/); per-deck runs never
modify it except additive component promotion per
reference/component-standards.md.Emit one short line before each phase: ingesting spec → reading the component registry → proposing outline → scaffolding → generating slides (k/N) → registering spec frontmatter → verifying.
Phases are gated. Do not skip Phase 2's approval or Phase 5's verification.
<repo>/tech-specs/<slug>/ —
markdown only (README.md + domain docs; frontmatter in README.md). If
given a path elsewhere, resolve into the spec tree or ask.2026-06-21-devexp —
YYYY-MM-DD-<name>; the day prefix orders the roadmap timeline). It is
the deck directory name AND the URL segment — the pairing contract in
reference/hosting.md. Fix it now and use it everywhere; never prettify it.<repo>/tech-specs/README.md — the
pointer names the base dir (in iii: website/roadmap/). Fallback:
search for a dir containing both COMPONENTS.md and a shared src/.
Detect its shape:
src/ + scripts/manifest.mjs, no
package.json or build.mjs of its own — iii's shape: the site's Astro
pages at website/src/pages/roadmap/ render each deck's src/App.tsx
as a React island via the base's src/DeckHost.tsx; deps live in the
iii-website package) → use it, and scaffold content layers only;build.mjs + own package.json, one index.html
per deck — the base/ snapshot's shape) → use it;website/roadmap/ when website/ exists, else
roadmap/ at the repo root) and scaffold it in Phase 3;tech-specs/build.mjs + _gallery/ — per-deck
standalone projects) → stop and offer the port procedure in
reference/hosting.md before generating anything new.<base>/<slug>/. If it exists and is non-empty, ask:
overwrite, update in place, or abort. Never write a non-markdown file
under tech-specs/.pnpm-workspace.yaml lists the
base) vs standalone (pnpm install --ignore-workspace inside the base).README.md in full first: thesis, architecture, principles,
cross-cutting contracts, migration overview. Note whether it already has a
frontmatter block (title/tagline/date/tags/status).1b. Component awareness (before planning). Read <base>/COMPONENTS.md end
to end and list <base>/src/components/{schematic,diagrams}/ + src/hooks/.
The registry is the live catalog for this repo and supersedes the bundled
reference/archetypes.md where they disagree. Reuse-first mandate: a
slide may get a bespoke visual only after the catalog demonstrably has no fit
for its content shape. Name any planned new component in the Phase 2 outline,
marked local or promote (see reference/component-standards.md), so the
user approves it at the same gate.
reference/narrative-framework.md. Produce a deck outline:
an ordered slide list, each with { title, archetype (or reused registry component), the single claim, source section(s), the concrete data it pulls, interactivity, new component: <Name> (local|promote) — only when nothing fits }. Include candidate deep-dive pages.The deck:
mkdir -p <base>/<slug>/ and copy template/ into it — in an
integrated base (iii) copy template/src/ only and skip index.html
and src/main.tsx (the site's [slug]/index.astro route provides the
document shell and mounts src/App.tsx; the page title/description come
from the spec frontmatter).__SPEC_MD_GLOB__ literal in src/spec-docs.ts with the
computed relative path from <base>/<slug>/src/ to
<specs-dir>/<slug>/*.md (in iii: ../../../../tech-specs/<slug>/*.md);
in a standalone base also __TITLE__ / __DESCRIPTION__ in index.html.pnpm install at the repo root (only if the base's deps
are missing); standalone mode → pnpm install --ignore-workspace in
<base> (commit the generated lockfile).Registration: write or update the YAML frontmatter block at the top of
tech-specs/<slug>/README.md (schema in reference/hosting.md): title +
tagline from the approved hero, date: YYYY-MM-DD (day precision — the
roadmap timeline orders and labels by it), 0–4 tags, status: draft.
There is no central manifest — the build aggregates every spec's frontmatter,
so this run touches nothing shared. If frontmatter already exists, update only
the fields this run owns (tagline polish, status).
The base project (first run in a repo only): copy base/ into the chosen
dir (never its node_modules/dist). Fill the identity once: __REPO__ in
package.json; the __GALLERY_*__ / __WORDMARK_LABEL__ / __HERO_*__ /
__ATTRIBUTION__ / __SITE_HOST__ tokens in index.html,
src/gallery/site.ts, and README.md; write the tech-specs/README.md
pointer. The gallery page is a roadmap: hero copy in roadmap voice
(__HERO_TITLE__ ≈ "what we're working on"; __HERO_LEAD__ hints at the
current priority and what already landed, without naming specs), and the spec
list renders as a one-column timeline, newest first, grouped by month. In a workspace repo, add the base to pnpm-workspace.yaml with
user confirmation (a repo-level file). Never touch build.mjs,
vite.config.ts, tsconfigs, or src/ beyond this copy.
Edit only these — the write surface is <base>/<slug>/** plus the spec's
frontmatter block (and an approved promotion):
src/content/deck.ts — DECK_META.wordmarkLabel, NAV, FOOTER.src/content/<topic>.ts — the typed data arrays each archetype consumes
(map nodes/edges/info, sequence lanes/steps, reveal stages, cli tracks,
metrics, rows). Keep data here, out of components.src/sections/<Name>.tsx — one thin section per slide: import the matching
archetype from @lib, feed it data, wrap it in <Section>. Replace the
example sections; delete src/content/example.ts and pages/ExamplePage.tsx.src/pages/<Name>.tsx — deep dives via @lib <PageShell>.src/App.tsx — wire the ordered SECTIONS array and the PAGES map.The component protocol (when a load-bearing concept has no fit in
COMPONENTS.md):
<base>/<slug>/src/diagrams/<Name>.tsx,
following @lib/components/diagrams/SequencePlayer.tsx conventions.<base>/src/components/ only when all three hold: (a) it
is generic over its data — nothing spec-specific inside, everything arrives
via typed props; (b) it maps to a recurring spec shape (a lifecycle, a
tree, a timeline, a fan-out…) future decks will plausibly need; (c) it
passes the checklist in reference/component-standards.md without
deck-specific hacks.COMPONENTS.md entry in the
same change. An unregistered shared component is a defect (the base's
registry check warns — scripts/validate-roadmap.ts in iii, build.mjs
standalone; strict mode makes it fatal).Built-in spec viewer — do not delete. Every deck ships the #/spec page:
the template wires spec-docs.ts (the compile-time glob over the paired
spec's markdown) into @lib/pages/SpecPage via PAGES.spec, and the shared
TopNav renders the spec link. The shared markdown renderer strips the
frontmatter block. It needs no per-deck content — leave the wiring in place.
All commands run from <base>'s package (iii: `pnpm --filter iii-website