← Back to Skills Marketplace
anderskev

Rust Code Review

by Kevin Anderson · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ Security Clean
237
Downloads
0
Stars
2
Active Installs
4
Versions
Install in OpenClaw
/install rust-code-review
Description
Reviews Rust code for ownership, borrowing, lifetime, error handling, trait design, unsafe usage, and common mistakes. Use when reviewing .rs files, checking...
Usage Guidance
This is an instruction-only Rust review checklist that will have the agent read your repository files (Cargo.toml and .rs sources) to produce findings. Before installing, consider: (1) Are you comfortable granting the agent access to the codebase being reviewed? (2) The skill references other helper skills (beagle-rust:...), so behavior may vary if those helper skills are present — review their SKILL.md if you use them. There are no network endpoints, external downloads, or credential requests embedded in this skill. If you want to limit scope, invoke the skill only on specific files or review the SKILL.md and reference documents yourself before allowing autonomous runs.
Capability Analysis
Type: OpenClaw Skill Name: rust-code-review Version: 1.0.3 The 'rust-code-review' skill bundle is a comprehensive and well-structured toolset designed to guide an AI agent through professional Rust code audits. It includes a detailed workflow in SKILL.md and extensive reference materials (e.g., unsafe-deep.md, async-concurrency.md, error-handling.md) that promote security best practices, such as documenting safety invariants and avoiding panics in production. There is no evidence of malicious intent, data exfiltration, or prompt injection; the instructions are strictly aligned with the stated purpose of improving code quality and soundness.
Capability Assessment
Purpose & Capability
Name/description (Rust code review) matches the files included and runtime instructions: it reads Cargo.toml, inspects .rs files, and uses internal reference docs. No unrelated binaries, env vars, or external services are requested.
Instruction Scope
SKILL.md instructs the agent to open Cargo.toml, scan changed/full functions, and follow a sequenced gate/verification protocol. Those file reads are necessary and proportional for a code-review skill. The instructions reference other helper skills (beagle-rust:...) but do not direct data to unknown external endpoints or request unrelated system state.
Install Mechanism
No install spec and no code files (instruction-only), so nothing is written to disk or downloaded during install — lowest-risk install model.
Credentials
The skill declares no required environment variables, credentials, or config paths. The SKILL.md only asks the agent to read repo files (Cargo.toml, .rs sources) which is consistent with the stated purpose.
Persistence & Privilege
always:false and default invocation settings mean it will not be force-included. The skill does not request to modify other skills or agent-wide configs, nor does it ask for long-lived credentials.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rust-code-review
  3. After installation, invoke the skill by name or use /rust-code-review
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.3
Version 1.0.3 - Added a "Gates" section with step-by-step verification stages to strengthen review rigor. - Clarified that reviewers must explicitly pass each gate before proceeding, not relying on mental shortcuts. - Updated the review workflow to require completion of all Gates—including loading the verification protocol—before reporting findings. - Emphasized objective pass criteria and explicit crate context determination for edition/MSRV-sensitive analysis. - No changes to checklists or technical coverage; procedural improvements only.
v1.0.2
- Added new references: concurrency primitives, lifetime variance, type layout, and advanced unsafe code for deeper code review coverage. - Updated guidance for Rust 2024 edition, including changes to unsafe code semantics, lifetime capture in RPIT, temporary scoping, and trait diagnostics. - Expanded checklist items addressing new edition-specific patterns and pitfalls. - Enhanced quick reference table for easier navigation to specialized review topics. - Clarified error handling, trait best practices, and type/state pattern usage based on latest Rust idioms.
v1.0.1
- Expanded checklist for ownership and borrowing, emphasizing iterator usage and `.clone()` pitfalls. - Added references to beagle-rust:rust-best-practices for performance, pointer types, type state, and clippy config guidance. - Updated Quick Reference and Checklist to clarify when to use each reference and best-practices skill. - Introduced dedicated Clippy Configuration and Type State Pattern sections, including workspace lints setup and type state best practices. - Improved checklist detail and clarity around iterator chains, lifetime handling, and common performance traps.
v1.0.0
- Initial release of rust-code-review skill. - Provides a structured checklist for reviewing Rust code with focus on modern idioms (Rust 2021). - Covers ownership, borrowing, lifetimes, error handling, trait design, unsafe code, naming/style, performance, and linting. - Includes severity calibration for faster triage and best practice recommendations. - Offers quick reference to supporting documentation for ownership, error handling, async/concurrency, and common mistakes. - Specifies valid patterns that should not be flagged during reviews to reduce false positives.
Metadata
Slug rust-code-review
Version 1.0.3
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 4
Frequently Asked Questions

What is Rust Code Review?

Reviews Rust code for ownership, borrowing, lifetime, error handling, trait design, unsafe usage, and common mistakes. Use when reviewing .rs files, checking... It is an AI Agent Skill for Claude Code / OpenClaw, with 237 downloads so far.

How do I install Rust Code Review?

Run "/install rust-code-review" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Rust Code Review free?

Yes, Rust Code Review is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Rust Code Review support?

Rust Code Review is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Rust Code Review?

It is built and maintained by Kevin Anderson (@anderskev); the current version is v1.0.3.

💬 Comments