Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Forge Python Async?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-forge-python-async)
---
name: forge-python-async
description: "Write correct asyncio code: no blocking calls, structured concurrency, timeouts, cancellation and bounded parallelism"
---
<!-- Generated from catalog/skills/python-async/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->
# Python async
Use in async Python code (asyncio, FastAPI, aiohttp, Starlette).
## Correctness
- Never call blocking I/O or CPU-heavy work in `async def`; use async libraries or `asyncio.to_thread`.
- Await every coroutine; keep references to tasks you create.
- Use `asyncio.TaskGroup` (3.11+) for structured concurrency so errors and cancellation propagate.
## Limits
- `asyncio.timeout()` around external calls.
- Bound concurrency with `asyncio.Semaphore`; never `gather` thousands of requests at once.
## Testing
- `pytest-asyncio` or `anyio`; test cancellation and timeout paths.
## Verify
Run tests with `PYTHONASYNCIODEBUG=1` (or `asyncio.run(..., debug=True)`) and confirm no 'coroutine was never awaited' or slow-callback warnings.