Python async runtime

From HoangNguyen0403/agent-skills-standard · View interactive version

Python async runtime is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Write correct async Python runtime code with explicit blocking-I/O boundaries, cancellation, and timeout handling. Use when editing `asyncio` workflows, background loops, async services, or mixed sync/async integrations.

How to use this skill

Skill file

Python Async Runtime

**Priority: P1 (HIGH)**

Rules

Recipe

  1. Use async-native clients first.
  2. Wrap blocking calls once at the adapter seam.
  3. Propagate cancellation and timeout context instead of swallowing it.
  4. Separate poll loop logic from work-item processing.
  5. Test the timeout and error path, not only the happy path.

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.