okl-review · git:20261119.b35a2c2 · 2026-11-19 · sha256 4da069f8e68e6e15

okl-review git:20261119.b35a2c2A

Immutable. This exact content never changes and is served at /api/v1/blob/4da069f8e68e6e15.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_rmozz7yz4pcqndsv/4da069f8e68e6e15ed0d009fbe4d5c44b5ce2e69ac12a49c7a59a90fac02eed5.json

Then /plugin install okl-review@markdownregistry-rmozz7yz4pcqndsv in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
# okl-fingerprint: sha256:bcfd9f4680971be02772f66d280acfe11ceb2c5bd77871cd22030adcbcbf6404
name: okl-review
description: Check the code you just wrote against this repo's okl lessons, each lesson on its own in a fresh context, and fix what a check finds. Use when the Stop hook asks for the review after writing, before you open or update a pull request, or when asked to review a change against the lessons.
allowed-tools: Bash(okl check:*), Bash(okl show:*)
---

# okl-review: the review after writing

okl keeps the lessons this repo has learned. This skill checks a change against them before it
ships. The steps come from okl itself (`okl check --change` prints them), so they stay the ones
that were measured: follow them as printed, and do not shorten them.

## 1. Run it where the change is

In the checkout or worktree that holds the code, run:

```
okl check --change
```

It compares with the remote's default branch, then `main`, then `master`. If the work started
from another branch, name it: `okl check --change <branch>`. If the work is in another
worktree, run it there (`cd <worktree> && okl check --change`): from any other checkout it does
not see the work. The Stop hook names the worktrees that had work in the last hour.

## 2. Read every page

A long review comes in pages, each short enough to arrive whole. Page 1 names the command for
each further page. Run each as a command of its own, and read every page before you pick.

## 3. Follow its steps

In short: say what the change does, pick the ten lessons it is most likely to break, and check
each on its own in a fresh context, with the lesson's full text (`okl show <id>`) and the
question the steps give. Fix what a check finds, and run the tests that cover it. The printed
steps are the authority; this summary is not.

## 4. Report

Say which lessons you checked, which the change broke and what you changed for each, and which
needed nothing. If you checked them in one context instead of fresh ones, say so: that review is
weaker.

## When it cannot run

- Nothing changed since the base: say so. There is nothing to review.
- okl is not set up here, or cannot reach its store (it exits 2 and says why): say so. Never
  report a clean review that did not run.