pr-spotlight
Skill53 starsChanged 57 days agoApache-2.0View on GitHub
Explain a PR's main changes with clear diagrams and short animations when motion adds information. Use when preparing a PR or asked to explain a diff visually.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Run from the repository root.
- Very specific: line 27
Run setup once per checkout.
- Very specific: line 29
Use the helper's --help for command syntax.
- Very specific: line 35
Follow GitHub's attachment instructions.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.
Files
PR spotlight
Make the PR's purpose and changed behavior clear before reviewers read the implementation.
Workflow
- Read the PR title, description, commits, and complete changed-file list before choosing a subject. Inspect the relevant diff and source at both revisions. Read linked task specifications and plans when available; verify their claims against the final diff. Record the base and head SHA in
build/pr-spotlight/<topic>/evidence.md. Group the changes by user or maintainer outcome and write one sentence for the PR's main change. Account for each major outcome in the planned visual or its caption. Keep implementation details secondary unless the user asks for a specific detail. Finish this step when the planned overview explains the PR's purpose, with a source for each claim. - Read visual story and sketch the composition before writing a scene. Record its main claim, visible objects, relationships, and format in the evidence notes. Default to one overview PNG. Add a second for another major outcome or a comparison that needs two readable views. Choose video when motion explains timing, overlapping activity, or an interaction that stills cannot explain, or when the user requests video. State what motion adds. Use PR text when a visual adds no explanation.
- Author the chosen composition, with a concrete example of the changed behavior. For Psychopomp scenes, read scene authoring, choose a matching template or compose a new layout, and save
scene.jsonbeside the evidence notes. Use short action labels and keep code identifiers in supporting captions when needed. Include exceptions that change the main outcome. Label schematics as diagrams and real captures as UI footage. For measurements, state the source, workload, platform, sample count, and units. Every visible claim must match the recorded source. - Validate and inspect the plan, then open the rendered media. Review each PNG at about 760 pixels wide. When delegation is available, give a fresh agent only the image and ask what changed, why it matters, and what is unclear. Otherwise make that check yourself without the PR body. Compare the answer with the main claim from step 1 and revise the scope or layout if they differ. Check readable labels, contrast, overlap, and actor identity using visual story. Use the same explicit
--themefor all scene views. For video, inspect frames before, during, and after each transition with--shutter, then play the clip to check pacing and its final hold. Useffprobeto check video encoding and file size. Finish when the overview communicates the main change and every visible claim has a source. State any check you could not run. - Return the chosen media, editable scene, evidence notes, and PR text with useful alt text and media links. Publish within the authorized PR workflow. Read the current PR body and preserve its text and attachments. If an upload or PR command fails, inspect the live PR before repeating it, because partial failures can leave a PR or uploaded media.
Rendering
Run from the repository root. Setup needs Bun and a current stable Rust toolchain with Cargo. Video export needs FFmpeg with ffprobe and libx264. Frame and video rendering need a working GPU.
rtk bun .agents/skills/pr-spotlight/scripts/render.ts setup
rtk bun .agents/skills/pr-spotlight/scripts/render.ts --helpRun setup once per checkout. It compiles a pinned Psychopomp revision into build/pr-spotlight/toolchain/. The first build can take several minutes. Human contributors can omit rtk if they do not use it.
Use the helper's --help for command syntax. The pinned upstream binary treats --help as a video output path. Keep generated media in build/pr-spotlight/<topic>/.
Media delivery
For video, use a short silent clip with one focal action per beat and still holds for reading. Render a 2 to 3 second transition window before the full clip. Use encode to create an MP4 within the size budget. Shorten the clip if compression makes text unreadable. Include a PNG summary for readers who cannot play the clip.
Follow GitHub's attachment instructions. Check gh pr edit --help for --attach before using it. CLI attachments need repository push access. Otherwise return the local files for the contributor to attach in GitHub. Include the editable scene and evidence notes in the handoff.
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
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.

