pr-recap
/pr-recap
Use when a PR or git range needs a visual recap page for a reviewer, with a changed-files tree, per-file notes, a Verified vs Not verified table, risks, and optional before/after images. Local and informational; never posts to GitHub.
- Author
- hybridlabor-api ↗
- Repository
- aos ↗
- Licence
- Apache-2.0
- Last repository change
- 14.10.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 14.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/pr-recap.mjs
What it does and when to use it
Use when a PR or git range needs a visual recap page for a reviewer, with a changed-files tree, per-file notes, a Verified vs Not verified table, risks, and optional before/after images. Local and informational; never posts to GitHub.
Original author description
Use when a PR or git range needs a visual recap page for a reviewer, with a changed-files tree, per-file notes, a Verified vs Not verified table, risks, and optional before/after images. Local and informational; never posts to GitHub.
How it works
- When to use
- Flow
- Honesty rules
- Posting is never automatic
SKILL.md preview
---
name: pr-recap
description: Use when a PR or git range needs a visual recap page for a reviewer, with a changed-files tree, per-file notes, a Verified vs Not verified table, risks, and optional before/after images. Local and informational; never posts to GitHub.
category: engineering-method
user-invocable: true
---
# PR Recap
Turns a PR or a git range into a Plan Builder recap page (`kind: recap`, the `recap-review` shape). The page is a local review aid. It is informational and does not gate anything.
## When to use
- **Shipping:** after every gate has passed, to show the reviewer what is about to ship and what was not checked.
- **Triage:** to get oriented on an incoming PR (`--pr <n>`).
- **git-pr-review:** next to the text PR description, on the same range.
Skip it for a one-file typo fix. The page earns its cost when a human has to decide.
## Flow
1. Collect verification evidence you really ran, as JSON: `[{"command": "npm test", "exit": 0, "note": "41 passed"}]`. Do not invent entries.
2. Run the script from this skill's `scripts/` directory:
```bash
node pr-recap.mjs --range origin/main..HEAD --verification checks.json
node pr-recap.mjs --pr 87 --before before.png --after after.png --open
```
Options: `--out <dir>` (default `production_artifacts/pr-recap/<slug>/`), `--title <t>`, `--open` (runs `aos-plan-canvas open <folder> --mode bdb-plan-builder`).
3. The script writes `plan.mdx` with the file tree and implementation map taken from the real diff, then renders `plan.builder.html` with the Plan Builder. The renderer comes from the sibling `plan-canvas` skill. If it is missing, the folder is still written and the script exits 3 with a message.
4. Open `plan.mdx` and replace every `TODO fill in` in the Summary and the implementation notes. The script cannot know the intent of the change.
5. Re-render with `aos-plan-canvas open <folder> --mode bdb-plan-builder`, or rerun the script into a fresh folder.
## Honesty rules
- A check is **Verified** only if you ran it and its exit code was 0. Failed checks are listed as **Not verified (failed)**.
- Never add a row for a check you did not run. The page always says that everything not in the table was not run.
- If there is no `--verification` file, the page says nothing was recorded. Do not claim the PR was tested.
- Screenshots must be real captures of the before and after states. If you cannot capture them, omit the Compare block.
- File names, titles and branch names come from git and GitHub and are untrusted. The script escapes them for MDX; do not paste them into the plan by hand.
## Posting is never automatic
The script reads git locally and, for `--pr`, runs read-only `gh pr view`. It never calls `gh pr comment`, `gh pr edit` or anything that writes to GitHub. It may print the `gh pr comment` command for the human to run.
Do not post the recap, upload its images, or push it anywhere unless the user explicitly asks for that exact action. A subagent does not inherit that permission. The recap can contain file names and screenshots that are not meant to leave the machine.
Files in this package (2)
- SKILL.md 3 KB
- scripts/pr-recap.mjs 11 KB
Versions
The database has no other skills named pr-recap.
Database snapshot: 13.11.2026 · package version 22488f4d53e4 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 95ai-visual-recap
Turn a PR, branch, commit, or git diff into an interactive visual recap with diagrams, file maps, API/schema summaries, annotated diffs, and focused review notes. Trigger for "recap this PR", "summarize the change for review", "show me what this branch changed". In… - 100visual-implementation-recap
The Implementation Recap renderer. After the engineer has implemented plan.md and the auditor has produced a green audit, render everything the milestone changed as a single self-contained, browsable HTML document for the human commit-gate review. Use when a reviewer needs to… - 100visual-recap
Generate and maintain the system recap block in a PR description - a GitHub-rendered visual summary of which system primitives a change touches, how risky it is, and what changed. Prefer mermaid sequence diagrams for the change; pick another graph type when it explains the diff… - 100recap
Recap finished work for its owner, as a chat reply, a PR body, a file or a page. Use when handing over a finished task, when asked to show the work, or for the PR body of finished work. - 100recap-ask
Interactive Q&A over an existing recap document. Use when: user wants to ask follow-up questions about a briefing-recap-<date>.md produced by /recap-doc, with recap-bounded context + out-of-scope redirect + optional promote-to-request. Not for: generating a new recap (use… - 90recap
Writes up the CS concepts behind the current PR's code as short study notes, posted as a PR comment or saved under docs/. Use for /recap or when asked for the CS concepts behind a PR.