Command Palette

Search for a command to run...

Назад к скиллам
скилл № 65772

async-boundary

Use when you write or change async handlers, event loops or request pipelines. Stops blocking I/O inside async code.

БесплатноБез исполняемых скриптов
crrutonот 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

  1. Search the diff for requests., time.sleep, open( and urllib inside async functions.
  2. Run the async-boundary lint rule, if the project has one.
  3. 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), без исполняемых скриптов.

Похожие скиллы

Сравнить async-boundary с