AI for Developers
Agent skill (SKILL.md) Open source MIT 2.3k

pr-lens

Draws every pull request as architecture and data-flow diagrams so you can understand it faster.

Install

For this project
$ npx skills add coldteadotai/pr-lens -a claude-code
For every project
$ npx skills add coldteadotai/pr-lens -a claude-code -g

Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).

For this project
$ npx skills add coldteadotai/pr-lens -a codex
For every project
$ npx skills add coldteadotai/pr-lens -a codex -g

Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).

For this project
$ npx skills add coldteadotai/pr-lens -a cursor
For every project
$ npx skills add coldteadotai/pr-lens -a cursor -g

Or copy the skill folder into .agents/skills/ (project) or ~/.cursor/skills/ (all projects).

For this project
$ npx skills add coldteadotai/pr-lens -a gemini-cli
For every project
$ npx skills add coldteadotai/pr-lens -a gemini-cli -g

Or copy the skill folder into .agents/skills/ (project) or ~/.gemini/skills/ (all projects).

For this project
$ npx skills add coldteadotai/pr-lens -a opencode
For every project
$ npx skills add coldteadotai/pr-lens -a opencode -g

Or copy the skill folder into .agents/skills/ (project) or ~/.config/opencode/skills/ (all projects).

When to use

Install it when reviewers spend too long working out what a pull request touches, or when you want an agent to walk you through an unfamiliar codebase visually.

PR Lens draws every pull request as an architecture and data-flow map, posted inside the pull request itself. Colors show what changed: green is new and amber is changed. The map places the touched components against the system around them and shows the calls between them, so a reviewer sees the blast radius before reading code. It flags what could break, and it uses a custom renderer instead of Mermaid so large systems stay readable.

You can open a PR on a live canvas for a guided tour. Coding agents can use the same skill to explain any codebase or change through animated explainers, with npx skills add coldteadotai/pr-lens. The GitHub App is free for open source, and the README says it also runs on GitLab and Bitbucket.

Related skills

All skills