Agent skill · software engineering · aiskillstore
python-async-patterns
Python asyncio patterns for concurrent programming. Triggers on: asyncio, async, await, coroutine, gather, semaphore, TaskGroup, event loop, aiohttp, concurrent.
Why this skill is useful
Provides specific asyncio patterns and scripts for concurrent programming that the AI wouldn't reliably generate on its own.
What it needs
Requires python installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Python Async Patterns Asyncio patterns for concurrent Python programming. Core Concepts Pattern 1: Concurrent with gather Pattern 2: Bounded Concurrency Pattern 3: TaskGroup (Python 3.11+) Pattern 4: Timeout Critical Warnings Quick Reference Pattern Use Case --------- ---------- gather(tasks) Multiple independent operations Semaphore(n) Rate limiting, resource constraints TaskGroup() Structured concurrency (3.11+) Queue() Producer-consumer timeout(s) Timeout wrapper (3.11+) Lock() Shared mutable state Async Context Manager Additional Resources For detailed patterns, load: ./references/concurrency-patterns.md - Queue, Lock, producer-consumer ./references/aiohttp-patterns.md - HTTP client/server patterns ./references/mixing-sync-async.md - runinexecutor, thread pools ./references/debugging-async.md - Debug mode, profiling, finding issues ./references/production-patterns.md - Graceful shutdown, health checks, signal handling ./references/error-handling.md - Retry with backoff, circuit breakers, partial failures ./references/performance.md - uvloop, connection pooling, buffer sizing Scripts ./scripts/find-blocking-calls.sh - Scan code for blocking calls in async functions Assets ./assets/async-project-template.py - Production-ready async app skeleton --- See Also Prerequisites: python-typing-patterns - Type hints for async functions Related Skills: python-fastapi-patterns - Async web APIs python-observability-patterns - Async logging and tracing python-database-patterns - Async database access
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/python-async-patterns