Skip to main content

async-python-patterns

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.

Jump to install

Source facts

Repository
JantonioFC/skillsbank
Last source activity
August 4, 2026 at 03:07
Detected SKILL.md language
English
Stars
6
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

File Explorer
2 files

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
async-python-patterns
description
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.
risk
safe
source
community
license
MIT
# 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. ## 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. ## When to Use 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.
View on GitHub