PR Lens — Animated Diagrams for PRs
Turns a code change or codebase into an animated architecture, data-flow or data-model diagram you can drop straight into a pull request.
Dev & CodingBeginner★ 2,472⑂ 105AI score 7/10Last updated: Dec 3, 2026
What it does
- The agent writes one JSON graph document and the PR Lens CLI renders it as a self-contained animated SVG.
- Supports architecture diagrams, data-flow diagrams and data-model/ERD schema views.
- Output renders directly in a GitHub pull request comment with no scripts needed.
- The
validatecommand names the exact offending field so the agent can repair its own document. - SKILL.md is only a discovery stub; the real workflow is pulled live via
npx @coldtea/pr-lens-cli@latest skill.
Who it's for
- Developers who want reviewers to grasp the scope of a PR at a glance
- Tech leads explaining system structure to new teammates
- Backend engineers sharing the blast radius of a schema change visually
Example uses
- "Diagram the data flow for the changes in this PR and post it as a comment."
- "Show the service-to-service architecture of this repo as an animated diagram."
- "Visualise the new columns and relationship changes on the users table as an ERD."
· · · 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 AI 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) — the tool runs through npx. - Clone the repository:
git clone https://github.com/coldteadotai/pr-lens.git - Copy the skill into your Claude skills folder:
mkdir -p ~/.claude/skills && cp -r pr-lens/skills/pr-lens ~/.claude/skills/ - Restart Claude Code and try a prompt like "diagram the changes in this PR".
- On first use the agent fetches the up-to-date guide with
npx @coldtea/pr-lens-cli@latest skill(internet access required).
View source on GitHub ↗License: MIT