pr-lens
WHAT: Draws a code change or part of a codebase as an animated architecture, data-flow or data-model diagram, on its own or in a…
WHAT: Explains a codebase, a folder, a feature, a command or a pull request to someone who knows nothing about it, as a PR Lens canvas whose walkthrough builds the picture one part at a time. WHEN: /eli5 <thing>, or asked to explain code simply, for a beginner, a new hire, a
Claude Code
$ npx -y skills add coldteadotai/pr-lens --skill eli5 --agent claude-code
Codex
$ npx skills add coldteadotai/pr-lens --skill eli5 -a codex -y
Cursor
$ npx skills add coldteadotai/pr-lens --skill eli5 -a cursor -y
Gemini CLI
$ npx skills add coldteadotai/pr-lens --skill eli5 -a gemini-cli -y
GitHub Copilot
$ npx skills add coldteadotai/pr-lens --skill eli5 -a github-copilot -y
OpenCode
$ npx skills add coldteadotai/pr-lens --skill eli5 -a opencode -y
Windsurf
$ npx skills add coldteadotai/pr-lens --skill eli5 -a windsurf -y
name: eli5 description: "WHAT: Explains a codebase, a folder, a feature, a command or a pull request to someone who knows nothing about it, as a PR Lens canvas whose walkthrough builds the picture one part at a time. WHEN: /eli5 <thing>, or asked to explain code simply, for a beginner, a new hire, a non-engineer, or 'like I'm five'. KEYWORDS: eli5, explain like I'm five, explain simply, beginner, onboarding, walkthrough, diagram, PR Lens"
Explain like I'm someone who knows nothing about this code: one sentence, then one part at a time, until the whole picture is on screen and the reader already knows every part of it.
A reader who knows nothing cannot take in a diagram. They can take in two boxes and an arrow. So the canvas starts with two boxes and grows. The whole picture is the last thing they see, not the first, and by then it holds nothing new.
You write one graph document. Its views are the growing pictures, its walkthrough plays them in order, and PR Lens draws them. The reader opens a link and presses play. There is no page, no list, no paragraph.
The PR Lens manual and its reference pages. The PR Lens CLI prints both. Run `npx @coldtea/pr-lens-cli@latest skill`, then `npx @coldtea/pr-lens-cli@latest skill references`, and read both before your first document. The manual's rules hold here except where this page marks an **Override**.
1. **Write the answer first.** Read the code until you can say what it does for a person, in under 48 characters, because the sentence is also a walkthrough heading and a heading stops at 48. Count them.
**Override, summary.** The sentence is also the document `summary`. The reference wants a paragraph about a change; eli5 wants this sentence.
2. **Cut to the path.** For a feature, trace the one path input takes to output. For a whole codebase, first list the 3 to 5 things a person does with the product, then trace the path of the main one: the thing the product is named after or sold on, or the one with the most code on it. The parts on that path are the diagram: 4 to 10 nodes, 2 to 5 lanes. Helpers, config, types and tests stay out. When two entry points converge on the same code, draw the point where they meet and name both in its body; do not drop one.
3. **Write `.pr-lens/graph.json`.** Follow `references/graph-document.md`, plus these rules:
4. **Write the growing views.** **Override, views.** This replaces the C4 decision tree in the pr-lens skill. eli5 views are the same picture growing, not a drill-down.
5. **Write the walkthrough. One step per growing view, then the flow, then the whole.** Count first: growing views plus 1 to 2 flow steps plus 1 closing step, at most 9. With 10 nodes that means 3 to 5 growing views, so grow by 2 or 3 at a time, not 1.
WHAT: Draws a code change or part of a codebase as an animated architecture, data-flow or data-model diagram, on its own or in a…
Review workspace changes, PRs, commits, or branch comparisons with OCR's native review pipeline and independently configured…
Address all valid review comments on a PR for the current branch in the streamlit/streamlit repo. Covers both inline review…
Build or update the code review knowledge graph. Run this first to initialise, or let hooks keep it updated automatically.
Maps the `hunkdiff/extension` authoring surface for Hunk, the terminal diff viewer — hiding or reordering reviewed files, docked…