async-python-patterns – Coding skill for AI agents
Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.
Install the async-python-patterns skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/async-python-patterns-e93a5.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /async-python-patterns – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/async-python-patterns-e93a5.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $async-python-patterns – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/async-python-patterns-e93a5.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /async-python-patterns – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/async-python-patterns-e93a5.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /async-python-patterns – then describe the task you want done.
SKILL.md content
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.mdfor 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.
Related skills
- atlas-contract – Goal-integrity skill. Use for backend/API/persistence, preserve/do-not-change…
- gtars – Supports Gtars for local genomic interval models and set algebra, overlaps and counts…
- auth-implementation-patterns – Implement or review authentication and authorization with explicit token, session and…
- go-concurrency-patterns – Master Go concurrency with goroutines, channels, sync primitives, and context. Use when…
- ciso-review – /c-level-agents:ciso-review [plan] — Risk-paranoid interrogation of any plan that…
- grounded-vault – Use when maintaining a durable Markdown knowledge store that agents compile from…
- grpo-rlvr-training – Train reasoning and verifiable-task behavior with GRPO and reinforcement learning from…
- cmo-review – /c-level-agents:cmo-review [plan] — Narrative-first interrogation of positioning, ICP…