actix-web
Actix-web Rust web framework. Use when building Rust HTTP services, Actor framework apps, extractors, WebSocket handlers, or performance-critical API servers…
от skeletorflet★ 48 звёзд на GitHub
Установить actix-web в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
actix-web
High-performance Rust web framework built on the Actix actor system with zero-cost abstractions.
Core Concepts
- Actor framework: typed actors with message passing, async handlers, and supervision trees
- Routing:
#[get("/users/{id}")]attribute macros orApp::new().route()for modular routing - Extractors: type-safe request data extraction via trait impls (Json, Path, Query, Form, Data)
- Actix RT: multi-threaded async runtime optimized for HTTP throughput over Tokio
Common Patterns
- Middleware:
wrap_fnclosures orTransformtrait for logging, auth, and request modification - Error handling:
actix_web::error::ErrorwithResponseErrortrait for typed HTTP error responses - WebSocket:
web::resource("/ws").route(web::get().to(ws_handler))with actor-backed sessions - Testing:
actix_web::testutilities withTestRequest,call_service, andread_body_json
Best Practices
- Use
web::Data<T>for shared application state instead of global statics or lazy statics - Implement
Respondertrait for custom response types to keep handler return types clean - Configure worker count via
HttpServer::new().workers(n)matching CPU cores for optimal throughput - Compile with
--releasefor production: Actix RT performance can exceed Go and Node.js equivalents
Common Code Patterns
HttpResponse::Ok().json(response)for typed JSON serialization via serdeweb::block(move || heavy_calc()).awaitfor blocking CPU work off the async runtime
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл actix-web?
Actix-web Rust web framework. Use when building Rust HTTP services, Actor framework apps, extractors, WebSocket handlers, or performance-critical API servers on Actix RT.
Как установить скилл actix-web?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл actix-web запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…