/agentic-awesome-skills:axum-developmentfrom agentic-awesome-skills
Builds, structures, and tests Rust HTTP services with Axum and Tower. Covers extractor ordering, typed AppState sub-states, IntoResponse errors, middleware layer order, and portless oneshot tests.
Ships in agentic-awesome-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
State<T>, FromRef) and Tower middleware layers without subtle execution-order bugs.tower::ServiceExt::oneshot.Check the Axum major/minor version in Cargo.toml (Axum 0.8 uses /{id} path parameter syntax, replacing the /:id syntax from 0.7), Tokio runtime features, Tower/tower-http middleware versions, and Rust toolchain version. Inspect Router assembly, shared state types, custom error types, and existing tests before adding endpoints or middleware.
State, Path, Query, HeaderMap) must come before body-consuming extractors (Json, Bytes, String, Form), because only the last extractor may implement FromRequest (consuming the body).axum::extract::FromRef<AppState> for sub-states (for example a database pool or limits config). Attach state with .with_state(state) once all stateful routes are merged.AppError enum that implements IntoResponse. Return structured JSON error codes and appropriate HTTP status codes for caller errors (4xx), and log internal errors server-side without leaking stack traces, SQL text, or credentials in 5xx responses.{param} and {*wildcard} route capture syntax; verify migrated routes explicitly when upgrading from 0.7..layer(L) wraps all previously registered routes. Layers added later wrap earlier ones from the outside in: a request enters the outermost (last-added) .layer(...) first and exits it last..route_layer(...) when middleware should run only on matched routes (so unmatched 404s skip authentication or route-specific metrics) and .layer(...) when middleware must wrap every response, including 404s and extractor rejections (such as request IDs, CORS, or tracing).tokio::task::spawn_blocking rather than stalling Tokio worker threads.fn build_app(state: AppState) -> Router) and exercise routes with tower::ServiceExt::oneshot in #[tokio::test] without binding TCP sockets. Assert status codes, response headers set by middleware, valid JSON payloads, domain errors, and malformed input rejections.axum::serve(listener, app).with_graceful_shutdown(...) and verify cancellation/shutdown behavior separately in an authorized local run.Build an Axum 0.8
POST /items/{id}endpoint usingFromRefsub-state, a typedAppErrorresponse, and a request-ID middleware layer, then test valid, invalid, and malformed requests in-process.
Use the worked Axum handler and middleware test to verify extractor ordering, structured 422 errors, and middleware header injection across success and rejection paths.
tower::ServiceExt::oneshot tests the router and Tower layers in-process without exercising TLS termination, TCP socket binding, keep-alive timeouts, or OS signal graceful shutdown.tonic), and database drivers (sqlx/diesel) require their own driver-specific checks.Run tests in an isolated crate or checkout without opening public network listeners. Cargo builds may download crates on an uncached machine and execute crate build scripts or proc macros; inspect Cargo.toml and lockfiles before building unfamiliar workspaces. Never include secrets or production database URLs in test fixtures or error responses.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (sickn33/agentic-awesome-skills) — no native marketplace selected
npx claudepluginhub p/sickn33-antigravity-awesome-skills3,195 skills in this plugin
/007Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project./00-andruia-consultantUsar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un plan de implementación en español./10-andruia-skill-smithUsar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la estructura y prepara una PR.2 plugins in one repository ship this exact skill · first indexed Dec 1, 2026
Other plugins' skills for the same job