review

Solid

Review the current diff against procoder's four rungs — SAFE, TRUE, OBVIOUS, ALONE. Use when the user says "procoder review", "review my changes", "review this diff", "is this safe to ship", "check this diff", "review before commit", "review my staged changes", or invokes /procoder:review. Reviews changed code only; use /procoder:audit for the whole repo.

Code & Development 202 stars 15 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 84/100

Stars 20%
77
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# procoder:review Review the diff. Every rung must hold before it ships. ## Procedure 1. **Get the diff.** `git diff --stat HEAD` for scope; `git diff HEAD` for content. If nothing is uncommitted, review `git diff origin/main...HEAD` instead and say which range you reviewed. If `$ARGUMENTS` named a range or path, use that. 2. **Read what the diff claimed to do**, before judging how it does it: the commit message, the PR body, the task, or the request that produced it. Then name the two gaps, both of which are findings: - behavior in the diff that the stated goal does not ask for — a renamed symbol nobody asked to rename, a second fix riding along, a default quietly changed; - a part of the stated goal the diff does not deliver. Report either as `[2 TRUE]` with `(scope)` before the message. Code that is correct and does something other than what was asked is the failure mode of generated diffs, and no other rung looks for it. 3. **Run the engine.** `node <plugin>/bin/procoder.js check <changed files>`. These findings are deterministic — report them verbatim, in the order given. Do not re-derive by eye what the engine already computed, and do not omit a finding because it looks minor. The engine exits 1 when a finding blocks at the active level; that alone blocks the ship. It exits 0 at `pragmatic` when only OBVIOUS and ALONE findings remain — still report them, as advisory. 4. **Read the diff for what the engine cannot se...

Details

Author
azrtydxb
Repository
azrtydxb/procoder
Created
3 weeks ago
Last Updated
today
Language
Go
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category