Teaches correct async JavaScript patterns: async/await, concurrent execution with Promise.all, error propagation, cancellation with AbortController, and concurrency limits.
Async JavaScript is easy to write and easy to write wrong: a missing
await, an unhandled rejection, or a sequential loop that should have run
in parallel. The patterns are few; applying them consistently is the
skill.
await: the code continues before
the work finishes, and errors escape as unhandled rejections. Enable
the lint rules (no-floating-promises, require-await) that catch it
(see linting-setup); a promise you do not await or .catch() is a
silent failure waiting to happen.await-ing in a loop
serializes calls that could overlap. Use Promise.all([...]) for
independent operations you need all of, Promise.allSettled when some
may fail and you want every result, Promise.race for
first-wins/timeouts. A for loop of awaits over 100 requests is 100x
slower than it should be (see python-asyncio for the same lesson in
another runtime).try/catch around
await, re-throw or handle deliberately; a bare .catch(() => {})
hides real failures. At the top of every async entry point (event
handler, route, job), have one place that catches and reports (see
js-error-handling). Set a global unhandledRejection handler as the
backstop, not the plan.AbortSignal to fetch and cancellable
APIs, abort the stale one. Uncancelled async work is wasted compute
and a source of race-condition bugs (the older response overwriting
the newer; see optimistic-ui).Promise.all over a
thousand items fires a thousand simultaneous requests and overwhelms
the target. Use a concurrency-limited map (a small pool, p-limit-
style) so you run N at a time (see backpressure).promisify or new Promise, then stay
in async/await. Interleaving styles is where control flow becomes
unfollowable.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
async-await, promises, concurrency, error-handling, abortcontroller
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job