Individual skill
rust-project
Modern Rust project architecture guide for 2025. Use when creating Rust projects (CLI, web services, libraries). Covers workspace structure, error handling, async patterns, and idiomatic Rust best practices.
skills/rust-project/SKILL.md
Source commit 238e07625aeca5bcf0d6f7cb3e2d07f94c717194
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 290
- Repository last updated
- Nov 4, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-agents Repository topic
- ai-coding-assistant Repository topic
- claude Repository topic
- claude-code Repository topic
- developer-tools Repository topic
- productivity Repository topic
- automation Repository topic
- agent-skills Repository topic
- code-review Repository topic
- prompt-engineering Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 12,001 bytesSKILL.mdcore · 12,001 bytesreference/architecture.mddoc · 10,662 bytesreference/extended.mddoc · 1,564 bytesreference/patterns.mddoc · 13,911 bytesreference/tech-stack.mddoc · 10,565 bytestemplates/cli/Cargo.tomlasset · 391 bytestemplates/cli/src/commands/mod.rsasset · 1,320 bytestemplates/cli/src/commands/process.rsasset · 1,566 bytestemplates/cli/src/error.rsasset · 311 bytestemplates/cli/src/main.rsasset · 874 bytestemplates/web-service/.env.exampleasset · 243 bytestemplates/web-service/Cargo.tomlasset · 854 bytestemplates/web-service/Makefileruns · 1,466 bytestemplates/web-service/config/default.tomlasset · 227 bytestemplates/web-service/migrations/001_init.sqlasset · 325 bytestemplates/web-service/src/config.rsasset · 1,104 bytestemplates/web-service/src/db.rsasset · 363 bytestemplates/web-service/src/error.rsasset · 2,364 bytestemplates/web-service/src/handlers/health.rsasset · 136 bytestemplates/web-service/src/handlers/mod.rsasset · 30 bytestemplates/web-service/src/handlers/user.rsasset · 1,142 bytestemplates/web-service/src/lib.rsasset · 367 bytestemplates/web-service/src/main.rsasset · 1,002 bytestemplates/web-service/src/models/mod.rsasset · 28 bytestemplates/web-service/src/models/user.rsasset · 529 bytestemplates/web-service/src/router.rsasset · 788 bytestemplates/web-service/src/services/mod.rsasset · 14 bytestemplates/web-service/src/services/user.rsasset · 2,200 bytes
Read excerpt
# Rust Project Architecture
## Core Principles
- **Ownership-first** — Embrace borrow checker, no unnecessary clones
- **Zero-cost abstractions** — Newtype, iterators, async/await
- **Workspace for scale** — Use Cargo workspace for multi-crate projects
- **Error precision** — thiserror for libs, anyhow for apps
- **Async with Tokio** — Tokio runtime + tracing for observability
- **No backwards compatibility** — Delete, don't deprecate. Change directly
- **LiteLLM for LLM APIs** — Use LiteLLM proxy for all LLM integrations
---
## No Backwards Compatibility