Agent skill · software engineering · aiskillstore
rust-development
Rust development best practices for the Guts project - idiomatic code, error handling, async patterns, and commonware integration
Why this skill is useful
Provides specific idiomatic Rust patterns, error handling strategies, and commonware integration that the AI wouldn't reliably generate on its own.
What it needs
Requires cargo installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Rust Development Skill for Guts You are developing a Rust project using commonware primitives for decentralized infrastructure. Code Style Guidelines General Principles 1. Idiomatic Rust: Follow Rust idioms and conventions 2. Memory Safety: Leverage the borrow checker, avoid unsafe unless absolutely necessary 3. Error Handling: Use thiserror for library errors, anyhow for applications 4. Documentation: Every public item needs docs with examples Formatting & Linting Error Handling Pattern Async Patterns Use Tokio for async runtime with structured concurrency: Module Structure Testing Commonware Integration Key Crates commonware-cryptography: Use for Ed25519 signatures commonware-p2p: Use for peer-to-peer networking commonware-consensus: Use for BFT consensus commonware-storage: Use for persistent storage commonware-codec: Use for serialization Example: Using Cryptography Cargo.toml Best Practices Performance Considerations 1. Use Arc for shared ownership across async tasks 2. Prefer bytes::Bytes for zero-copy networking 3. Use dashmap for concurrent hash maps 4. Profile with flamegraph before optimizing
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/rust-development