Comprehensive Rust development expertise covering core principles, patterns, error handling, async programming, testing, and performance optimization. Use when working on Rust projects requiring guidance on: (1) Language fundamentals (ownership, lifetimes, borrowing), (2) Architectural decisions and design patterns, (3) Web development (Axum, Actix-web, Rocket), (4) AI/LLM integration, (5) CLI/TUI applications, (6) Desktop development with Tauri, (7) Async/await and concurrency, (8) Error handling strategies, (9) Testing and benchmarking, (10) Performance optimization, (11) Logging and observability, or (12) Code reviews and best practices.
From devsnpx claudepluginhub aaronbassett/agent-foundry --plugin devsThis skill uses the workspace's default tool permissions.
assets/configs/clippy.tomlassets/configs/deny.tomlassets/configs/rustfmt.tomlreferences/ai-llm.mdreferences/async-patterns.mdreferences/cli-tui.mdreferences/code-review.mdreferences/common-errors.mdreferences/crates-core.mdreferences/dependencies.mdreferences/desktop-tauri.mdreferences/error-handling.mdreferences/logging-observability.mdreferences/naming.mdreferences/patterns.mdreferences/performance.mdreferences/principles.mdreferences/project-structure.mdreferences/testing.mdreferences/web-frameworks.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Designs, implements, and refactors hexagonal (Ports & Adapters) architecture with domain isolation, ports, adapters, and testable use cases in TypeScript, Java, Kotlin, Go.
Comprehensive guidance for Rust development across web, CLI, desktop, AI/LLM applications, and systems programming.
Getting Started
scripts/init_rust_project.sh to scaffold a project with best practicesWriting Code
Domain-Specific Development
Code Quality
Project Management
| Question | Reference |
|---|---|
| "How do I handle errors?" | error-handling.md |
| "Which web framework should I use?" | web-frameworks.md |
| "How do I work with async/await?" | async-patterns.md |
| "How do I integrate OpenAI/Claude?" | ai-llm.md |
| "How do I build a CLI?" | cli-tui.md |
| "How do I create a desktop app?" | desktop-tauri.md |
| "Why won't this compile?" | common-errors.md |
| "How do I improve performance?" | performance.md |
| "How do I add logging?" | logging-observability.md |
| "How should I name this?" | naming.md |
| "What are best practices?" | principles.md |
| "How do I test this?" | testing.md |
Initialize Project
./scripts/init_rust_project.sh my-project
Set Up Development Tools
assets/configs/clippy.toml and assets/configs/rustfmt.tomlassets/configs/deny.toml./scripts/audit_dependencies.shAdd Logging
./scripts/setup_logging.sh
Choose Architecture
Design First
Write Code
Test
Self-Review
Performance Check
Security Audit
./scripts/audit_dependencies.sh
Use Axum when:
Use Actix-web when:
Use Rocket when:
See web-frameworks.md for detailed comparison and code examples.
Use anyhow for:
Use thiserror for:
See error-handling.md for patterns and examples.
Use async/await when:
Don't use async when:
spawn_blocking instead)See async-patterns.md for Tokio patterns and best practices.
scripts/init_rust_project.sh
Initialize a new Rust project with best practices:
Usage: ./scripts/init_rust_project.sh my-project [bin|lib]
scripts/audit_dependencies.sh
Audit dependencies for security and licensing:
Usage: ./scripts/audit_dependencies.sh
scripts/setup_logging.sh
Set up tracing-based logging:
Usage: ./scripts/setup_logging.sh
assets/configs/clippy.tomlClippy linting configuration for strict code quality
assets/configs/rustfmt.tomlCode formatting configuration (100 char width, Unix newlines)
assets/configs/deny.tomlcargo-deny configuration for:
All reference files provide in-depth guidance on specific topics:
Load references progressively as needed:
Don't load all references at once—consult them as specific needs arise.