Skip to main content

Async Best Practices

Skill Verified
95

Async/await and Promise optimization guidelines. Use when writing, reviewing, or refactoring asynchronous code to eliminate waterfalls and maximize parallelism. Triggers on tasks involving data fetching, loaders, actions, or Promise handling.

AI Summary

This extension provides a set of five distinct rules for improving asynchronous JavaScript performance. It includes detailed explanations and TypeScript code examples for using `Promise.all`, deferring awaits, chaining dependent operations, optimizing API routes, and strategically using Suspense boundaries.

Versioning

  • warning:Release ManagementThere is no manifest version field, GitHub release tags, or CHANGELOG.md present, and installation instructions reference 'main'.

Installation

npx skills add sergiodxa/agent-skills

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

3 months ago
83 stars
MIT
Updated 2 days ago
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.