review-to-lint
Skill1 starsChanged 2 months agoMITView on GitHub
A procedure for extracting the mechanically decidable items from an existing reviewer's (agent / review skill) checklist, or from past sessions' reviewer history, into a deterministic script, thinning the reviewer down to semantic checks only. Use via /review-to-lint when the author says \"turn this reviewer into a lint\", \"absorb the review into a lint\", \"move the mechanical checks into a script\", \"find what in the history can be linted\", or when a reviewer's findings show repeated mechanical items. NOT for — creating a new reviewer (→ skill-creator), changing the semantic criteria themselves (each reviewer owns them), designing a judge (→ llm-as-judge), re-extracting reviewers that already have an evidence script (done for readme-writer / adr-writer).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- shimo4228/claude-harnessword for word, first seen Sep 27, 2026
Other versions1 project uses a version of this.
Word for word · 1
- shimo4228/claude-harness★ 3100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- adr-writerSkill
- agent-stocktakeSkill
- author-calibrated-evalSkill
- context-syncSkill
- generation-auditSkill
- harness-boundarySkill
- jev-judgment-designSkill
- learn-evalSkill
- llm-as-judgeSkill
- repo-asset-stocktakeSkill
- rules-distillSkill
- rules-stocktakeSkill
- search-firstSkill
- skill-complySkill
- skill-healthSkill
- skill-stocktakeSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
If the target reviewer is already decided, go straight to §1.
- Distinctive: line 56
When unsure, lean to semantic — a wrongly mechanized item lets false negatives through wearing the face of "checked."
- Very specific: line 60
Before writing, look for external lint tools and existing evidence scripts in the harness (skills/*/scripts/).
- Distinctive: line 61
If an existing one can check the target corpus without migration, do not write one.
- Distinctive: line 70
Measure the exemption boundary first: run it against every item in the existing corpus and count violations before deciding on prefix …
- Distinctive: line 73
Leave the measured grounds for each detection pattern (how many hits in which repo) in a comment
- Distinctive: line 77
Delete the mechanical items from the checklist and wire in a Step 0 at the top: "run the script → copy the JSON's deviations into findings …
- Distinctive: line 79
Keep the instruction to read the target repo's local conventions (the canonical template doc) — write the reviewer on the assumption that …
- Distinctive: line 101
If hollowing-out is observed, revisit the wiring on the commit surface.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review → Lint absorption
A reviewer's checklist mixes in items that a script counts more accurately and cheaply than an LLM does.
This skill draws that boundary, moves the mechanical side down into a script, and focuses the reviewer's attention
on semantic checks. Prior examples: readme_evidence.py (readme-writer), adr_lint.py (adr-writer,
ADR-0051). The division-of-labor principle is "existence = code, content = LLM" (introduced by ADR-0021, applied to ADRs by ADR-0044) and
feedback: deterministic_semantic_layering (script measures + LLM interprets).
0. Entry — checklist-first vs history-first
If the target reviewer is already decided, go straight to §1. If you are deciding "which reviewer / which convention should be linted,"
mine the reviewers' history. A checklist-first inventory surfaces only the items a reviewer holds in writing,
so it misses findings that actually recur (measured 2026-08-29: RFC-0005's
12 candidates covered only the document / skill-asset layer and missed 3 classes targeting hooks/*.sh
= #13–#15 of the same RFC).
Build no mechanism — create neither an extraction script nor a collection hook (ADR-0055 Decision 5, "build no collection mechanism"). One manual investigation is enough. If a second one is requested, propose a script at that time, including a supersede of ADR-0055.
Non-obvious points about the corpus and extraction:
- Reviewer reports are at
~/.claude/projects/<project>/<session-id>/subagents/agent-*.jsonl. Not next to the parent transcript - Identify the reviewer type from the subagent's first user message. There is no
agentTypefield, and it is not linked to the parent transcript by id (match the final assistant text against the parent's tool_result) - The built-in
/code-reviewsignature is`medium effort → 3+5 angles × 6 candidates …` - Take the final assistant message.
jq | tail -1takes only the final line (each file is 100–450KB, so the whole thing cannot be read) - The structured tool_use of
ReportFindingsis not saved. Extraction becomes natural-language parsing
Fix the thresholds before mining. Class granularity is a free variable; cut finely enough and you can always produce a "class not in the ledger." Defaults: the same class 3 or more times across 2 or more sessions, at least 1 adoption, and classes coming only from retired reviewers do not count (that reviewer no longer runs, so there is no demand).
There are two destinations. Repeated adoption → lint candidate (go to §1); repeated rejection → retirement candidate (a hollowed-out convention, or a misaligned reviewer remit. Linting it would make the false positives permanent).
1. Inventory and 3-way classification (the core of this skill)
Classify the target reviewer's checklist one item at a time. Criteria:
| Class | Input to the judgment | Destination |
| deterministic | structure, format, existence, consistency (presence of sections, enums, date format, link resolution, index drift, naming conventions, consistency of cross-references) | script |
| semantic | intent, fidelity, two-sidedness, validity (post-hoc justification, straw men, one-sided Consequences, correspondence between claims and evidence) | stays with the reviewer |
| hybrid | the script counts, the LLM interprets (the fixed target of a count condition, the denominator of a figure, the distribution of term occurrences) | the script outputs evidence, the reviewer interprets it |
When unsure, lean to semantic — a wrongly mechanized item lets false negatives through wearing the face of "checked."
2. search-first cross-check
Before writing, look for external lint tools and existing evidence scripts in the harness (skills/*/scripts/).
If an existing one can check the target corpus without migration, do not write one. If migration is needed, compare the migration cost with
the cost of building your own, and record the reason for rejection in an ADR (precedent: the adrkit comparison, ADR-0051).
3. Script design
- Location: under the writer skill for that domain,
skills/<owner>/scripts/(a single source of truth that works cross-repo). A uv sub-project (pyproject + tests, auto-discovered by verify.sh full) - The default is evidence mode: output JSON, make no judgment, exit 0. "evidence, not a verdict" —
the judgment belongs to a fresh-context judge / reviewer. Add
--gateonly when blocking is needed - Measure the exemption boundary first: run it against every item in the existing corpus and count violations before deciding on prefix checks, number/date boundaries, and automatic adaptation to repo-local conventions (reading expected values from the canonical doc). A lint that turns the gate red on day one is a design error in the exemption boundary
- Leave the measured grounds for each detection pattern (how many hits in which repo) in a comment
4. Thinning the reviewer
- Delete the mechanical items from the checklist and wire in a Step 0 at the top: "run the script → copy the JSON's deviations into findings → do not recount by eye → put attention on the semantic checks"
- Keep the instruction to read the target repo's local conventions (the canonical template doc) — write the reviewer on the assumption that conventions differ per corpus
- Examples of frequent findings go to a catalog in
references/with dates and commit references (wired into the writer skill's prevention at writing time). The reviewer remains the source of truth for the criteria — do not duplicate examples and criteria
5. Execution coordinates
Decide the location on 2 axes:
- Tax rate — the fraction of commits for which the check is meaningful. If low, a step in the writer skill / reviewer;
if high, the repo's
verify.sh - Off-the-shelf fit — if a config line for an off-the-shelf tool is enough,
verify.sh(the landing shape of ADR-0056). For a self-written script, the skill-step side is the default
The default is the skill-step side — always-on wiring into a commit hook / verify.sh taxes every commit, including commits that do not touch the target (author's decision 2026-08-26, ADR-0051 Decision 2).
Exception: targets with no canonical writer skill. Executable assets such as hooks/*.sh have no writer skill
equivalent to adr-writer / readme-writer, so the coordinate "skill step"
does not exist in the first place. In this case verify.sh becomes the default (found in the 2026-08-29 history mining —
ADR-0051 Decision 2 did not anticipate this case).
If hollowing-out is observed, revisit the wiring on the commit surface. Hold no aggregation, viewer, or grader agent (for the same reason as skill-creator's "what it does not hold").
6. Recording
Record in an ADR: the code/LLM boundary (which items go where), overlaps with existing checks and the grounds for why they will not drift, the measured values of the exemption boundary, and the reasons for rejection in search-first.
Application candidates
The candidate ledger's source of truth is RFC-0005 (12 candidates, demand-driven firing conditions, won't-do decisions. 2026-08-26 sweep). Carry them out one at a time in separate sessions; decide priority by the demand firing conditions, not by room for mechanization.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

