Skip to content
public-library› 5k ›Skills›5k-pr-review

5k-pr-review

5k-pr-review

See a pull request from 5,000 feet before you read its lines. The agent reads the pull request, runs its migrations and dead-code tools at the base and the head, and writes one self-contained page: a section rail, a pannable canvas, and windows that open on what you click. The page shows what the pull request created and changed, how the pieces relate, and how it was verified. It describes; it doesn't hunt for bugs, which 5k-code-review does.

Section What it shows
Overview What users can now do, grouped by the system's own things
Database Each table created or changed, from real schema dumps at the base and the head
Backend New and changed types, views, rules, store interfaces, and API operations
Frontend New and changed components, bottom-up, with live previews in each state
Architecture Decisions that change the system's shape, with before and after diagrams
Principles How the change fits a set of design principles, with red flags and fixes
Verification What was checked, what was fixed along the way, and what wasn't verified
Dead code What the change left unused, apart from what was already unused

Install with Trail Guide

From a project that does not already have a fabrica source:

trailguide project init --non-interactive
trailguide project add source fabrica \
  --repository https://github.com/fabricahq/public-library.git \
  --skills skills/5k-pr-review \
  --non-interactive
trailguide project sync

This selects only this skill from the latest library release. If your project already has a fabrica source, add skills/5k-pr-review to that source's skills.include list and run trailguide project update.

Use it

Invoke /5k-pr-review in Claude Code or $5k-pr-review in Codex, naming the pull request. The agent writes a JSON snapshot and renders it with the bundled script, which you can also run yourself:

python3 PATH_TO_SKILL/scripts/render.py SNAPSHOT.json OUT.html

examples/invoice-installments.json is a made-up pull request that uses every field.

Settings

The skill reads optional settings from 5k-pr-review/settings.yaml in the organization's <owner>/.fabrica repository and from the repository's own .fabrica/5k-pr-review/settings.yaml; each key the repository sets replaces the organization's. Settings name the product's personas and the project's component catalog, which the page uses for previews.

Look and feel

The page shares the 5k skills' shell, the fonts, palette, top bar, ⋯ menu, Settings modal, and About dialog, from the 5k stack's shared 5k-shell.css. It embeds Inter and JetBrains Mono under the SIL Open Font License 1.1.