Detects async bugs in PRs and CI: floating promises, race conditions, unbounded parallelism. Posts inline comments with corrected code.
Ships in async-advisor. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Catch async bugs in CI before they hit production.
/async-advisor setup — install ESLint async rules + pre-commit hook
/async-advisor pr — check async patterns in current git diff
/async-advisor scan — full codebase async audit
/async-advisor rules — show all enforced rules with rationale
{
"no-floating-promises": "error",
"no-misused-promises": "error",
"await-thenable": "error",
"require-await": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"promise/always-return": "error",
"promise/catch-or-return": "error"
}
On a PR touching src/api/reports.ts:
⚠️ Line 45: Unbounded Promise.all over large array
Promise.all(reportIds.map(...)) — reportIds can be up to 5,000 items
→ Wrap with pLimit(20) to avoid connection pool exhaustion
import pLimit from 'p-limit'
const limit = pLimit(20)
const results = await Promise.all(reportIds.map(id => limit(() => ...)))
❌ Line 89: Floating promise (swallowed rejection)
sendEmail(user) — no await, no .catch()
→ Add: await sendEmail(user) OR sendEmail(user).catch(logger.error)
- name: Async pattern check
run: npx eslint src/ --rule 'no-floating-promises: error' --ext .ts,.tsx
Pairs with /async-patterns skill for deep interactive analysis.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/async-advisor:async-advisorfrom async-advisor
npx claudepluginhub andersonlimahw/lemon-ai-hub --plugin async-advisorOther plugins' skills for the same job