axum-idioms
Installation
SKILL.md
Axum Idioms and Patterns
Core Philosophy
Axum (0.8+) rewards composability via Tower, type-safe extractors, and zero-cost abstractions. Idiomatic Axum = thin handlers, tower middleware, typed errors.
Version note: This skill targets Axum 0.8+ (released 2025). Key changes from 0.7: path parameter syntax changed from
:nameto{name},Stateextractor is now inaxum::extract, andaxum::servereplacesaxum::Server. If you encounter an existing codebase on 0.7, check the Axum 0.8 changelog before applying these patterns.
Scope: Axum-specific patterns. For Rust fundamentals: @.agents/skills/rust-idioms/SKILL.md. For project structure: @.agents/skills/rust-idioms/references/project-structure.md.