andersonlimahw/lemon-ai-hub/async-advisor

Claude Code and agent skill by andersonlimahw/lemon-ai-hub

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Async pattern CI gate and PR review. Detects promise pitfalls, race conditions, and unbounded parallelism in changed files. Posts inline PR comments with corrected code. Use when setting up async quality gates or reviewing a PR with complex async logic.

Install

npx vskill@latest install andersonlimahw/lemon-ai-hub/async-advisor

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as andersonlimahw/lemon-ai-hub/async-advisor.

Async Advisor Plugin

Catch async bugs in CI before they hit production.

Commands

/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

ESLint Rules Configured

json
{
"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"
}

PR Inline Comments

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)

CI Configuration

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

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/andersonlimahw/lemon-ai-hub/async-advisor/badge)](https://verified-skill.com/skills/andersonlimahw/lemon-ai-hub/async-advisor)

Something wrong with this skill or its page? Tell us.