dankosik/fastify-backend-skills/typescript-async

Claude Code and agent skill by dankosik/fastify-backend-skills

Trust tier 3
  • community
Source check pending

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

Ownership. Use when TypeScript promises, background work, streams, or shared state need correct sequencing, cancellation, capacity limits, or cleanup.

Install

npx vskill@latest install dankosik/fastify-backend-skills/typescript-async

SKILL.md

The same SKILL.md was published earlier as dankosik/fastify-backend-skills/typescript-async.

TypeScript Async

Ownership. Account for the asynchronous operations on the affected path: who observes failure, awaits completion, owns resources, and stops obsolete work? Honor the requested outcome and preserve settled choices outside the requested change.

Sequence dependent effects; overlap independent work only within the dependency's capacity. Bound waiting work as well as active work. Promise.all does not limit concurrency or cancel siblings when one rejects. Attaching void does not handle rejection. Background work needs an actual owner and failure policy.

Carry cancellation and deadlines through APIs that support them. A race against a timer stops waiting, not the underlying operation; cancellation does not prove a remote effect was undone. Account for already-aborted signals, timers, listeners, and resources on every exit. Await cleanup where its completion matters, and close only what this scope owns.

await does not move CPU work off the event loop. Check shared state across suspension points; single-threaded execution does not make multi-step operations atomic across requests.

When streams or response bodies are involved, let slow consumers apply backpressure. Use the existing stream abstractions and preserve their error and destruction semantics, especially after an HTTP response starts. Consume or cancel unused response bodies instead of relying on garbage collection.

For review, explain the affected ownership or sequencing issue without editing. When changing code, verify the relevant failure, interruption, saturation, or slow-consumer case with controlled coordination, bounded waits, and no unfinished work. Choose the case for the changed property, not every topic in this skill; report what remains unverified.

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
0

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/dankosik/fastify-backend-skills/typescript-async/badge)](https://verified-skill.com/skills/dankosik/fastify-backend-skills/typescript-async)

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