Back to skills
SKILL.md
Cargo Rust
ASecurityRust package manager and build system. Cargo commands, dependency management, and workspace patterns.
- 61 stars
- 0 votes
- 0 copies
- 6 views
- Added September 6, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add plurigrid/asi --skill cargo-rust --agent claude-codeAre you the author of Cargo Rust?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/plurigrid-cargo-rust)---
name: cargo-rust
description: "Rust package manager and build system. Cargo commands, dependency management, and workspace patterns."
metadata:
trit: -1
version: "1.0.0"
bundle: tooling
---
# Cargo Rust Skill
**Trit**: -1 (MINUS - build verification and constraint checking)
**Foundation**: Cargo + rustc + crates.io
## Core Concept
Cargo manages Rust projects with:
- Dependency resolution
- Build orchestration
- Testing and benchmarking
- Publishing to crates.io
## Commands
```bash
# Build
cargo build
cargo build --release
# Test
cargo test
cargo test --lib
# Check (fast)
cargo check
cargo clippy
# Run
cargo run
cargo run --release
# Add dependency
cargo add serde
cargo add serde --features derive
```
## Workspace Pattern
```toml
# Cargo.toml (workspace root)
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.dependencies]
serde = { version = "1.0", features = ["derive"] }
```
## GF(3) Integration
```rust
fn trit_from_build(result: &BuildResult) -> i8 {
match result {
BuildResult::Error(_) => -1, // MINUS: compilation failure
BuildResult::Warning(_) => 0, // ERGODIC: warnings
BuildResult::Success => 1, // PLUS: clean build
}
}
```
## Canonical Triads
```
cargo-rust (-1) ⊗ acsets (0) ⊗ gay-mcp (+1) = 0 ✓
cargo-rust (-1) ⊗ nickel (0) ⊗ world-hopping (+1) = 0 ✓
```
Files in this skill
- CONCOMITANT_SKILLS.md
- SKILL.md
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.