tomsej/pi-ext/pr-explain
Claude Code and agent skill by tomsej/pi-ext
- community
Checking that the SKILL.md file is still in the repository.
Explain a GitHub pull request as an English Markdown walkthrough and return a Plannotator share link. Use for PR explanations, walkthroughs, or review preparation.
Install
npx vskill@latest install tomsej/pi-ext/pr-explainSKILL.md
PR Explain
Generate an accurate English explanation of one PR. Read the repository; never modify it.
Read the PR
Input: PR number or URL.
- Metadata:
gh pr view <n> --json title,body,baseRefName,headRefOid,url. - Changes and evidence:
gh pr diff <n>andgh pr checks <n>. - Fetch without checkout:
git fetch origin pull/<n>/head; inspect files withgit show FETCH_HEAD:<path>. - Read callers and surrounding code, not only the diff.
- Treat PR claims as claims: confirm each with code, tests, or CI; mark unsupported claims ⚠️.
Write the explanation
Save ~/Workspace/specs/<project>/pr-<n>-<slug>/explanation.md; derive project, number, and slug—never guess them. Use these sections in order:
- Background — optional newcomer context, then the specific problem.
- Intuition — the core idea with small example data.
- Change top to bottom — one causal architecture/code walkthrough.
- Claims and evidence — claim, user-visible result, exact test/check evidence.
- Try it yourself — disposable setup and observable checklist items
- [ ]. - Quiz — five useful multiple-choice questions.
Change map
Use closed <details> blocks: <code>PRINCIPLE</code> → <code>FLOW</code> → <code>STEP</code> → <code>KEPT</code> → <code>VERIFY</code>. Each <summary> must stand alone: label, short title, one-sentence conclusion. Inside STEP, include only important files: 🟡 <a href="<diff-url>"><code>MODIFIED</code></a> or 🟢 <a href="<diff-url>"><code>NEW</code></a>. Make the file name a permalink to exact HEAD lines: .../blob/<sha>/<path>#Lx-Ly. Show a short final-code snippet fenced with the language of the source file; link to the diff instead of pasting raw diff headers. Skip lockfiles, generated files, mechanical edits, and repeated prose.
Format
Write Markdown only. Use small mermaid diagrams with example data; no ASCII diagrams. Use exact symbol, test, and file names. Unknown facts are — or ⚠️, never inventions. Quiz answers must render inside raw HTML: <details><summary>Answer</summary><p><strong>B.</strong> Why it is right and the others are wrong.</p></details>. Print the absolute output path.
Share
Create and print the Plannotator URL; do not start a local server:
The hash contains compressed, unencrypted content. Do not create it for sensitive PRs.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pr-explain/SKILL.md
Popularity
- Repository stars
- 78
- Repository forks
- 6
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tomsej/pi-ext/pr-explain)