# review-crate

review-crate reads every file in a Rust crate, runs tests, and reports bugs with exact line numbers. Use it to catch logic errors, panics, race conditions, and validation gaps that unit tests miss.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 115 installs · ★ 5 repo stars
- Author: ulpi-io
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ulpi-io/skills/tree/HEAD/review-crate/SKILL.md
- Updated: 2026-08-31
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/review-crate

## What it does

review-crate enumerates and reads every file—from `Cargo.toml` through source, tests, and local docs. It then runs `cargo test` and analyzes the results. Each finding includes category (correctness, panic, validation, race, data-corruption), severity, and the exact code location: `file:line`. Before writing to the issue file `.ulpi/issues/<crate-name>.md`, it checks for duplicates.

The skill runs in its own forked analysis thread with a separate token budget, so it does not starve the main workflow. Every claim must ground in real code; uncertain conclusions are marked INFERENCE with an explanation. It does not invent bugs from intuition or write findings outside your repository.

Use it before a release or when you suspect hidden problems in a single crate. It is not a multi-crate sweep tool and does not cover ad-hoc diff review.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill review-crate -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/review-crate/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/review-crate/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill review-crate -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/review-crate/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill review-crate -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/review-crate/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ulpi-io/skills review-crate
```

2. **Manually: put the files in place**
- File: `.github/skills/review-crate/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill review-crate -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ulpi-io/skills --path review-crate
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/review-crate/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ulpi-io/skills --skill review-crate -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ulpi-io/skills/tree/HEAD/review-crate/SKILL.md

## When to use it
- identify logic bugs and data validation failures in a Rust crate
- spot race conditions and state management issues
- find code paths that can panic or crash
- detect gaps in test coverage for risky code
- document issues with exact file and line references

## Example prompts
- /review-crate crates/hgdb-storage
- Deep audit this crate—read all files, run tests, report findings
- Review the entire async-pool crate end to end and write the issue file

## Similar
- [rust-best-practices](https://affpapa.org/en/nevibecode/skills/rust-best-practices.md) — skill · 23400 installs
- [rust-crate-ci](https://affpapa.org/en/nevibecode/skills/rust-crate-ci.md) — skill · ★ 539 repo stars
- [verify](https://affpapa.org/en/nevibecode/skills/mag123c-verify.md) — skill · ★ 196 repo stars
- [implement](https://affpapa.org/en/nevibecode/skills/mag123c-implement.md) — skill · ★ 196 repo stars
- [rust-review](https://affpapa.org/en/nevibecode/skills/rust-review.md) — skill · 2700 installs
- [run-rust-tests](https://affpapa.org/en/nevibecode/skills/run-rust-tests.md) — skill · ★ 6244 repo stars

From the same set: [ulpi-io/skills](https://affpapa.org/en/nevibecode/by/ulpi-io/skills.md) — 49 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
