pythonista-async
Installation
SKILL.md
Async Patterns
Core Rules
- Prefer
safe_gatherfor all new async code - fail-fast, timeout support, cleaner cancellation - Use
return_exceptions=Truefor partial-results patterns - Always consider timeout for long-running operations
- Don't migrate existing cleanup code (low priority, both work fine)
safe_gather vs asyncio.gather
safe_gather is better in ALL cases because it provides:
- Fail-fast cancellation (when not using
return_exceptions=True) - Timeout support with automatic cleanup
- Cleaner cancellation handling
See references/safe-gather.md for implementation.