ryan-nguyen-01/maestro/axum-knowledge-patch
Claude Code and agent skill by ryan-nguyen-01/maestro
- community
Checking that the SKILL.md file is still in the repository.
Axum changes since training cutoff (latest: 0.8.5) — {param} path syntax, no async_trait, OptionalFromRequestParts, Utf8Bytes WS, HTTP/2 WebSockets, NoContent. Load before working with Axum.
Install
npx vskill@latest install ryan-nguyen-01/maestro/axum-knowledge-patchSKILL.md
The same SKILL.md was published earlier as ryan-nguyen-01/maestro/axum-knowledge-patch.
Axum Knowledge Patch
Covers Axum 0.8.0–0.8.5 (2025-01-01 through 2025-09-28). Claude Opus 4.6 knows Axum through 0.7.x. It is unaware of the 0.8 breaking changes and features below.
Index
| Topic | Reference | Key features | |
|---|---|---|---|
| Routing & handlers | references/routing-and-handlers.md | Path syntax /{param}, reset_fallback, method_not_allowed_fallback, CONNECT, Sync requirement | |
| Extractors | references/extractors.md | No #[async_trait], OptionalFromRequestParts, Option<Json<T>>, Option<Multipart> | |
| WebSockets & responses | references/websockets-and-responses.md | Utf8Bytes/Bytes messages, HTTP/2 WS, NoContent, SSE binary, ResponseAxumBodyLayer |
0.7 → 0.8 Migration — Breaking Changes
| What changed | Before (0.7) | After (0.8) | |
|---|---|---|---|
| Path params | /:id, /*path | /{id}, /{*path} (old syntax panics) | |
| Extractor traits | #[async_trait] impl FromRequestParts | Native async fn (remove #[async_trait]) | |
Option<T> extraction | Swallows all errors as None | Requires OptionalFromRequestParts; invalid → rejection | |
| WS message types | String / Vec<u8> | Utf8Bytes / Bytes | |
WebSocket::close | Method on socket | Removed — send Message::Close explicitly | |
| HTTP/2 WebSockets | Not supported | Use any(ws_handler) instead of get(ws_handler) | |
| Handler trait bounds | Send | Send + Sync | |
Host extractor | axum::extract::Host | Moved to axum-extra | |
Serve::tcp_nodelay | Method on Serve | Removed — use serve::ListenerExt |
Path Parameter Syntax (0.8.0)
The most common migration issue. Old colon/star syntax panics at runtime.
Escape literal braces with {{ / }}.
See references/routing-and-handlers.md for details.
Extractor Trait Migration (0.8.0)
Remove #[async_trait] from custom FromRequestParts / FromRequest impls — Axum 0.8 uses native async fn in traits (RPITIT):
See references/extractors.md for OptionalFromRequestParts and optional extractors.
Optional Extractors (0.8.0–0.8.5)
Option<T> extraction changed: T must implement OptionalFromRequestParts (or OptionalFromRequest). Missing value → None, invalid value → rejection error.
Built-in support added incrementally:
| Extractor | Option<T> support | Version | |
|---|---|---|---|
Json<T> | OptionalFromRequest | 0.8.3 | |
Extension<T> | OptionalFromRequestParts | 0.8.3 | |
Multipart | OptionalFromRequest | 0.8.5 |
WebSocket Changes (0.8.0)
Message types changed from String/Vec<u8> to Utf8Bytes/Bytes:
WebSocket::close removed — send close messages explicitly:
For HTTP/2 WebSocket support, use any() instead of get():
See references/websockets-and-responses.md for selected_protocol and more.
New APIs
| API | Version | Description | |
|---|---|---|---|
Router::method_not_allowed_fallback | 0.8.0 | Custom handler when path matches but method doesn't | |
NoContent | 0.8.0 | Shortcut response for StatusCode::NO_CONTENT | |
routing::connect | 0.8.0 | CONNECT method support | |
Router::reset_fallback | 0.8.4 | Remove a fallback, reverting to default 404 | |
WebSocketUpgrade::selected_protocol | 0.8.4 | Get the subprotocol selected during WS handshake | |
Event::bytes() | 0.8.5 | Binary data in SSE events | |
ResponseAxumBodyLayer | 0.8.5 | Map any body type to axum::body::Body |
Quick Examples
Reference Files
| File | Contents | |
|---|---|---|
| routing-and-handlers.md | Path syntax, router methods, CONNECT, Sync requirement, serve changes | |
| extractors.md | async_trait removal, OptionalFromRequestParts, optional extractor support | |
| websockets-and-responses.md | WS message types, HTTP/2 WS, NoContent, SSE binary, ResponseAxumBodyLayer |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmaestro-enterprise/.claude/skills/axum-knowledge-patch/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ryan-nguyen-01/maestro/axum-knowledge-patch)