Run cargo-watch in the background for continuous clippy feedback during code editing.
Scanned 10/6/2026
npx -y skills add juspay/skills --skill cargo-watch --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Cargo Watch?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/juspay-cargo-watch)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
name: cargo-watch
description: Run cargo-watch in the background for continuous clippy feedback during code editing.
---
# Cargo Watch
## Rapid feedback with `just watch`
Run `just watch` in the background at the start of any code-editing task. It launches `cargo watch -x 'clippy --workspace --all-targets'` which automatically re-runs clippy on every `.rs` file change.
Use Bash with `run_in_background: true` to start it, then periodically check `TaskOutput` for compilation errors and clippy warnings as you edit. This catches mistakes early without waiting for a manual clippy run at the end.
## Devshell provides all tools
`cargo-watch`, `rustfmt`, `clippy`, and the full Rust toolchain come from the Nix devshell. No manual installs needed. The justfile auto-detects whether you're inside `nix develop` and wraps commands accordingly.
## Workspace-wide checks
Always use `--workspace --all-targets` flags with clippy/check to cover all crates and all target types (lib, bin, tests, examples).
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!