AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

PR Lens — Animated Diagrams for Code Changes

Turns a code change or part of a 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 a single JSON graph document and the PR Lens CLI renders it as a self-contained animated SVG.
  • Covers architecture diagrams, data-flow diagrams and data models (ERD / schema changes).
  • Output renders directly in GitHub pull request comments with no scripts required.
  • validate points at the exact malformed field so the agent can repair its own document.
  • Note: this SKILL.md is a discovery stub — the real authoring rules, field reference and full example are fetched with npx @coldtea/pr-lens-cli@latest skill.

Who it's for

  • Developers who want reviewers to grasp a change's structure at a glance
  • Backend and data engineers explaining schema or migration changes
  • Tech leads producing system overviews for onboarding
  • Teams mixing agents (Claude Code, Codex, Cursor, Gemini CLI, Copilot)

Example uses

  1. "Diagram the flow of this PR and post it as a comment" → agent authors the graph document and attaches an animated SVG.
  2. "Show the users table schema change as an ERD" → before/after data-model diagram.
  3. "Explain which services the auth module talks to" → opens a live canvas you can step through and question.

· · · 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/packages/agent-skill/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 AI Skill Mart.
Copy the packages/agent-skill folder from the GitHub repo coldteadotai/pr-lens into my ~/.claude/skills/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 && mkdir -p ~/.claude/skills/pr-lens && cp pr-lens/packages/agent-skill/SKILL.md ~/.claude/skills/pr-lens/SKILL.md

⚠ This is a third-party skill. Check the source repository before installing.

  1. Confirm Node.js is available (node -v); nothing else to install since the skill runs via npx.
  2. Clone the repository: git clone https://github.com/coldteadotai/pr-lens.git
  3. Create the skill folder: mkdir -p ~/.claude/skills/pr-lens
  4. Copy the skill file: cp pr-lens/packages/agent-skill/SKILL.md ~/.claude/skills/pr-lens/SKILL.md
  5. Restart Claude Code and ask it to "diagram this change with PR Lens" to confirm the skill is picked up.
  6. On first use, let the agent run npx @coldtea/pr-lens-cli@latest skill to pull the version-matched usage guide (internet access required).