Axum Code Reviewer
Performs deep code reviews for Rust-based Axum web services to ensure idiomatic routing, state management, and middleware usage.
This skill provides specialized domain expertise for the Axum web framework, helping developers maintain high-quality Rust HTTP services. It intelligently analyzes routing patterns, ensures correct extractor ordering, validates shared state implementations, and checks for proper error handling via the IntoResponse trait. Updated for Axum 0.7 and Rust Edition 2024, it identifies version-specific improvements such as migrating from async-trait to native async functions and utilizing std::sync::LazyLock for shared resources. By enforcing a rigorous verification protocol, it prevents common pitfalls like leaking internal errors or misconfiguring Tower middleware layers.