async-over-callbacks
Installation
SKILL.md
Use async Functions Instead of Callbacks
Overview
Prefer async/await over callbacks for cleaner code and better type flow.
Callbacks create nested, hard-to-follow code. Promises and async/await flatten the structure, make types flow naturally, and enable better error handling.
When to Use This Skill
- Writing any asynchronous code
- Tempted to use callback-style APIs
- Chaining multiple async operations
- Need to compose concurrent operations
- Working with APIs that return Promises