PR Lens — Animated Diagrams for Code Changes
The agent writes a single JSON graph document and PR Lens renders it as an animated architecture or data-flow SVG for your pull request.
Dev & CodingIntermediate★ 1,932⑂ 71AI score 7/10Last updated: Oct 4, 2026
What it does
- Turns a code change or part of a codebase into an animated architecture / data-flow diagram.
- The agent authors one JSON graph document;
@coldtea/pr-lens-clirenders it into a self-contained animated SVG that GitHub displays inside a PR comment with no scripts. validatereports the exact offending field so the agent can repair its own document.- The SKILL.md itself is a discovery stub — the real workflow and field reference are pulled at runtime via
npx @coldtea/pr-lens-cli@latest skillandskill references, so guidance always matches the installed CLI version.
Who it's for
- Developers who want reviewers to grasp the scope of a PR at a glance
- Team leads producing onboarding or system-overview diagrams
- Anyone using a coding agent (Claude Code, Codex, Gemini CLI, Cursor, OpenCode, Copilot) who wants diagrams generated automatically
Examples
- "Diagram the auth flow changes in this PR" → agent writes the graph JSON → renders SVG → posts it as a PR comment
- "Visualise the data flow through the billing module" → agent reads the code and animates module-to-module calls
- "Check this diagram document" → run
validate, get the exact bad field, fix and re-render
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/coldteadotai/pr-lens/HEAD/skills/pr-lens/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/pr-lens folder from the GitHub repo coldteadotai/pr-lens into my ~/.claude/skills/coldteadotai-pr-lens/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/coldteadotai/pr-lens.git /tmp/pr-lens && mkdir -p ~/.claude/skills && cp -r /tmp/pr-lens/skills/pr-lens ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Make sure Node.js is installed (
node -v);npxis required to run the CLI. - Clone the repo:
git clone https://github.com/coldteadotai/pr-lens.git - Copy the skill folder:
mkdir -p ~/.claude/skills && cp -r pr-lens/skills/pr-lens ~/.claude/skills/ - Restart Claude Code and confirm
pr-lensappears in your skills list. - On first use, let the agent run
npx @coldtea/pr-lens-cli@latest skillto fetch the current workflow guide (the first run may take a while to download the package). - Try a prompt like "draw a diagram of this change" to trigger it.
View source on GitHub ↗License: MIT