Repository navigation
skills(review): add /code-review pass scaled to how core the change is - #741
Merged
Merged
Conversation
PR review now runs a /code-review over the diff, with the effort tier matched to how core the change is: peripheral or mechanical changes (docs, config, dependency bumps, test-only) get low/medium; core logic gets high/max. The rule is generic — each repo's guidance or the reviewer's judgment supplies what "core" means. /code-review is a Claude Code built-in the Codex harness lacks, and the review skill is loaded by both harnesses, so the subsection is gated to Claude and tells Codex to skip the pass. No harness change: claude/action.yaml already allows Skill and the review skill already loads skills mid-session. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
tend-agent
approved these changes
Jun 28, 2026
Move the /code-review pass to the top of step 4 and frame the review as running both passes at once (manual checks + /code-review), tied to the "Scale depth to the change" principle directly above. It was previously a trailing subsection after the duplication check, which read as an afterthought rather than a core review mechanism. Harness gate is now inline in the opening sentence. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
tend-agent
approved these changes
Jun 28, 2026
Merged
max-sixty
added a commit
that referenced
this pull request
Jun 29, 2026
Release 0.1.9. Version bump, lockfile sync, and CHANGELOG. Ships 6 commits since 0.1.8: ### Improved - `review` skill runs a `/code-review` pass alongside its manual checks, effort scaled to how core the change is ([#741](#741)) - Default harness timeout rises from 60 minutes to 3 hours ([#739](#739)) - `running-in-ci` recheck guard catches a new directive, not just a duplicate ([#738](#738)) - Both Claude harnesses update to claude-code 2.1.195 ([#740](#740)) ### Fixed - Incremental PR review no longer leaks the base-merge delta (three-dot diff + `git log --no-merges`) ([#735](#735)) ### Documentation - A composite-action comment drops a disproved security claim ([#737](#737)) The `0.1.9` tag is pushed after this merges. Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
PR review now runs two passes at once: its existing manual checks, plus a
/code-reviewover the diff. This is framed at the top of the review step (step 4), tied to the same "scale depth to the change" principle the manual review already uses, rather than tacked on at the end as a separate afterthought. The/code-revieweffort tier is matched to how core the change is: peripheral or mechanical changes (docs, config, dependency bumps, test-only) getlow/medium; changes to the project's core logic gethigh/max. The rule is stated generically — each adopter repo's own guidance, or the reviewer's judgment, supplies what "core" means there, so the bundled skill doesn't hardcode any one project's components.Why
A happy-path manual read approves code that matches its documented behavior but was never run on adversarial inputs. The motivating case: prql-bot reviewed a PR adding
append by:nameto PRQL and approved it after confirming the feature against the documented snapshot. It missed two silent data-loss bugs —from a | select {x, x + 1} | append by:name (from b | select {x, y})silently drops the unnamedx + 1column, andfrom a | append by:name (from b)over unknown schemas compiles to a plain position-basedUNION ALL, ignoringby:name. A structured/code-reviewat an effort matched to the change being core compiler semantics is far more likely to surface that class of bug than a happy-path read.Harness scoping
/code-reviewis a Claude Code built-in — it lives in theclaudebinary, and the Codex harness doesn't have it. The review skill is loaded by both harnesses (Claude invokes it as a slash command; Codex reads it via the$reviewmention), so the guidance is gated to Claude inline in the opening sentence: "a/code-reviewover it (Claude harness only; the Codex harness lacks the command, so skip it there)." Codex self-identifies through itsCodex harness-headed AGENTS.md, so the gate is unambiguous and Codex won't try to invoke a command it lacks.No harness change was needed.
claude/action.yamlalready listsSkillinallowed_tools, and the review skill already loads other skills mid-session, so the pass runs inside the existing review job — this is skill text only.The guidance also steers away from
--comment/--fix(which would post or commit outside the skill's dedup and single-review path) and from theultratier (the human-triggered cloud pass, not an automated CI job).