Skip to main content

Impertio-Studio/Axum-Claude-Skill-Package

SkillsMP a collecté 29 skills depuis Impertio-Studio/Axum-Claude-Skill-Package. Ouvrez un skill pour examiner sa source et ses détails.

Dernière activité source enregistrée
Catalogue SkillsMP mis à jour
skills collectés
29
Étoiles GitHub
0
Forks GitHub
0

Skills dans ce dépôt

Affichage de 29 skills collectés sur 29.

métier
Analystes en assurance qualité des logiciels et testeurs
description

Use when auditing or reviewing existing Axum code, a diff, or a single file for correctness, reliability, and security defects, when a code review must flag Axum-specific mistakes, or when checking an Axum service against the package best practices before a…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when the request is to build a complete Axum service from scratch rather than to fix one isolated piece: "build me an Axum API", "scaffold a Rust web service", "set up a new Axum project", or when a half-built service needs the missing production layers…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when an Axum extractor fails and you need control over the HTTP error: customizing a Json/Path/Query rejection, returning a JSON error body instead of Axum's plain text, building a unified API error type, or upgrading 0.7 to 0.8 and Option extractors…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when the compiler rejects an Axum handler with "the trait bound ... Handler<_, _> is not satisfied", when a function will not register on a route, when the error block names Handler with inference placeholders and lists unrelated impls as help, or when a…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when a handler must return an error, when adding a custom error type to an Axum service, when the question mark operator will not compile inside a handler, when anyhow::Error does not implement IntoResponse, or when a fallible tower middleware Service is…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when deploying an Axum service to production, containerizing it with Docker, or when a SIGTERM from Docker, Kubernetes, or systemd kills in-flight requests on every restart or rolling deploy. Prevents dropped requests on shutdown, 1.5 GB images from…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when generating an OpenAPI 3 specification and a Swagger UI for an Axum service: documenting handlers, describing request and response schemas, or serving an interactive API explorer. Prevents the hand-written spec that silently drifts from the real…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when adding structured logging or request tracing to an Axum service, when wiring a tracing-subscriber, when instrumenting handlers, when log timings look interleaved or spans nest under the wrong parent, or when exporting spans to an OpenTelemetry…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when adding a SQL database to an Axum service, when wiring a sqlx connection pool into router state, when running queries or transactions inside handlers, or when migrating a DatabaseConnection extractor from Axum 0.7 to 0.8. Prevents creating a new pool…

Langue du texte source : anglais

mis à jour
métier
Analystes en assurance qualité des logiciels et testeurs
description

Use when writing tests for an Axum application, when a handler test panics with MissingJsonContentType or returns 415, when a second request against the same app fails to compile, or when integration tests under tests/ cannot see the app() function. Prevents…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when validating an incoming JSON request body in an Axum handler: an email field, a string length bound, a numeric range, a password-confirm match, or any domain rule the value must satisfy before the handler trusts it. Prevents accepting semantically…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when adding stateless JWT authentication to an Axum service, when a login route must issue a bearer token, when handlers must require a valid token, or when migrating a JWT extractor from Axum 0.7 to 0.8. Prevents the hardcoded-secret security hole, the…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when an Axum app must authenticate users with server-side sessions instead of self-contained tokens: a server-rendered web app with a login form, a flow that needs instant logout or revocation, mutable per-user state like a cart, HTTP Basic auth for an…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when an Axum app must decide whether an already-authenticated user is allowed to reach a route: protecting an /admin section, gating an endpoint behind a role, or enforcing a fine-grained permission like users:write. Prevents applying the guard with…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when an Axum handler must accept a file upload or any multipart/form-data request: a browser form with an input type=file, an image or document upload, or a mixed form that carries text fields and a file together. Prevents the upload that works for tiny…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when an Axum handler must push a one-way server-to-client stream over plain HTTP: live notifications, log tailing, progress updates, an LLM token feed, or any "the browser only ever receives" channel consumed by an EventSource. Prevents the compile error…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when adding WebSocket endpoints to an Axum service, when migrating WebSocket code from Axum 0.7 to 0.8, or when a socket can receive client input but cannot push messages on its own schedule. Prevents the sequential-only echo trap, blocking the Tokio…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when adding middleware to an Axum service: a logging or timing layer, an auth gate, a header rewriter, or any cross-cutting code that must run before or after a handler with axum::middleware::from_fn, from_fn_with_state, map_request, or map_response.…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when an Axum app must serve static files: a CSS/JS/image assets directory, a single file on one route, or a single-page-app build where any unmatched path falls back to index.html. Prevents the trait-bound compile error from passing ServeDir to .layer()…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when adding middleware to an Axum app through tower and tower-http: TraceLayer, CorsLayer, CompressionLayer, TimeoutLayer, RequestBodyLimitLayer, a ServiceBuilder stack, or rate limiting. Prevents the silent layer-reordering bug from confusing…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when implementing a custom extractor in Axum: a type that builds itself from the request by implementing FromRequestParts or FromRequest, a wrapper that runs an inner extractor and remaps its rejection, or a struct derived with axum-macros…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when writing or fixing an Axum handler function: deciding the argument list, the return type, or why a function is rejected as a handler. Prevents the "the trait bound Handler is not satisfied" error caused by a non-extractor argument, a body extractor…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when a handler must return a status code, headers, JSON, HTML, raw bytes, a redirect, or a cookie in Axum, or when a handler return value fails the Handler trait bound because the returned type does not implement IntoResponse. Prevents returning a bare…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when an Axum service is slow under concurrent load, has high tail latency, freezes, or stops responding, and when a handler must run CPU-bound work, a blocking library call, or long-running background work. Prevents blocking the Tokio runtime, the !Send…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when upgrading an Axum project from 0.7 to 0.8, when an app that compiled on 0.7 now panics at startup or fails to compile after the version bump, or when deciding which path and extractor syntax a piece of Axum code targets. Prevents leaving 0.7 path…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when a handler must read data from a request in Axum: path parameters, query strings, JSON or form bodies, headers, the method, or shared state. Prevents the "Handler is not satisfied" trait-bound error caused by a body extractor placed before another…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when starting an Axum project, choosing Axum over another Rust web framework, explaining how Axum fits together, or debugging why a handler will not compile or a server process exits immediately. Prevents treating Axum as a monolith, adding a needless…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when defining routes, mounting sub-routers, or wiring middleware onto an Axum Router, especially when the server panics on startup with a routing message, returns 404 where 405 is expected, or runs middleware on only some routes. Prevents the 0.7…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use when wiring shared application state into an Axum service: database pools, configuration, caches, or any value handlers must reach through the State extractor. Prevents the runtime-500 Extension trap, the cryptic "Handler is not satisfied" error caused by…

Langue du texte source : anglais

mis à jour
Affichage de 29 skills collectés sur 29.