Skip to content
Back to skills

Cargo Rust

ASecurity

Rust package manager and build system. Cargo commands, dependency management, and workspace patterns.

  • 61 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 6, 2026
toolsrustgobashtesting

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add plurigrid/asi --skill cargo-rust --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cargo Rust?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cargo Rust
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/plurigrid-cargo-rust/badge)](https://www.skillsdirectory.com/skills/plurigrid-cargo-rust)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1 KB
  • SKILL.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.