python-best-practices-async-context-manager
Installation
SKILL.md
Implement Async Context Manager
Purpose
Create async context managers for automatic resource lifecycle management (setup, use, cleanup) in async Python code using the @asynccontextmanager decorator pattern.
When to Use This Skill
Use when managing async resources with "create context manager", "manage database session", "async with pattern", or "resource cleanup".
Do NOT use for synchronous resources (use regular context managers), simple try/finally (overkill), or testing (use pytest fixtures).
When to Use
Related skills