Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

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-cli renders it into a self-contained animated SVG that GitHub displays inside a PR comment with no scripts.
  • validate reports 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 skill and skill 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

  1. "Diagram the auth flow changes in this PR" → agent writes the graph JSON → renders SVG → posts it as a PR comment
  2. "Visualise the data flow through the billing module" → agent reads the code and animates module-to-module calls
  3. "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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Make sure Node.js is installed (node -v); npx is required to run the CLI.
  2. Clone the repo: git clone https://github.com/coldteadotai/pr-lens.git
  3. Copy the skill folder: mkdir -p ~/.claude/skills && cp -r pr-lens/skills/pr-lens ~/.claude/skills/
  4. Restart Claude Code and confirm pr-lens appears in your skills list.
  5. On first use, let the agent run npx @coldtea/pr-lens-cli@latest skill to fetch the current workflow guide (the first run may take a while to download the package).
  6. Try a prompt like "draw a diagram of this change" to trigger it.