Agent skill

async-best-practices

Use Promise Use when optimizing code performance. Performance category skill.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/async-best-practices

Metadata

Additional technical details for this skill

category
Performance
priority
high
is built in
YES
session guardian id
builtin_async_best_practices

SKILL.md

Async Best Practices

Use Promise.all() for independent async operations that can run concurrently. Avoid await inside loops when iterations are independent—collect promises and await them together. Handle errors appropriately with try/catch or .catch(). Don't mix callbacks and promises unnecessarily. Consider Promise.allSettled() when you need results even if some promises fail.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results