Skip to content
Back to skills

Code Review

ASecurity

CI code-review lane for a GitHub pull request. High-signal correctness and maintainability findings only, scoped out of security when a security lane exists. When the bundled code-review skill resolves in this session, prefer it for a session-driven review of the current diff or a named PR; this skill for the CI lane a reusable workflow runs on one PR. Use when: 'CI code review', 'claude-review lane', '/review:code-review', or a reusable workflow invokes the org code-review plugin command.

  • 13 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsgobashcode-reviewgitsecurity

Works with

  • claude code
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add melodic-software/claude-code-plugins --skill code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/melodic-software-code-review/badge)](https://www.skillsdirectory.com/skills/melodic-software-code-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: "CI code-review lane for a GitHub pull request. High-signal correctness and maintainability findings only, scoped out of security when a security lane exists. When the bundled code-review skill resolves in this session, prefer it for a session-driven review of the current diff or a named PR; this skill for the CI lane a reusable workflow runs on one PR. Use when: 'CI code review', 'claude-review lane', '/review:code-review', or a reusable workflow invokes the org code-review plugin command."
user-invocable: true
disable-model-invocation: false
allowed-tools: ["Bash(gh pr diff:*)", "Bash(gh pr view:*)", "Bash(gh pr comment:*)", "Bash(gh pr review:*)", "Read", "Glob", "Grep"]
metadata:
  workflow-stage: review
  summary: Org CI code-review lane command for a GitHub pull request
---

# CI code review (`/review:code-review`)

Org-owned review logic for the `claude-review` reusable workflow. The lane's
workflow wrapper supplies `REPO` / `PR NUMBER` /
`HEAD SHA` and the event-class reporting mechanics (inline-comment MCP on
`pull_request`, `gh pr review`/`gh pr comment` on `workflow_dispatch`). This
skill owns **what to look for**; the wrapper owns **how to post**.

## Boundary, the bundled `code-review` skill

Two native Claude Code review surfaces share this lane's name, and the three get conflated on any
open pull request:

- **`code-review` (bundled skill, alias `/review`)**: a developer runs it in their session against
  the current diff, a PR number, a branch, or a path; bare, it reports into the session. `--fix`
  edits the working tree, `--comment` posts inline comments on the PR as that developer, and `ultra`
  launches a cloud review. Claude may start it on its own where the session allows.
- **Managed Code Review (GitHub App service).** An org-level research preview on Team and
  Enterprise plans that reviews pull requests on its own triggers and posts inline findings.
- **This skill (marketplace plugin).** The review logic the `claude-review` reusable workflow runs
  in CI. The wrapper supplies the target and owns posting; this skill owns what to look for.

**Routing.** This skill runs where a CI workflow invokes it and on the operator's seat when a repository's mandatory-skill map names it. In a session, when the bundled
`code-review` skill resolves, prefer it for a local review before pushing; prefer this lane's
criteria when the question is what the CI review will flag. The two do not chain: the wrapper
never invokes the bundled skill, and a session review never posts through this lane.

**Mutation gate.** `--fix` and `--comment` mutate the tree or the PR, and the managed service
posts a full review. This lane posts only through its wrapper's mechanics, so never invoke the
bundled skill's flags or trigger the managed service on this lane's behalf.

**Availability is never assumed.** Bundled surfaces are gated by settings, environment, plan, and
host; this section states what to do when one resolves, never that it is present. The four-part
records behind these statements live in
[reference/bundled-code-review.md](reference/bundled-code-review.md).

## Gotchas

- Command/skill frontmatter `allowed-tools` grants permission but does **not**
  install the inline-comment MCP server. That server only installs when named
  in the action's `claude_args` (`--allowedTools
  mcp__github_inline_comment__create_inline_comment`). Rely on the lane
  wrapper's grant; do not assume this frontmatter installed it.
- Scope security findings **out** of this lane wherever the consumer runs a
  separate security lane, and leave those to `/review:security-review`. Where no
  security lane runs, report them here: a suppressed finding would have no other
  reader.

## Skip gate (cheap)

Before deep review, stop early when any of these hold (say so in the summary and
post nothing else):

1. PR is closed or not open
2. PR is a draft
3. Change is trivial/automated with no meaningful review surface
4. This head already has a successful review from this lane that still applies

## Criteria

This is the CODE-REVIEW lane. Review the pull request for correctness and
alignment with the project's `CLAUDE.md` guidelines (and `REVIEW.md` criteria
when present). Focus on architecture decisions, error handling, test coverage,
and maintainability. Where `REVIEW.md` splits review scope across lanes, follow
that split: it scopes security review to the dedicated security lane wherever
one runs, and folds security findings back into this lane where none does.

Scope the review to files changed in this PR. Use `gh pr diff` to identify what
changed, then review those files. Do not explore unrelated parts of the
codebase.

Never restate the PR author's own claimed verification (e.g. a Test plan's
described commands or output) as evidence you independently confirmed. Only
claim to have verified something you yourself ran with a tool available to you;
label anything else as author-claimed and unverified.

## High-signal bar

Report only findings a careful senior reviewer would block or flag. Each finding
gives the file and line, why it is wrong, and how to show it fails (the input,
caller, or command that produces the wrong result). Exclude:

- Anything a linter, formatter, typechecker, or trivial static check catches
- Pre-existing issues on untouched lines
- Generic advice, style nits, and "consider adding tests" without a concrete gap
- Security findings that belong on the security lane (see "Gotchas" above)

## Adversarial validation

When you fan out subagents for candidate findings, the producer of a finding
must not be the verifier. Drop candidates the verifier rejects. Committable
suggestion fences (GitHub `suggestion` code blocks) are allowed only when the
suggestion alone fully fixes the finding on the anchored lines.

## Reporting

Follow the reporting mechanics the workflow wrapper appended to the prompt
(inline MCP tool vs `gh`). Keep the summary comment for overview and
cross-file / whole-PR findings; use commit-blob permalinks with the supplied
HEAD SHA for locations no changed line can carry.

Files in this skill

  • SKILL.md3.8 KB
  • evals/evals.json2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…