Async Python Patterns
Selective Reading Rule
Start with:
references/senior-master-standard.md
references/usage-routing.md
references/quality-checklist.md
Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.
Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.
Use this skill when
- Building async web APIs (FastAPI, aiohttp, Sanic)
- Implementing concurrent I/O operations (database, file, network)
- Creating web scrapers with concurrent requests
- Developing real-time applications (WebSocket servers, chat systems)
- Processing multiple independent tasks simultaneously
- Building microservices with async communication
- Optimizing I/O-bound workloads
- Implementing async background tasks and queues
Do not use this skill when
- The workload is CPU-bound with minimal I/O.
- A simple synchronous script is sufficient.
- The runtime environment cannot support asyncio/event loop usage.
Instructions
- Clarify workload characteristics (I/O vs CPU), targets, and runtime constraints.
- Pick concurrency patterns (tasks, gather, queues, pools) with cancellation rules.
- Add timeouts, backpressure, and structured error handling.
- Include testing and debugging guidance for async code paths.
- If detailed examples are required, open
resources/implementation-playbook.md.
Refer to resources/implementation-playbook.md for detailed patterns and examples.
Resources
resources/implementation-playbook.md for detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
1---2name: async-python-patterns3description: ALWAYS use this when the request matches Async Python Patterns: Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.4---56# Async Python Patterns78## Selective Reading Rule910Start with:1112- `references/senior-master-standard.md`13- `references/usage-routing.md`14- `references/quality-checklist.md`1516Then load only the inherited docs, scripts, assets, or examples that match the user's actual task.1718Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.1920## Use this skill when2122- Building async web APIs (FastAPI, aiohttp, Sanic)23- Implementing concurrent I/O operations (database, file, network)24- Creating web scrapers with concurrent requests25- Developing real-time applications (WebSocket servers, chat systems)26- Processing multiple independent tasks simultaneously27- Building microservices with async communication28- Optimizing I/O-bound workloads29- Implementing async background tasks and queues3031## Do not use this skill when3233- The workload is CPU-bound with minimal I/O.34- A simple synchronous script is sufficient.35- The runtime environment cannot support asyncio/event loop usage.3637## Instructions3839- Clarify workload characteristics (I/O vs CPU), targets, and runtime constraints.40- Pick concurrency patterns (tasks, gather, queues, pools) with cancellation rules.41- Add timeouts, backpressure, and structured error handling.42- Include testing and debugging guidance for async code paths.43- If detailed examples are required, open `resources/implementation-playbook.md`.4445Refer to `resources/implementation-playbook.md` for detailed patterns and examples.4647## Resources4849- `resources/implementation-playbook.md` for detailed patterns and examples.5051## Limitations52- Use this skill only when the task clearly matches the scope described above.53- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.54- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.