Presentation

From nguyenhuuca/assessment · View interactive version

Presentation is an AI agent skill from the GitHub repository nguyenhuuca/assessment. Render a self-contained HTML "tab-bar" presentation from a markdown PRD, Spec, ADR, or implementation Plan. Use when the user asks to "make a presentation", "render slides", "turn this prd/spec/adr/plan into a deck", "present this doc", "export to html", or "show this on screen". INPUT is ONE markdo

How to use this skill

Skill file

Presentation — HTML tab-bar deck from PRD / Spec / ADR / Plan

Input doc: $ARGUMENTS. If empty, ask for the path (defaults live in docs/prd/, docs/specs/, docs/adr/, docs/plans/).

You receive ONE markdown file — a PRD (Product Requirements Document), a

Feature Specification, an ADR (Architecture Decision Record), or an

implementation Plan — and render it into a single self-contained .html

presentation that opens directly in a browser (no build step, no VS Code

extension).

0. Golden rules

defaults: docs/prd/PRD-*.md, docs/specs/spec-*.md, docs/adr/0xxx-*.md,

docs/plans/plan-*.md.

reinterpret content. Keep wording, decisions, tables, code blocks, diagrams,

and estimates faithful. You may compress prose into bullets, but no new facts.

this skill folder. Do not invent new CSS.

1. Workflow

  1. Read the source .md and detect its type from the title / ## Metadata

/ heading shape:

  1. Copy template-tabbar.html to the output path (see §3).
  2. Fill the <header class="hero">: eyebrow = type + id (e.g. ADR-0006),

<h1> = document title, chips = Status / Date / Owner / Version pulled from

## Metadata when present. Keep the .back-link (← Presentations) anchor

from the template — it links to

https://nguyenhuuca.github.io/assessment/presentations/.

  1. Map sections to tabs — one .tab-btn + matching .panel per major ##

section, using the type-specific maps below. First tab gets active / first

panel gets show.

  1. Fill panels with cards. One .card per logical unit. Use accent colors

to encode meaning (see §2). Put long rationale, alternatives, and code inside

<details>. Keep tables as <table>, ASCII diagrams and code as <pre>.

  1. Verify the .html exists and every data-tab has a matching panel id.
  2. Summarize for the user: output location + navigation (← / → to switch

sections, click 🔎 to expand details).

2. Color & block conventions (consistent across all types)

| Meaning | Block |

|---------|-------|

| Goal / overview / primary path | .card.blue, .hl.goal |

| Chosen / done / success / deliverable | .card.green, .hl.prod |

| Requirement / rule / question / quote | .card.cyan or .prompt |

| Caution / trade-off / consequence | .card.amber |

| Risk / rejected option / breaking change | .card.red |

| Data model / API / technical detail | .card.violet |

| Note / example | .card.yellow, .ex |

| Estimate / duration | .time on the title (e.g. 1.5d) |

| Tag (FR-1, Phase 3, Decision) | .tag |

3. Output location

Default: write <doc-name>.html next to the source .md, same base name,

only the extension changes (e.g. docs/adr/0006-hls.md → docs/adr/0006-hls.html).

If the user prefers a dedicated folder, use docs/presentations/<doc-name>.html.

4. Type-specific tab maps

🎯 PRD → tabs

🎯 Overview · ❓ Problem · 📈 Goals & Metrics · 👤 User Stories ·

✅ Requirements · 🧭 Scope · 🔗 Dependencies · ⚠️ Risks (include only

sections present; fold Open Questions / Appendix / Approval / Version History

into the nearest panel or a final 📌 Notes tab).

📐 Spec → tabs

🎯 Overview · 📐 Business Rules · ✅ Requirements (FR-*) · 🔌 API Changes

· 🗄️ Data / DB · 🔒 Security · 🧪 Testing (include only sections present).

criteria as a bullet list. Group several FRs per panel if short.

⚖️ ADR → tabs

📌 Context · 🎚️ Decision Drivers · ⚖️ Options · ✅ Decision · 📊 Consequences

· 🔗 Links (and 📜 Changelog only if useful).

.card.green with a Chosen .tag, rejected ones .card.red/.amber.

Pros/cons as sub-lists; put deep analysis in <details>.

in a <table>.

🪜 Plan → tabs

🎯 Objective · 🧭 Scope · 🏗️ Technical Approach · 🪜 Phases · 📁 Files

· ⚠️ Risks / Dependencies (include only what exists).

.tag, the time estimate as .time (e.g. 1.5d). Long phase detail/code in

<details>. If there are many phases, one panel listing all phases as cards.

5. Handoff

After rendering, leave <doc-name>.html at the output path. Tell the user:

expand details.

6. Related skills

Pipeline: scope (PRD) → spec (Spec) / architect (ADR) / swarm-plan

(Plan) → presentation (export .html deck). Any stage's artifact — PRD,

Spec, ADR, or Plan — can be fed straight into this skill.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.