agentleFS
dfinsondfinson/promptlings/skills/pr-video/SKILL.md

pr-video

Skill1 starsChanged 11 days agoApache-2.0View on GitHub

Turn a pull request or diff into a short narrated video that explains why the change exists, what it changes in behavior and which code carries it. Use when a reviewer, stakeholder or teammate needs to understand a change faster than reading the diff.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When the PR Walkthrough agent is available, treat its orientation as one input alongside the diff, the PR description and observed behavior.

    line 16
  2. Distinctive:

    Write the change's intent in one sentence and confirm it with the author or user when the PR does not state it.

    line 18
  3. Distinctive:

    Behavior: when the change is visible to a user or an API caller, show the base and head behavior side by side or in sequence, captured from …

    line 24
  4. Distinctive:

    Before-to-after morph: use a code-morph component compatible with the selected composition route.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PR Video

A PR video explains a change to someone who has not read it. It opens with a hook built from why the change exists (the opening hook check in reasoning-first-narration), shows the behavior it changes, then walks the code that carries it in order of consequence. Review findings and verdicts belong to review tools such as The Nitcracker; this video builds understanding.

This skill supplies the change-specific discovery and story practice. The technical-demo agent owns the video when it is installed: audience, story, script approval and acceptance. Narration, transitions, speech, capture and composition come from the companion skills named below.

Read the change

  • Gather the PR title and description, linked issues, commits and the full diff, for example with gh pr view and gh pr diff, or git diff base...head for a branch. For a bare diff, use its commit messages and the surrounding code.
  • Inspect the consequential changed paths and their callers before choosing the story. Read exact supporting ranges and surrounding contracts for each claim, expanding when dependencies require it. Reuse verified unchanged sources. Descriptions are indexes, not evidence.
  • When the PR Walkthrough agent is available, treat its orientation as one input alongside the diff, the PR description and observed behavior. The video's story, order and emphasis remain the director's decisions.
  • Establish who watches and what they need to decide: approve, adopt, integrate or learn.
  • Write the change's intent in one sentence and confirm it with the author or user when the PR does not state it.
  • Rank changed files by consequence: entry points, public contracts, schemas, configuration and data shape first; internal implementation next; mechanical edits last.

Shape the story

  1. Why: the problem and why it matters now, in one or two sentences.
  2. Behavior: when the change is visible to a user or an API caller, show the base and head behavior side by side or in sequence, captured from real builds of both commits.
  3. Code tour: one scene per hunk or tight hunk group, in consequence order, each with one takeaway: the problem the hunk addresses, shown by base behavior or a case the preceding scene showed on screen, and how the change addresses it.
  4. Decisions to weigh: design forks, migrations, compatibility and rollout steps the change actually carries.

Summarize mechanical churn such as renames, formatting and generated files in one line with a count. Scale length to the change: a small fix needs about a minute.

Show code legibly

  • Show the changed hunk with two or three lines of context and colored additions and removals. Keep text readable at the final playback size.
  • Highlight the line the narration is discussing while it discusses it. Keep one focal point per frame.
  • Allow about three to five seconds per small hunk, longer for dense logic, with a short beat after each change of file.

Pick the specialist by what the viewer needs to see:

  • Code in its editor: a human-style walkthrough that navigates the file tree to the changed file, applies the change in place from base to head and follows definitions, captured as cue-synced-demo describes. Walk into surrounding code the change relies on the same way.
  • The diff itself: render the hunk to HTML with the installed diff2html CLI from diff2html-cli (MIT) and hold or compose it.
  • Before-to-after morph: use a code-morph component compatible with the selected composition route. In Remotion, drive its progress from the frame clock rather than CSS or wall-clock animation. On the HyperFrames route, Shiki's @shikijs/magic-move (MIT) can animate the versions using that route's deterministic timeline.

Handle a missing specialist as cue-synced-demo describes, and never hand-roll a substitute.

Produce and deliver

Use the director's approved treatment and production record instead of restarting discovery or approvals during realization. Write narration with reasoning-first-narration, user-facing prose with reasoning-first-writing, and story continuity with narrative-transitions. Use tts-setup for synthetic speech and cue-synced-demo for captured footage and timing. Composed scenes use motionite and Remotion by default, or hyperframes when explicitly selected. Without the Technical Demo agent, apply the same route selection directly and invoke technical-demo-production for reuse and rendering support. Every claim traces to a diff line, a test or observed behavior. Hand the finished video to the user for review, and offer to attach it to the pull request.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.