agentleFS
sonichisonichi/sutando/skills/review-preflight/SKILL.md

review-preflight

Skill396 starsChanged 6 months agoMITView on GitHub

Review tooling for a PR: review-preflight prints REVIEW.md's criteria and the PR's live gate state before a review; ci-triage maps a PR's failing checks to already-filed issues.

The file

Files
SKILL.md

review-preflight

Two tools, invoked by path; neither is a boot dependency of the core.

Why the preflight exists, and why it is a script rather than a reminder. Consulting the review criteria used to rely on memory, so it was skipped exactly where it felt safe to skip -- small diffs -- and a readiness verdict with the criteria unread is an over-claim rather than a fast review. The owner caught that same miss more than once and asked directly whether the review skill had been used. Successive "be more careful" fixes did not hold, because the failure is not inattention: a reviewer who believes the diff is small has no prompt to re-read anything. Printing the criteria and the PR's live gate state is what makes the step unskippable, so the guarantee is structural rather than disciplinary.

python3 skills/review-preflight/scripts/review-preflight.py <PR>      # run before reviewing; reads <repo>/REVIEW.md
python3 skills/review-preflight/scripts/ci-triage.py <PR> [--repo o/n] # a red check is a pointer into the record: search its SUBJECT, not its name

review-preflight.py resolves the repo root via git rev-parse --show-toplevel, falling back to three levels above its own file. ci-triage.py is advisory (exit 0), and is the module review-preflight will fold in so a red check maps to a filed issue on every preflight run.

Moved here from scripts/ on the owner's decision (2026-09-04: "both review-preflight and ci-triage don't belong to scripts/"); scripts/review-preflight.py and scripts/ci-triage.py remain as two-line exec shims for one release so external callers (the pr-triage skill, peers' notes) keep working until they are repointed.

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.