Back to skills
SKILL.md
Toolchain Rust
ASecurityExecutes Cargo toolchains for Rust including cargo check, cargo test, cargo clippy, and cargo fmt formatting.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 21, 2026
Works with
Security analysis
100/100npx -y skills add sun-flat-yamada/dotfiles --skill toolchain-rust --agent claude-codeAre you the author of Toolchain Rust?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sun-flat-yamada-toolchain-rust)---
name: "toolchain-rust"
description: "Executes Cargo toolchains for Rust including cargo check, cargo test, cargo clippy, and cargo fmt formatting."
category: "skill"
status: "active"
alwaysApply: false
globs:
- "**/*.rs"
- "**/Cargo.toml"
- "**/Cargo.lock"
tags:
- "skill"
- "toolchain"
- "rust"
- "build"
- "test"
---
# Skill: Rust Toolchain (`toolchain-rust`)
## Instructions
1. **Compilation Check**:
```bash
cargo check --all-targets --all-features
```
2. **Linting & Formatting**:
```bash
cargo fmt --check
cargo clippy --all-targets --all-features -- -D warnings
```
3. **Automated Testing**:
```bash
cargo test --all-targets --all-features
```
## Best Practices
- Treat all Clippy warnings as fatal errors (`-D warnings`).
- Verify zero panicking `.unwrap()` calls exist outside unit tests.
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.