python-async-runtime
БесплатноБез исполняемых скриптовНе проверенWrite correct async Python runtime code with explicit blocking-I/O boundaries, cancellation, and timeout handling. Use when editing `asyncio` workflows…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Python Async Runtime
Priority: P1 (HIGH)
Rules
- Keep blocking DB, subprocess, and legacy HTTP calls out of event-loop code.
- Use
asyncio.to_threadonly as an explicit boundary around blocking libraries. - Make timeout and cancellation behavior visible in the call path.
- Track long-lived tasks, cleanup, and retries deliberately.
Recipe
- Use async-native clients first.
- Wrap blocking calls once at the adapter seam.
- Propagate cancellation and timeout context instead of swallowing it.
- Separate poll loop logic from work-item processing.
- Test the timeout and error path, not only the happy path.
Anti-Patterns
- No direct blocking I/O inside
async def. - No hidden infinite loops without stop condition or observability.
- No broad
except Exceptionaround await chains that erases task state. - No orphan background tasks without lifecycle ownership.
References
Установить python-async-runtime в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл python-async-runtime?
Write correct async Python runtime code with explicit blocking-I/O boundaries, cancellation, and timeout handling. Use when editing `asyncio` workflows, background loops, async services, or mixed sync/async integrations.
Как установить скилл python-async-runtime?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл python-async-runtime запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop 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…
от Anthropicinternal-comms
A 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…
от Anthropicskill-development
This 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…
от Anthropic