rust-reviewer

Review Rust code for safety, correctness, async behavior, and production reliability.

2|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/gajjalaashok75-UI/GakrCLI --skill rust-reviewer-gajjalaashok75-ui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-reviewer
Source: https://github.com/gajjalaashok75-UI/GakrCLI/tree/main/assets/skills/rust-reviewer
Command: npx skills add https://github.com/gajjalaashok75-UI/GakrCLI --skill rust-reviewer-gajjalaashok75-ui

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill helps you review Rust code for correctness, safety, and reliability so you can catch ownership mistakes, async hazards, and production risks before they reach users.

Core Features & Use Cases

  • Safety and correctness review: Checks borrowing, lifetimes, error handling, panics, and data corruption risks in Rust libraries, CLIs, services, and systems code.
  • Async and concurrency analysis: Evaluates task lifetimes, cancellation, backpressure, blocking calls, and Send assumptions in concurrent Rust code.
  • Performance and maintainability guidance: Flags unnecessary clones, hidden allocations, feature-flag issues, MSRV concerns, and reproducibility problems.
  • Use case: Review a pull request for a Rust CLI to identify unsafe code issues, fragile unwraps, and missing tests before merging.

Quick Start

Ask me to review the changed Rust code and highlight correctness, safety, async, performance, and test gaps with concrete fixes.

Frequently Asked Questions about rust-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Rust code for ownership and lifetime safety issues?

Reviewing Rust code for ownership and lifetime safety involves checking borrowing rules, verifying unsafe invariants, and identifying data corruption risks before merging changes. This process targets fragile unwraps and hidden panics to ensure correctness.

How do I check async Rust code for blocking calls and cancellation hazards?

Checking async Rust code requires evaluating task lifetimes, cancellation behavior, backpressure, blocking calls, and Send assumptions in concurrent environments. This analysis identifies async hazards that could compromise production reliability.

Can I use a code review process to verify unsafe invariants in Rust systems code?

Yes, reviewing unsafe Rust code in systems code involves verifying unsafe invariants, checking dependency features, and validating MSRV assumptions. This ensures that unsafe blocks maintain their safety contracts and do not introduce memory vulnerabilities.

What is the best way to catch hidden allocations and feature-flag issues in a Cargo workspace?

Catching hidden allocations and feature-flag issues in a Cargo workspace requires flagging unnecessary clones and verifying dependency feature combinations. This maintainability guidance prevents reproducibility problems and performance regressions in Rust libraries.

Does Rust code review cover MSRV assumptions and targeted test coverage for CLIs?

Yes, Rust code review covers MSRV assumptions and evaluates targeted test coverage for CLIs and services. It identifies missing tests and fragile unwraps, ensuring production reliability and correctness before changes reach users.