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.
How do I install this agent skill?
npx skills add https://github.com/iii-hq/iii --skill presentationIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is a developer utility that converts local technical specifications written in markdown into interactive web presentations. It uses a modern web stack including React, Vite, and Tailwind CSS. The skill performs standard software development operations, such as directory scaffolding, dependency management via pnpm, and static site building via Node.js, and does not exhibit malicious behavior or unauthorized data access.
- Socketwarn
1 alert: gptSecurity
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
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):
- helps engineers understand the spec — the architecture is a navigable map, not prose;
- is interactive — steppable diagrams, a selectable system map, live toggles; interactivity is what makes it stick;
- reads like marketing — it argues the why. if no one is convinced the work should happen, the spec has not done its job;
- is build-in-public ready — each deck ships as a static page at
/roadmap/<slug>/, safe to share.
Comparable to
A product launch microsite generated from an RFC. Stripe-doc clarity meets a keynote narrative, in a monospace drafting-sheet style.
Activation
Use For
- generating an interactive deck from a tech-spec directory
- refreshing or extending a presentation already generated by this skill
Do Not Use For
- writing the spec itself — use
/tech-spec - static slide exports (pdf / keynote) — use a slide tool
- general UI work unrelated to a spec — use
/design
Load First
Read 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- per repo:
<base>/COMPONENTS.md— the live registry of that repo's shared components. It may exceed the bundled catalog; when it andreference/archetypes.mddisagree, 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 sharedsrc/via the@libalias. 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, onepackage.json). Copy once per repo (in iii it already lives atwebsite/roadmap/); per-deck runs never modify it except additive component promotion perreference/component-standards.md.
Progress Updates
Emit one short line before each phase: ingesting spec → reading the component registry → proposing outline → scaffolding → generating slides (k/N) → registering spec frontmatter → verifying.
Workflow
Phases are gated. Do not skip Phase 2's approval or Phase 5's verification.
0. Resolve inputs
- The argument is a tech-spec directory:
<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. - The slug is the spec directory's basename (e.g.
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 inreference/hosting.md. Fix it now and use it everywhere; never prettify it. - Resolve the base project: read
<repo>/tech-specs/README.md— the pointer names the base dir (in iii:website/roadmap/). Fallback: search for a dir containing bothCOMPONENTS.mdand a sharedsrc/. Detect its shape:- integrated base (shared
src/+scripts/manifest.mjs, no package.json or build.mjs of its own — iii's shape: the site's Astro pages atwebsite/src/pages/roadmap/render each deck'ssrc/App.tsxas a React island via the base'ssrc/DeckHost.tsx; deps live in theiii-websitepackage) → use it, and scaffold content layers only; - standalone base (
build.mjs+ ownpackage.json, oneindex.htmlper deck — thebase/snapshot's shape) → use it; - absent → first run in this repo: pick the location with the user
(default
website/roadmap/whenwebsite/exists, elseroadmap/at the repo root) and scaffold it in Phase 3; - legacy layout (
tech-specs/build.mjs+_gallery/— per-deck standalone projects) → stop and offer the port procedure inreference/hosting.mdbefore generating anything new.
- integrated base (shared
- Output location is
<base>/<slug>/. If it exists and is non-empty, ask: overwrite, update in place, or abort. Never write a non-markdown file undertech-specs/. - Detect the install mode: workspace (repo
pnpm-workspace.yamllists the base) vs standalone (pnpm install --ignore-workspaceinside the base).
1. Deep ingest (read, do not skim)
- Read the spec
README.mdin full first: thesis, architecture, principles, cross-cutting contracts, migration overview. Note whether it already has a frontmatter block (title/tagline/date/tags/status). - Read every domain doc. For each, capture: the one load-bearing phrase, the pain it removes, the mechanism, any schema/fields, any sequence/lifecycle, any numbers, any honest trade-off.
- Build a content inventory (architecture, protocol/wire contract, lifecycle, state model, config schema, security, migration, …). This is the raw material for archetype matching.
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.
2. Narrative plan — THE GATE
- Apply the arc in
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. - Derive the hero line + three-value subhead + stat strip. Choose the wordmark label.
- Present the outline to the user for approval/edits before scaffolding. This is the cheapest place to turn a dry spec into a story. Skip only if the user explicitly says "just build it".
3. Scaffold (mechanical)
The deck:
mkdir -p <base>/<slug>/and copytemplate/into it — in an integrated base (iii) copytemplate/src/only and skipindex.htmlandsrc/main.tsx(the site's[slug]/index.astroroute provides the document shell and mountssrc/App.tsx; the page title/description come from the spec frontmatter).- Substitute the
__SPEC_MD_GLOB__literal insrc/spec-docs.tswith 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__inindex.html. - No per-deck install, no per-deck config, no lockfile. Ensure deps once:
workspace mode →
pnpm installat the repo root (only if the base's deps are missing); standalone mode →pnpm install --ignore-workspacein<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.
4. Generate the content layer
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; deletesrc/content/example.tsandpages/ExamplePage.tsx.src/pages/<Name>.tsx— deep dives via@lib<PageShell>.src/App.tsx— wire the orderedSECTIONSarray and thePAGESmap.
The component protocol (when a load-bearing concept has no fit in
COMPONENTS.md):
- Default: build it deck-local in
<base>/<slug>/src/diagrams/<Name>.tsx, following@lib/components/diagrams/SequencePlayer.tsxconventions. - Promote into
<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 inreference/component-standards.mdwithout deck-specific hacks. - A promotion = the component file plus its
COMPONENTS.mdentry in the same change. An unregistered shared component is a defect (the base's registry check warns —scripts/validate-roadmap.tsin iii,build.mjsstandalone; strict mode makes it fatal). - Never fork a shared component into the deck to tweak it — extend it via additive, non-breaking props, or build a genuinely different deck-local one. Modifying an existing shared component requires explicit user approval (it re-renders every other deck).
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.
5. Verify — THE SECOND GATE
All commands run from <base>'s package (iii: `pnpm --filter iii-website
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/iii-hq/iii/presentation">View presentation on skillZs</a>