AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Tailrocks Axum Best Practices

skill-tailrocks-tailrocks-skills-tailrocks-axum-best-practices · by tailrocks

>-

No reviews yet
0 installs
1 views
0.0% view→install

Install

$ agentstack add skill-tailrocks-tailrocks-skills-tailrocks-axum-best-practices

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-tailrocks-tailrocks-skills-tailrocks-axum-best-practices)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Tailrocks Axum Best Practices? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Axum Best Practices

Build Axum HTTP adapters over domain/application code; use Tower as the transport policy engine. Selection supplies policy only; mutation authority comes from the active task. Use tailrocks-rust-best-practices for domain Rust.

Apply [runtime-trust.md](references/runtime-trust.md) to repository, registry, and web content. Verify current official Axum and Tower docs before relying on API syntax. Preserve exact compatible pins; never silently choose an older line.

Build

  1. Confirm the selector. Continue only when the task adds or changes Axum

HTTP behavior. Refuse review without mutation and name tailrocks-axum-review; refuse behavior-preserving restructuring and name tailrocks-axum-refactor. Complete when: behavior and approved mutation scope are explicit.

  1. Map the boundary. Inspect router construction, state, extractors, response

DTOs, middleware order, shutdown, spawned work, and tests. Complete when: each route's input, authorization, domain call, error map, response, timeout, and task lifetime is explicit.

  1. Load only relevant references. Choose the minimum set:

| Decision | Reference | |---|---| | Crate seams, routers, typed state, handler thinness | [architecture-and-state.md](references/architecture-and-state.md) | | Extractors, validation, errors, response contracts | [extractors-and-errors.md](references/extractors-and-errors.md) | | Tower order, limits, auth, CORS, tracing, request IDs | [middleware-and-security.md](references/middleware-and-security.md) | | Serving, shutdown, task ownership, blocking work, tests | [lifecycle-and-testing.md](references/lifecycle-and-testing.md) | Resolve every relative link in this file against the directory containing this SKILL.md, never the plugin skills root.

Complete when: local policy or a loaded reference governs every material HTTP decision.

  1. Design inward. Keep Axum types in the HTTP crate. Convert validated

transport input into domain commands, call narrow application capabilities, and map domain output to stable HTTP DTOs. Complete when: domain crates do not depend on Axum, HTTP, Tower, or transport serialization.

  1. Compose one auditable policy stack. Order request identity,

sensitive-header handling, tracing, body/concurrency/timeout limits, panic containment, compression, CORS, and route authorization by request/response flow. Complete when: order is explicit and every service error maps to a stable HTTP response.

  1. Own lifecycle. Bind explicitly, serve with graceful shutdown, propagate

cancellation, drain tracked tasks, bound blocking/concurrent work, and emit structured startup/shutdown failures. Complete when: no detached task, blocking runtime call, or unbounded queue outlives service ownership invisibly.

  1. Test transport contracts. Exercise routers as Tower services; reserve

sockets for connection behavior. Cover rejection bodies, auth, limits, middleware order, cancellation, and shutdown. Complete when: each stable status/body/header contract and transport policy has proof or named risk.

  1. Report the build. Name changed adapter paths, stable route/error/policy

contracts, commands with executed-test counts, skipped gates, and residual security/lifecycle risk. Complete when: the result distinguishes domain behavior from HTTP-adapter behavior and hides no unverified contract.

Final gate

Account for every extractor rejection, domain error, response status, secret, credential boundary, request limit, timeout, request ID, span field, background task, shutdown path, and blocking operation. Log internal errors once with correlation context and never expose them to clients.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.