local-review
Skill485 starsChanged 2 months agoMITView on GitHub
Run pixtuoid's review locally at either scope — a DIFF review (one lens per matching REVIEW.md local escalation row; the correctness and design lenses are the CI bots, never re-run locally) or a whole-codebase AUDIT (subsystem × factor fan-out). Use when a diff touches a local-only row, on 'is this ready to merge', or on 'whole-codebase review' / pre-release / periodic audit.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- khou/skillstheir own version, first seen May 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- khou/skills★ 1same name
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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- add-sourceSkill
- add-themeSkill
- beautify-decorationSkill
- procedural-lofiSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- Very specific: line 11
Every rule is REVIEW.md's.
≈ “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
local-review — local orchestration of REVIEW.md
Every rule is REVIEW.md's; fill briefs from it, never a
paraphrase here.
When to run
- Diff scope: the diff matches a REVIEW.md escalation row marked local. The correctness and design lenses are the bots'; never re-run them here.
- Whole-codebase scope: "audit the repo", a pre-release or periodic sweep.
Diff scope
- Isolate the branch in a worktree (two sessions on one tree race on
HEAD). Note
path,branch,basesha. Dispatch one lens per matching local row, in parallel, in the background:
model: sonnetfor a lens that reads evidence or runs a mechanical check (test lists, mutations, renders, a walk),opusonly for a design gate. Each briefed:You are the <row> lens for <PR/branch> on pixtuoid. Worktree: <path> (branch <name>, base <sha>), read-only. Diff: git -C <path> diff <base>..HEAD. Read AGENTS.md, then apply REVIEW.md's <row>, its Lenses preamble and Do not flag. <change-specific claims (from the PR body's impl-plan answers) or design questions, one per line> Run the applicable gates; report each exit code as observed, never through a pipe. Each finding carries an integer confidence 0–100. Your final message is the report, ending in one verdict: APPROVE or REQUEST-CHANGES.The filled slots are the quality lever; a lazily filled one turns every lens generic.
- Collect and verify. A one-word or placeholder return is a STUB, not a review: re-run that lens alone (#455). Verify every finding's premise yourself before coding a fix — read the comments on the item it names first — and REFUTE deliberate design with its mechanism.
- Fold accepted findings into ONE commit, with a
plan-miss:line per finding the plan never named. Disposition each finding in a review thread. The bots open theirs; open each local finding the same way, then reply and resolve:
pr=<N>; head=$(gh pr view $pr --json headRefOid -q .headRefOid) # Off the diff's lines: `-f subject_type=file` instead of line + side; a path # outside the diff (or removed by it) goes on the first surviving changed file, # its location in the body. gh api repos/{owner}/{repo}/pulls/$pr/comments -f commit_id=$head \ -f path=<path> -F line=<n> -f side=RIGHT -F body=@<finding file> threads='query($owner:String!,$name:String!,$n:Int!){repository(owner:$owner,name:$name){pullRequest(number:$n){reviewThreads(first:100){totalCount nodes{id isResolved isOutdated path line comments(first:50){nodes{body}}}}}}}' gh api graphql -F owner='{owner}' -F name='{repo}' -F n=$pr -f query="$threads" gh api graphql -f t=<thread id> -F b=@<disposition file> \ -f query='mutation($t:ID!,$b:String!){addPullRequestReviewThreadReply(input:{pullRequestReviewThreadId:$t,body:$b}){comment{id}}}' gh api graphql -f t=<thread id> \ -f query='mutation($t:ID!){resolveReviewThread(input:{threadId:$t}){thread{isResolved}}}'- Before merge, judge against the gate, which also says how each local row's run is recorded.
Whole-codebase scope
Population = the tree, where the aggregate-only classes live (cross-PR
interaction, drift, debt accretion, coverage-topology gaps, invariant erosion,
orphaned surface). Prefer a Workflow, else parallel Agents; scale to the
ask. Scout the work-list → subsystem finders (site and Raycast RENDERED) plus
per-factor finders (arch invariants · concurrency/liveness · security threat
model · performance · mutation depth on hot logic · silent failure · drift ·
deep modules) plus a SYSTEM lens (decomposition, dependency directions) and a
DRY census → adversarial verify, default REFUTE, one skeptic per finding and
2–3 differentiated ones for security/concurrency, majority confirms →
loop until two consecutive rounds come back empty → a completeness critic
("what modality did we NOT run?" seeds the next round) → dedup and rank,
keeping the refuted-as-deliberate list → dispositions plus a stale-phrase
sweep (rg --hidden) at 0. Involved refactors land in-arc; each bigger item
the owner keeps becomes a FOLLOW-UP PR.
Red flags
| Thought | Reality |
| "CI is green, that's enough" | CI can't see design, blast radius, drift, or a deliberate-looking real bug. |
| "The bots will render it" | A bot reads the diff and the base tree; a local row's run is yours. |
| "I'll note the finding and move on" | Every finding needs a terminal state. |
| "The diff looks clean, we're done" (audit) | Drift, debt accretion and erosion accumulate between PRs; only the audit sees them. |
| "The finder found it, report it" (audit) | A separate skeptic tries to REFUTE each survivor first. |
| "Just unify the duplication" | Some duplication is documented deliberate separation; read the item's comments first. |
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.

