async-patterns
Installation
SKILL.md
Async/Await Patterns with Comprehensive Error Handling
Core Principles
Async programming in Python 3.13 enables high-performance I/O-bound operations. All async code in Vibekit MUST include comprehensive error handling and proper resource cleanup.
Basic Async Functions
Every async function must handle errors properly:
import asyncio
from typing import Any
# ✅ REQUIRED: Comprehensive error handling in async functions
async def fetch_data(url: str, timeout: float = 10.0) -> dict[str, Any]:
"""
Fetch data from URL with timeout and error handling.