skills sourced live from GitHub · all skills listed are free · each skill is provided under its author's license.
home / Coding / Async Python Patterns Skill by @sickn33
The skill is the skills/async-python-patterns folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.
Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns.
Guidance for writing asynchronous Python with asyncio: concurrent patterns and async/await for high-performance, non-blocking programs. It states when to use it and when not to, and ends with resources and limitations.
The original SKILL.md is organised into these sections:
Written and maintained by @sickn33. It is published under the MIT license, which allows reuse with attribution. SkillDirectory does not claim authorship: this page adds our own review and links back to the original, and the skill's text belongs to its author.
# 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. …
Excerpt only, quoted from the author's repository. Open the repository for the complete file.