Skip to content
Back to skills

Reviewing Rust

ASecurity

Provides concise, focused Rust code reviews matching exact task complexity requirements. Use when reviewing Rust code quality, safety, or when the user asks for code review.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentsrustgotestinggitsecurity

Works with

  • claude code

Security analysis

A100/100

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

Scanned September 25, 2026

npx -y skills add qte77/claude-code-plugins --skill reviewing-rust --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Reviewing Rust?

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

Security grade badge for Reviewing Rust
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qte77-reviewing-rust/badge)](https://www.skillsdirectory.com/skills/qte77-reviewing-rust)

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
---
name: reviewing-rust
description: Provides concise, focused Rust code reviews matching exact task complexity requirements. Use when reviewing Rust code quality, safety, or when the user asks for code review.
compatibility: Designed for Claude Code
metadata:
  allowed-tools: Read, Grep, Glob, WebFetch, WebSearch
  argument-hint: [file-or-directory]
  stability: stable
  content-hash: sha256:e3c44dc62159fe501bb2d9ffd531773daf004d180c40f554efbb775b2fd8ce9d
---

# Review Context

- Changed files: !`git diff --name-only HEAD~1 2>/dev/null || echo "No recent commits"`
- Staged files: !`git diff --staged --name-only`

## Code Review

**Scope**: $ARGUMENTS

Delivers **focused, streamlined** Rust code reviews matching stated task
requirements exactly. No over-analysis.

## Rust Standards

See `references/rust-best-practices.md` for comprehensive Rust guidelines.

## Workflow

1. **Read task requirements** to understand expected scope
2. **Check validation passes** before detailed review
3. **Match review depth** to task complexity (simple vs complex)
4. **Validate requirements** — does implementation match task scope exactly?
5. **Issue focused feedback** with specific file paths and line numbers

## Review Strategy

**Simple Tasks (single module)**: Safety, error handling, requirements match,
basic quality

**Complex Tasks (multi-module)**: Above plus architecture, ownership patterns,
async correctness, comprehensive testing

**Always**: Use existing project patterns, check for unsafe blocks

## Review Checklist

**Safety & Security**:

- [ ] No unnecessary `unsafe` blocks (every block has `// SAFETY:` comment)
- [ ] No `unwrap()`/`expect()` in production paths
- [ ] All external input validated at boundaries
- [ ] `cargo audit` clean (no known CVEs)

**Requirements Match**:

- [ ] Implements exactly what was requested
- [ ] No over-engineering or scope creep
- [ ] Appropriate complexity level

**Code Quality**:

- [ ] Follows project patterns in `src/`
- [ ] Proper error handling with `?` and typed errors
- [ ] Ownership/borrowing patterns correct (no unnecessary clones)
- [ ] Tests cover stated functionality

**Structural Health**:

- [ ] No function exceeds cognitive complexity threshold
- [ ] No copy-paste duplication across methods
- [ ] `pub(crate)` used for crate-internal types

## Output Standards

**Simple Tasks**: CRITICAL issues only, clear approval when requirements met
**Complex Tasks**: CRITICAL/WARNINGS/SUGGESTIONS with specific fixes
**All reviews**: Concise, streamlined, no unnecessary complexity analysis

Files in this skill

  • SKILL.md2.4 KB
  • references/rust-best-practices.md6.4 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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.