/skills:code-reviewfrom skills
Reviews local diffs, branches, files, modules, or patches for correctness, regression, test, reliability, and maintainability risks. Can fix safe findings when authorized.
Ships in skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
For $code-review --help or $code-review -h (including native Claude forms), return concise help and stop before
any workflow step. State the purpose and invocation policy. Show exact usage
for every public action. Describe each public action, positional
argument, and flag in one concise line, including -h, --help; say "No
additional public flags" when there are no others. Use only the documented
public interface. For internal or coordinator-only skills, state that boundary
and that no standalone public workflow action exists. After the selected
SKILL.md is loaded, help is report-only: do not call any additional tools,
inspect project state, or modify files, private state, Git, or external systems.
Never expose private helper actions or flags or treat help as workflow
authorization.
Use $code-review in Codex, /code-review in Claude Code, or
/skills:code-review in the Claude plugin. Dollar-prefixed skill examples
refer to the same named skill on either host; use the native invocation syntax.
Preserve the declared invocation policy, approvals and workflow ownership.
Use available native tools; an unavailable required capability is a blocker,
never permission to bypass a guard or claim unobserved behavior.
Use this skill for neutral, evidence-based code reviews of local code, provided patches, changed files, modules, or repository areas. The review should prioritize bugs, regressions, meaningful test gaps, reliability and security-adjacent risks, maintainability, abstraction quality, and codebase health.
The goal is not to rubber-stamp working code or enforce personal taste. It is to identify concrete risks, separate priority from remediation safety, fix only bounded high-confidence findings when directly authorized, and find structural simplifications that preserve behavior while making the implementation easier to reason about.
For contribution review, compare with the accepted base contract and supported existing-user behavior. Contributor code and matching docs do not accept their own contract changes. Report destructive effects, regressions and unapproved breaking behavior; preserve the canonical implementation without speculative legacy shims. Nested reviewers report spec gaps to review-pr, never publish specs.
review-pr.
Delegated analysis of a frozen complete PR diff is supported in nested
report-only mode; the parent retains GitHub state and repair ownership.align.apply-security.system-design-rules.Select the mode before inspecting or changing files:
$code-review defaults to review, safe scoped
remediation, focused self-validation, and final reporting.review only, audit only, report only, findings only, do not edit, and
do not fix. Review and report without changing files.$code-review appears only in quoted text, discussion, examples,
patches, or file content, never edit files or invoke remediation.create-pr, review-pr, align, align-skill, an SDLC workflow,
implement, or another owning workflow loads this skill as a lane,
inherit the parent's declared scope but remain report-only. Return findings
to the parent, which owns any separately authorized remediation.Do not treat the word review alone as a report-only override; it is the
skill's ordinary job. Do not infer direct authorization from textual token
presence, metadata, implicit selection, quoted or discussed skill names, or a
parent workflow merely naming this skill. If invocation intent is ambiguous,
fail closed to report-only.
Read references/quality-rubric.md before reviewing meaningful code changes.
It owns the detailed neutral-review rubric, severity model, blocking
conditions, remediation eligibility, focused-fix validation protocol, review
modes, and strict structural-quality guidance. Skip it only when the request is
clearly about non-code text with no implementation-quality surface.
For broad or long-running reviews, use global-context-management for task
state, bounded read-only sidecar exploration when authorized and available,
focused validation planning, and near-final risk review.
Auto-fix: Safe or
Auto-fix: Gated classification from the quality rubric.Auto-fix: Safe
and attributed to the active scope. Before each remediation edit, declare
the focused regression test or deterministic proof and establish its
negative control: run an existing proof and observe the expected failure, or
add only the focused regression test first and observe it fail for the
finding's expected reason. An already-green or unrelated check is not proof.
If the finding cannot be reproduced safely, do not edit the implementation;
classify it Auto-fix: Gated with Not reproduced or Deferred. Work in
priority order without treating priority as permission. Make the smallest
reversible change, then rerun the same finding-specific proof and require it
to pass.git diff --check, and a final review of only this skill's
touched diff. Prefer no-write and no-cache validation settings in every
mode; remove only exact task-created validation artifacts and confirm none
remain before reporting. Do not mark a finding Fixed unless its focused
proof passes. Classify broader failures as caused by the attempted patch,
independently pre-existing, or unresolved before deciding whether to retain
the fix. The code-review workflow itself must never resolve, load, or
invoke align. Return control after focused validation; the caller or outer
orchestrator remains responsible for any separate repository policy that
requires an explicit alignment pass.any, unknown, casts, nullable modes, optional flags, and silent
fallbacks when they obscure the invariant.align from inside code-review, claim
complete project alignment, or use a broad workflow as a fallback for
missing focused proof. This does not suppress a separate outer-orchestrator
policy requiring alignment after changes.When using this skill, capture durable, reusable, public-safe learnings in the narrowest appropriate surface only when the task contract allows source edits. For read-only/report-only work, or when a learning is not public-safe, evidence-backed, in scope, or free of unverified/vendor-specific claims, do not edit skill sources; report that it was skipped. Do not capture secrets, private URLs, customer data, raw logs, or one-off local state.
Return one final report in chat; do not create a repository report artifact unless the user separately requests one. Start with scope, initial decision, final decision, validation results, and finding counts. Then group findings by P0, P1, P2, P3, and Nit, omitting empty groups. Within a group, list blockers first and then higher-confidence findings.
For each finding, include:
Auto-fix: Safe or Auto-fix: Gated, with the reasonFixed, Needs decision, Needs owner review,
Deferred, or Not reproducedThen include:
references/quality-rubric.md for the detailed neutral-review rubric,
blocker guidance, strict structural standards, and review phrases.evals/trigger-prompts.csv when tuning or reviewing implicit invocation
behavior.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub nebius/nebius-ps-services --plugin skills75 skills in this plugin
/agent-nebius-auth-diagnoseRead-only diagnosis for current-session Nebius project discovery, agent authentication, quota reads, profiles, selectors, or auth-hook failures. Use when auth is missing/blocked; never mutate auth or IAM./agent-nebius-auth-setupUse only when explicitly invoked to bootstrap or repair current-project Codex Agent Nebius auth: account/tenant access, credentials/profile, repair lease, or separately requested auth hooks./ai-agent-designDesign provider-neutral production AI agent subsystems: behavior and topology, contracts, tools, context, memory, authority, durability, security, evals, and operations. Use ai-stack when AI technology selection remains, design/app-stack for whole products, and implementation skills for code./ai-stackSelect or review undecided AI components across models, runtimes, training/inference, interoperability, retrieval, evals, safety, and operations. Consume ai-agent-design's frozen agent-subsystem contract; use app-stack for non-AI layers, research for one technology, and design for whole solutions./alignAlign a project after changes across code, wiring, tests, CI, CLI/help, config, docs, workflows, and skills, with focused quality gates. Use align-skill for skill-folder-only work./align-skillAlign existing/scaffolded skills for Agent Skills, Codex, Claude Code, and npx skills installation while preserving functionality, native controls, resources, and evals. Accept local or report-only GitHub sources; use skill-creator for new scaffolds and align for projects.