# Cargo Check

> Cargo Check

- Skill: `rootwarp/cargo-check` (Agent Skill)
- Install (CLI): `npx skillmds@latest add rootwarp/cargo-check`
- Raw SKILL.md: https://api.skillmd.com/api/skills/rootwarp/cargo-check/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: rootwarp (https://skillmd.com/u/rootwarp)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/rootwarp/cargo-check

---

# /cargo-check

Quickly check Rust code for errors without producing binaries.

## Instructions

Run cargo check for fast compilation checking:

```bash
cargo check
```

This is faster than `cargo build` as it skips code generation.

To check all targets including tests and examples:

```bash
cargo check --all-targets
```

If there are errors, analyze them and suggest fixes.

