richgo/auto-reviewer/concurrency-async-misuse

Claude Code and agent skill by richgo/auto-reviewer

Trust tier 3
  • community
Source check pending

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

Async/Await Misuse. Use this skill whenever diffs may introduce concurrency issues on all, especially in javascript, typescript, python, csharp, rust. Actively look for: Missing awaits, fire-and-forget promises, unhandled rejections, or blocking the event loop — leading to silent failures, data loss,... and report findings with high severity expectations and actionable fixes.

Install

npx vskill@latest install richgo/auto-reviewer/concurrency-async-misuse

SKILL.md

The same SKILL.md was published earlier as richgo/auto-reviewer/concurrency-async-misuse.

Async/Await Misuse

Task Metadata

  • Category: concurrency
  • Severity: high
  • Platforms: all
  • Languages: javascript, typescript, python, csharp, rust

Purpose

Missing awaits, fire-and-forget promises, unhandled rejections, or blocking the event loop — leading to silent failures, data loss, or degraded performance.

Detection Heuristics

  • Async function called without await (fire-and-forget)
  • .then() chain without .catch()
  • async function return value ignored
  • Blocking sync calls inside async context (sync I/O in Node.js event loop)
  • Python asyncio.create_task() without storing reference (task may be GC'd)

Eval Cases

Case 1: Missing await
javascript
async function saveAndNotify(data) {
await db.save(data);
emailService.sendNotification(data.userId); // returns Promise, not awaited
return { success: true };
}

Expected finding: High — Missing await on emailService.sendNotification(). Errors will be unhandled rejections; function returns before notification completes.

Case 2: Python fire-and-forget task
python
async def handle_request(data):
asyncio.create_task(process_background(data)) # no reference stored
return {"status": "accepted"}

Expected finding: Medium — Task created without storing reference. If no strong reference exists, the task may be garbage collected before completion. Store in a set: background_tasks.add(task)

Counter-Examples

Counter 1: Properly awaited
javascript
async function saveAndNotify(data) {
await db.save(data);
await emailService.sendNotification(data.userId);
return { success: true };
}

Why it's correct: Both async operations are awaited.

Binary Eval Assertions

  • [ ] Detects missing await in eval case 1
  • [ ] Detects fire-and-forget task in eval case 2
  • [ ] Does NOT flag counter-example 1
  • [ ] Finding identifies which async call is not awaited
  • [ ] Finding explains the consequence (unhandled errors, data loss)

Security

  • Security scanPassed, 90 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.

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/richgo/auto-reviewer/concurrency-async-misuse/badge)](https://verified-skill.com/skills/richgo/auto-reviewer/concurrency-async-misuse)

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