review-correctness
Skill0 starsChanged 2 months agoMITView on GitHub
Review Jujutsu revision changes from jj show and report correctness and completeness defects.
In this repository11 other files it gives its agents.
- handoffSkill
- implem-brakeSkill
- resume-handoffSkill
- review-auto-loopSkill
- review-docsSkill
- review-judgeSkill
- review-readabilitySkill
- review-testsSkill
- rust-project-maintenanceSkill
- settle-discussionSkill
- summarize-changeSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Follow the common review instructions: @../review-common.md
- Distinctive: line 18
does not do what it is meant to do: wrong logic, inverted condition, off by one, misused API
- Distinctive: line 27
Only report a defect if you can describe the concrete scenario that triggers it, and its consequence
- Distinctive: line 28
Do not report a bare suspicion: either exhibit the triggering input, or name what blocked you from confirming it
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 correctness of Jujutsu changes
Review the Jujutsu changes for the target revision, and report defects that make the code behave incorrectly or incompletely.
Follow the common review instructions: @../review-common.md
Main goals
Take the revision description and the surrounding code as the statement of intent, and find code that:
- does not do what it is meant to do: wrong logic, inverted condition, off by one, misused API
- breaks on states it should handle: edge case, empty or missing value, overflow, concurrent access
- silently ignores an error or abnormal condition instead of surfacing it
- is incomplete: unhandled case, code path left unimplemented, change applied in one place but not in its siblings
- reaches for a fragile or suboptimal pattern when a sound alternative exists: a polling loop with a sleep call where an event, condition variable or blocking wait would do
- carries algorithmic complexity that can explode at runtime on realistic inputs when a lower complexity alternative exists: a quadratic scan inside a loop where a set lookup or precomputed index would do
Guidelines
- Only report a defect if you can describe the concrete scenario that triggers it, and its consequence
- Do not report a bare suspicion: either exhibit the triggering input, or name what blocked you from confirming it
- Flag algorithmic complexity only when a realistic input can make its cost explode and a better alternative exists; small performance micro optimizations are out of scope
- Anchor severity to what the defect does when it triggers:
criticalfor data loss, corruption, a crash, a hang or a security hole on a path ordinary use reaches;majorfor a wrong result or a stall on a plausible input;minorfor a defect whose trigger is far-fetched or whose consequence the caller absorbs - Stay on correctness: readability, documentation and test coverage are covered by other review domains
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.

