rust
Rust ecosystem = cargo + rustc + clippy + rustfmt.
When & Why to Use This Skill
This Claude skill provides a comprehensive Rust development environment, integrating the core pillars of the Rust ecosystem: Cargo for package management, rustc for compilation, Clippy for linting, and rustfmt for code formatting. It streamlines the entire software development lifecycle, from project initialization and dependency management to cross-platform compilation and code quality enforcement.
Use Cases
- Project Lifecycle Management: Seamlessly initialize new Rust projects, manage complex dependencies via Cargo.toml, and handle builds for both development and release environments.
- Code Quality & Standardization: Automatically enforce idiomatic Rust patterns using Clippy for static analysis and rustfmt to ensure consistent code styling across teams.
- Cross-Platform Deployment: Configure and execute cross-compilation workflows to build binaries for diverse target architectures, such as ARM-based macOS or Linux systems.
- Automated Testing & Optimization: Run comprehensive test suites and compile high-performance binaries, leveraging Rust's safety and speed for production-grade applications.
| name | rust |
|---|---|
| description | Rust ecosystem = cargo + rustc + clippy + rustfmt. |
| version | 1.0.0 |
rust
Rust ecosystem = cargo + rustc + clippy + rustfmt.
Atomic Skills
| Skill | Commands | Domain |
|---|---|---|
| cargo | 36 | Package manager |
| rustc | 1 | Compiler |
| clippy | 1 | Linter |
| rustfmt | 1 | Formatter |
Workflow
cargo new project
cd project
cargo add serde tokio
cargo build --release
cargo test
cargo clippy
cargo fmt
Cargo.toml
[package]
name = "myapp"
version = "0.1.0"
edition = "2021"
[dependencies]
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
Cross-compile
rustup target add aarch64-apple-darwin
cargo build --target aarch64-apple-darwin
Scientific Skill Interleaving
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
Graph Theory
- networkx [○] via bicomodule
- Universal graph hub
Bibliography References
general: 734 citations in bib.duckdb
Cat# Integration
This skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
GF(3) Naturality
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.