Generate presentation

From microsoft/vscode-team-kit · View interactive version

Generate presentation is an AI agent skill from the GitHub repository microsoft/vscode-team-kit. Make the shortest slide deck (a 16:9 PDF with speaker notes, at most 12 slides) that fully explains a GitHub pull request, in one white Microsoft look: one idea per slide, drawn as diagrams, with screenshots of the real app when the change is visible, every fact from the PR. USE FOR: "/generate-pres

How to use this skill

Skill file

Generate a presentation of a PR

A 16:9 PDF with speaker notes, at most 12 slides, that fully explains one pull request. It has one idea per slide, drawn

as a diagram, and screenshots of the real app when the change is visible. You write the slides from the PR; the engine

draws them and checks the words, code lines, paths and sources. First read contract.md.

Needs: a terminal and file tools (reading images, subagents and chat artifacts help). macOS or Linux with Node.js

20+, and access to github.com. Commands install what they need into ~/.cache/ on first use. gh, signed in, is

optional.

The fast path: setup.mjs → prs deck new --pr → pictures, captures in a subagent if you have one (prs app, the

capture kit) → outline → deck.mjs → prs deck build --no-deliver until Checks: clean, and look → prs deck review

and the review → fixes, build, prs deck review, until signed off → prs deck build delivers.

1. Find the PR and the engine

Ask for the audience only if the request hints at one you can't infer. By default, it is teammates and their manager.

Its last line is STUDIO=<folder>. Below, prs <x> means node <studio>/cli/prs.mjs <x>.

2. Make the deck

Post a one-line update after each step.

  1. Start. prs deck new --pr <url> fetches the PR into <studio>/videos/<slug>/ (the slug is <owner>-<repo>-<n>;

pass it to every command) and writes <studio>/decks/<slug>/deck.mjs. The title card and the status slide (with the

PR's QR code) are filled from the PR's data. There is no end slide. If the change is visible in VS Code, start

prs app <slug> --before in the background now: the builds download while you read.

  1. Facts. Read them as the contract says. The brief's Pictures section lists the author's and the CI's screenshots.
  2. Pictures.

'<url>'`; the CI's are PNGs without an extension). Open each to check it shows what the brief says.

with record: false and a k.shot() of each state): the author's pictures show what they saw, yours show the

change running. With subagents, hand the capture to one (capture.md, the slug, <studio>, and the states to

show), and outline meanwhile.

Add --vs assets/<other> to see where two pictures differ.

is a sketch.

  1. Outline. One line per slide: its point (the title), its layout, its evidence, and the answers it gives. Post it

before writing.

  1. Write deck.mjs. Pick layouts from layouts.md, and copy each one's fields from its sample.
  2. Build. Run prs deck build <slug> --no-deliver until it ends with Checks: clean. Fix the slide, not the

check: cut words, pick another layout, copy code exactly from the diff, or add the source.

  1. Look. Open out/contact.png, then every page at full size (out/slides/NNN.png). Fix what is crowded, clipped,

empty, hard to read, or not what its title says.

The slides

Most PRs need four or five:

  1. Title (scaffolded): the PR's point in 8 plain words or fewer, and a sub of one sentence: what changes, for

whom.

  1. What it looks like or does, shown rather than told: a split of captures before and after, an image, or a

hero number from the PR.

  1. How it works: one or two diagrams of the mechanism, in the PR's own words (flow, pipeline, sequence,

journey, spans, layers, lanes, files), or one code slide with the lines that matter.

  1. What could break, and how it is tested: a checklist or pillars with the test files, or a callout on the

how-it-works slide.

  1. Status (scaffolded): the path from opened to merged, with the PR's QR code. Its title says where to start

reading, or what is still open. Its notes give the scope, the tests and what is open.

Add a slide only for an answer these can't hold; the contract's arcs give the order.

Every slide:

The eyebrow names the topic in 2–4 words.

column headers, code lines or big numbers). The rest goes in the notes.

sources: ['owner/repo#n | <url>'].

big single ideas.

3. Review

Follow review.md, with prs deck review <slug> before each round (after a --no-deliver

build).

4. Deliver

The final build prints the folder it delivered to (~/Downloads/pr-decks/<slug>/ by default). It holds:

How to finish:

artifacts.

contact.png (All pages: #<n>), by absolute path. End your turn there.

and what you couldn't check.

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.