/dev-tools:rust-reviewfrom dev-tools
Review Rust changes against Agent IX Rust style, repository conventions, behavior, test evidence, safety and concurrency, wire contracts, resource bounds, and required gates. Load rust-style for every Rust review, including repositories with local idioms; use when code-review dispatches on Rust.
Ships in dev-tools. 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.
If this plugin is not initialized or an Agent IX command fails, read the dev-tools setup guide for its prerequisites and local diagnosis.
This is the Rust lane of code-review. Python pytest and mocker checks
do not translate into Rust findings. Load rust-style
for every Rust review and read its references relevant to the changed code.
Then read the repository's AGENTS.md, CLAUDE.md, Rust skill, CONTRIBUTING.md,
clippy.toml, deny.toml, rustfmt.toml, and root Cargo.toml lints where
they exist. Specific repository conventions outrank the published defaults.
An existing implementation that violates a documented rule does not make the
rule stale. Enforce it unless a newer explicit project authority supersedes
it; report conflicting authorities when their intended precedence is unclear.
Read the repository's idiom document as a checklist. Cite the applicable rule when reporting a deviation; compiling and passing tests do not by themselves excuse a rule the project adopted. Use the same checklist before implementing a grammar, protocol, schema, state machine, or decision table: choose a representation whose coverage can be audited directly.
rust-style references and
detailed review checks for the parts of the
change they cover. Inspect callers and tests needed to establish behavior.code-review.For Agent IX repositories, apply the exact requirements in the session's
AGENTS.md instructions under Requirement tags and changing untagged code
and Dependency version moves (on Codex, ~/.codex/AGENTS.md). Use those
sections as the shared authority; do not copy or paraphrase their procedure in
this skill.
When requirement specs and a trace library apply, check the changed functions' criterion links, new tests' trace tags, related code examined, and the PR's list of criteria and tests. For a dependency version move, check the old and new revisions, changed files and public items, local references, focused tests, and the PR's comparison of those results.
For each thing the change decides, produces, consumes or promises, answer:
Look for these counterparts: the same decision made elsewhere (another route, backend or input form, replay, or a hand-written copy of a loop or match); the producer of the input and the consumer of the output; the checker; the requirement and its upstream spec; stored or wire data written by other versions; other repositories in the same dependency graph; and user-facing commands and docs.
The PR lists the counterparts. "None" says what was searched. Check the list and look for a counterpart it misses. A counterpart that disagrees, with a wrong result reachable, is High. A counterpart with nothing that would catch drift is Medium.
One rule, one definition is the case where the counterpart is the same decision. Producer code that decides a result (verdict, outcome, refusal, cause, classification, bound or combination) calls one shared function; a second copy is a finding. A checker is written separately on purpose: calling the producer's decision code is a finding, and its answers are compared with the producer's by a test with hand-derived expected values, including the empty, undefined, limit-reached and boundary cases.
Shared types, boundaries, requirement tags and dependency version moves are also cases of alignment. Their checks are the sections that own them; do not repeat them here.
todo!() or unimplemented!() on a live path. A
TODO comment is a finding when work required by this change remains undone;
a tracked future task alone is not. Check whether a new variant, field, or
rule requires hand-editing several sites. Apply implementation..await, and sync-over-async bridges. Apply
Tokio.high is the shared SpecReview artifact's ceiling, even when the
impact would be described as critical in prose.cargo fmt --check
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test -p <touched crates> # plus the repo's DB/integration lane
cargo deny check # if deny.toml exists
Diff CI workflow files before reviewing code. Removing a lane, narrowing
one (--all-features replacing a --no-default-features lane), adding
continue-on-error, or dropping a matrix entry weakens the gate even when
the remaining suite is green. Report that independently at the severity of
the coverage removed and compare it with the change's requirements.
Run the repository's scripts when they exist instead of approximating them.
Do not pipe test output through tail or head in a way that loses the test
process exit code.
Report findings in a table, most severe first. Each has file:line, a
high/medium/low severity, and the violated rule or concrete failure
scenario. Keep optional style notes outside the findings table.
When run as code-review's Rust lane, fold findings into that skill's one
SpecReview artifact under code-review's SR-NNN id. Do not create a
second artifact or id for the same analysis. Separate gap-analysis or
spec-review analyses still have their own artifacts and ids. When run
standalone, follow the code-review skill's Output section: allocate an id
after checking every existing SR- id, including quoted forms such as
id: "SR-014"; record full scope, including files with no findings; and
use at most one document-level No findings (placeholder)
row at low severity if the schema requires a nonempty table. State the
clean conclusion in ## Verdict.
After a fix round, give every finding a separate ## Dispositions entry:
fixed, rejected: <reason>, deferred: <reason>, or
accepted-no-change. Do not rewrite the original finding to describe its
later outcome. Use a host findings-reporting tool when one exists; otherwise
emit the table and gate results verbatim.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agent-ix/dev-tools --plugin dev-tools15 skills in this plugin
/audit-commentsAudit comments in a repository or bounded code section, remove tautologies and stale notes, convert decision records to ADRs, file issues for hack-enabling excuses, and add a ratcheting lint rule. Use when asked to audit or delete code comments./backport-codeA skill for systematically backporting bug fixes and features across specs, templates, and downstream repositories./code-reviewReview code for Agent-IX Golden Path compliance, focusing on test style, mock boundaries, implementation gaps, and code-test alignment. Dispatches by language — Python inline, Rust via `rust-review`, React via `review-react`.Other plugins' skills for the same job