Skip to content
Code Review
Skill

/pr-lens

WHAT: Draws a code change or part of a codebase as an animated architecture or data-flow diagram, on its own or in a pull request. WHEN: asked to diagram, visualise or explain a change or a system, or when a pull request should carry a diagram. KEYWORDS: PR Lens, diagram,

BOOST
From plugin
pr-lens
1.9k2 skills
Install
$ npx -y skills add coldteadotai/pr-lens --skill pr-lens --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/pr-lens

Context preview

The summary Claude sees to decide when to auto-load this skill.

WHAT: Draws a code change or part of a codebase as an animated architecture or data-flow diagram, on its own or in a pull request. WHEN: asked to diagram, visualise or explain a change or a system, or when a pull request should carry a diagram. KEYWORDS: PR Lens, diagram,

SKILL.md

pr-lens.SKILL.md
name: pr-lens
description: "WHAT: Draws a code change or part of a codebase as an animated architecture or data-flow diagram, on its own or in a pull request. WHEN: asked to diagram, visualise or explain a change or a system, or when a pull request should carry a diagram. KEYWORDS: PR Lens, diagram, architecture, data flow, visualise, visualize, pull request"

PR Lens

Animated architecture and data-flow diagrams for code changes and codebases. The agent writes one JSON document, and PR Lens draws it.

Run: `npx @coldtea/pr-lens-cli@latest <command>`. Nothing to install first.

Start here

This file is a discovery stub, not the usage guide. Before running any PR Lens command, load the actual workflow content from the CLI:

npx @coldtea/pr-lens-cli@latest skill              # start here: write, validate, render, share
npx @coldtea/pr-lens-cli@latest skill references   # the graph document field by field, the config format, a full example

The CLI serves skill content that always matches the installed version, so instructions never go stale. The content in this stub cannot change between releases, which is why it just points at `skill`.

Why PR Lens

  • Works with any coding agent (Claude Code, Codex, Gemini CLI, Cursor, OpenCode, Copilot)
  • Draws one self-contained animated SVG that GitHub shows in a comment, with no scripts
  • `validate` names the exact field that is wrong, so the agent can fix its own document
  • Opens as a live canvas you can step through and ask questions on
  • Needs no model key when the agent writes the document itself
Read more
Ships withpr-lens

Review code 100X faster. Lens draws every PR as animated architecture and data-flow walkthroughs, inside the pull request itself. Use it as a GitHub App, GitHub Action, CLI, or a Skill for your coding agent

Get the whole plugin
Stats
1,871
Stars
67
Forks
Active
Maintenance
TypeScript
Language
MIT
License
3d ago
Last commit
1mo ago
Created
14h ago
Added

Repo: coldteadotai/pr-lens

Other skills on pr-lens.