async-boundary
Use when you write or change async handlers, event loops or request pipelines. Stops blocking I/O inside async code.
от crruton★ 15 звёзд на GitHub
Установить async-boundary в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Async boundary
Blocking I/O inside an async handler stops the event loop. All requests then wait.
Rules
- Do not call blocking I/O inside
async def, goroutine pipelines or event handlers. - Use the async client of the library (
httpx.AsyncClient,aiofiles,asyncpg). - When no async client exists, move the call to a worker pool (
run_in_executor, a job queue). - Set a timeout on each external call.
Check before you finish
- Search the diff for
requests.,time.sleep,open(andurllibinside async functions. - Run the async-boundary lint rule, if the project has one.
- Run the tests for the changed handler only.
Origin
The agent put requests.get() inside an async packet handler. Latency went up for all calls.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл async-boundary?
Use when you write or change async handlers, event loops or request pipelines. Stops blocking I/O inside async code.
Как установить скилл async-boundary?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл async-boundary запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…