tattooinmtl/dariusai/rust
Claude Code and agent skill by tattooinmtl/dariusai
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Production Rust 2021 edition codebase starter, Cargo workspace, Tokio async, Serde, Clippy, cargo-test, safety guarantees, and harness verification for Rust systems programming.
Install
npx vskill@latest install tattooinmtl/dariusai/rustSKILL.md
The same SKILL.md was published earlier as tattooinmtl/dariusai/rust.
Rust Codebase & Engineering Skill
Comprehensive operational guide, starter architecture, best practices, and harness controls for high-performance Rust systems engineering.
1. Stack Overview & Dependencies
- Compiler & Edition: Rust 2021 Edition (
rustc/cargo) - Async Runtime:
tokio(withfullfeatures) - Core Dependencies:
serde+serde_json: Derivation for high-speed serializationtracing+tracing-subscriber: Structured async diagnostics logginganyhow/thiserror: Ergonomic error handlingreqwest/axum: Async HTTP client / server frameworkcargo-clippy: Strict static analysis lintercargo-fmt: Official code formatter
2. Standard Codebase Structure
3. How-To Workflows
Build Project
Run Executable
Static Analysis & Formatting
Testing & Verification
4. Best Practices & Design Patterns
- Ownership & Borrow Checker: Prefer references (
&T,&str,&[T]) over cloning heavy types unless ownership transfer is explicitly required. - Error Handling with `Result<T, E>`: Avoid
.unwrap()or.expect()in production code paths. Use?operator andthiserrorfor custom domain error enums. - Type State Pattern: Use generic type parameters to enforce object state transitions at compile time (e.g.
Order<Draft>vsOrder<Submitted>). - Tokio Async Concurrency: Use
tokio::spawnfor independent tasks andtokio::select!for multiplexing async futures. - Zero-Cost Abstractions: Leverage iterators (
.map(),.filter(),.fold()) which compile down to optimal machine code without heap allocations.
5. Tips, Tricks & Pitfalls
- Deadlock in Async Locks: Never hold a
std::sync::MutexGuardacross an.awaitpoint. Usetokio::sync::Mutexor scope the lock block. - Cargo Check vs Build: Use
cargo checkduring fast dev loops to check types without compiling binary artifacts. - Unsafe Code Audit: Mark
unsafeblocks explicitly with safety comments justifying memory guarantees.
6. Harness Hooks & Safety Enforcement
- PreToolUse Guard: Run
cargo checkbefore allowing release compilation. - PostToolUse Verification: Trigger
cargo clippyandcargo testautomatically after Rust code edits.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaddon/skills/codebase-starters/rust/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tattooinmtl/dariusai/rust)