Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.
Add this skill
npx mdskills install sickn33/async-python-patternsClear trigger conditions and structured approach, but lacks concrete implementation details
1---2name: async-python-patterns3description: Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.4---56# Async Python Patterns78Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.910## Use this skill when1112- Building async web APIs (FastAPI, aiohttp, Sanic)13- Implementing concurrent I/O operations (database, file, network)14- Creating web scrapers with concurrent requests15- Developing real-time applications (WebSocket servers, chat systems)16- Processing multiple independent tasks simultaneously17- Building microservices with async communication18- Optimizing I/O-bound workloads19- Implementing async background tasks and queues2021## Do not use this skill when2223- The workload is CPU-bound with minimal I/O.24- A simple synchronous script is sufficient.25- The runtime environment cannot support asyncio/event loop usage.2627## Instructions2829- Clarify workload characteristics (I/O vs CPU), targets, and runtime constraints.30- Pick concurrency patterns (tasks, gather, queues, pools) with cancellation rules.31- Add timeouts, backpressure, and structured error handling.32- Include testing and debugging guidance for async code paths.33- If detailed examples are required, open `resources/implementation-playbook.md`.3435Refer to `resources/implementation-playbook.md` for detailed patterns and examples.3637## Resources3839- `resources/implementation-playbook.md` for detailed patterns and examples.40
Full transparency — inspect the skill content before installing.