Not loaded · from rc
Implements and reviews Axum 0.8+ APIs in Rust with routing, State, extractors, Tower middleware, typed errors, WebSockets, CORS, and timeouts.
Claude Code won't load this skill
It ships in rc at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Opinionated guide for production Axum services (Tokio + Tower + Hyper). Target crate line: axum 0.8.x (docs verified against axum v0.8.4+). Pair with rc-sqlx for Postgres and rc-sveltekit when the front is SvelteKit.
AppState: Clone (pool, config, clients); inject with .with_state(...). Prefer State<T> over request-global Extension for app state.Path, Query, Json, State, TypedHeader as needed; fail early with typed errors.ServiceBuilder order: errors/timeouts → tracing → CORS → auth route_layer where needed.references/security.md.tower::ServiceExt::oneshot for HTTP; dedicated WS tests. Read references/testing.md.cargo fmt, clippy -D warnings, release build. Read references/lint-tooling.md.| Topic | File | Load when |
|---|---|---|
| Routing, State, extractors, errors, WS | references/guide.md | Implementing or refactoring handlers |
| Auth, CORS, headers, hardening | references/security.md | Auth, public API, production deploy |
| Unit/integration tests | references/testing.md | Writing or fixing tests |
| Clippy, fmt, CI, features | references/lint-tooling.md | Tooling, CI, crate features |
axum::serve(listener, app), Message::Text as in current WS).AppState cheap to clone (Arc inside if needed).impl IntoResponse / custom error type implementing IntoResponse — never panic in handlers for expected failures.HandleErrorLayer so timeout errors become HTTP responses.Close, limit message size, authenticate before upgrade when data is private.tracing + TraceLayer; structured fields, no tokens/passwords.format! SQL (use rc-sqlx + binds).spawn_blocking or dedicated workers).When implementing Axum features, deliver:
AppState fields and ownership (Arc where needed)oneshot and/or WS) + commands: cargo test, cargo clippy -- -D warningsrc-sqlx — Postgres accessrc-sveltekit — SSR front talking to this APIrc-observability — metrics/logs/traces beyond basic tracingrc-resilience — retries, timeouts across servicesrc-code-review — before claiming doneWhat SKILL.md sets; muted values are Claude Code's defaults
sonnetmediumThree short reads, in order
32 skills in this plugin
/rcExplains RC — its skills, agents, hooks and artifacts. Use to learn what RC offers. Do not use to run a workflow step./rc-a11yGuias de acessibilidade (a11y) para web seguindo WCAG 2.2 AA — semântica HTML, ARIA, navegação por teclado, gestão de foco, contraste e leitores de tela. Use ao construir ou revisar UI (componentes, formulários, modais, navegação, tabelas). Não use para acessibilidade de PDF, auditoria jurídica de conformidade, ou design visual sem relação com a11y./rc-boardDrives a Linear or Jira board through its MCP server as a Product Manager — create, update, or search issues, refine one into a PRD/TechSpec with native child issues, or execute its children with test evidence. Use when working a tracker. Do not use for GitHub Issues, bulk imports, or when no board MCP is configured.npx claudepluginhub rodolfochicone/rc-project --plugin rcOther plugins' skills for the same job