agentleFS
edgarcostaedgarcosta/skillz/skills/review-protocol/SKILL.md

review-protocol

Skill2 starsChanged 19 days agoMITView on GitHub

Shared lane brief and run script for audit-changes and harden-plan. Not invoked directly.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. KalastajaM/Cluide★ 2same name
    2. spignotti/opencode-workflow-kit★ 0same 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.

The file

Files
SKILL.md

Review Protocol

Finders get finder.md and validators get validator.md, assembled into a lane prompt by python3 <this directory>/scripts/review-run.py brief <run-dir> --lane <name> --type finder|validator --skill <skill>. The order is shared brief, skill addendum, optional lens, snapshot or document copy, then declared source files, applicable raw rule files, and the candidate file for validators. Audit callers use repeated --source <kind>=<file>, repeated --rules <file>, and validator-only --candidate <file>. Source kinds are pr-title, pr-body, pr-thread, and issue. The first lane brief copies source bytes unchanged under <run-dir>/sources/ and records their original paths, kinds, hashes, and stored paths in <run-dir>/sources.json. Each lane receipt at lanes/<lane>.receipt.json references its inputs and records their hashes, stored-copy paths, template and snapshot evidence, and the final prompt hash. Repeat the same --source arguments for each lane: the script compares source kinds and original paths, then reuses the frozen run copies. Do not pass the stored-copy paths. The orchestrator records URL or issue linkage and capture time separately with review-run log; source files remain untouched. Candidate files contain one verbatim candidate section from the original finder output; retain the full finder output separately. Normalization and deduplication are routing bookkeeping only.

For audit prompts, --context and --doc are rejected. Finders reject --candidate; validators require it. verify-brief <run-dir> --lane <name> checks copied inputs and the prompt against the lane receipt. Exit 1 from verify-brief or dispatch means integrity verification failed: discard the lane result and log a coverage gap. Exit 2 from brief means an input is missing or invalid. dispatch <run-dir> --lane <name> verifies the prompt and prints a fixed, short instruction to read and follow the complete prompt at its absolute path. That generated instruction is the entire worker task. Dispatch it unchanged; prompt contents and extra context do not belong in argv or a wrapper. Each finder and validator starts in a fresh context with no inherited conversation and may inspect repository evidence required by its lens. Verify after the worker returns and before counting its result. Local hashes prove recorded bytes and assembly integrity; they do not prove remote authenticity or describe other harness context.

--context and --doc remain available to callers such as harden-plan. Audit callers use the declared source, rule, and candidate inputs instead.

A skill that uses this protocol keeps its own finder-addendum.md beside its SKILL.md, a validator-addendum.md when it runs validator lanes, and one file per lens under lenses/. The addendum carries the skill's target-specific rejects and candidate fields; the brief carries what every lane shares.

The script's other subcommands are new, snapshot, recheck, copy, write, log, verify-brief, dispatch and should-stop; each skill names the ones it uses. copy and write exit 3 without overwriting the document when its current hash differs from the last recorded hash. Exit 2 from any subcommand means a missing file or bad input, named on stderr: the calling skill stops and reports it rather than assembling a prompt by hand.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.