Đi tới nội dung chính
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn và đang được hiển thị bằng tiếng Anh.

Async Best Practices

Skill Đã xác minh
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.

Tóm tắt từ AI

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'.

Cài đặt

npx skills add sergiodxa/agent-skills

Chạy Vercel skills CLI (skills.sh) qua npx — yêu cầu Node.js trên máy và ít nhất một agent tương thích skills đã được cài (Claude Code, Cursor, Codex, …). Giả định repo tuân theo định dạng agentskills.io.

3 months ago
83 stars
MIT
Cập nhật about 19 hours ago
Xem mã nguồn