async-await-patterns

Official

Reliable async code using disciplined async/await.

Authoraxiomantic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide helps developers write correct, maintainable asynchronous code by enforcing the use of async/await, preventing common pitfalls like unhandled rejections and mixed promise chains.

Core Features & Use Cases

  • Enforces explicit async boundaries in functions that perform asynchronous work.
  • Promotes awaiting all promises and using try/catch for error handling.
  • Encourages parallelism with Promise.all for independent operations and sequential flows when dependencies exist.

Quick Start

Refactor all asynchronous operations to use async/await, ensuring every promise is awaited inside a try/catch.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: async-await-patterns
Download link: https://github.com/axiomantic/spellbook/archive/main.zip#async-await-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.