More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Repair Cancellation Propagation

    1

    Repair lost cancellation signals, orphaned async work, retry-after-cancel bugs, stale completions, and unclear request-vs-durable task lifetimes.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Repair Cancellation Propagation

    Repair Cancellation Propagation

    Example session with this skill installed

    Our Next.js/TypeScript API uses AbortController at the route layer, but the signal is not passed through the service to our fetch-based vendor client or Prisma wrapper. When a browser cancels a long export request, the vendor call and database aggregation continue for 20–40 seconds. Promise.all starts four child operations; if one fails, two others keep running. A retry helper can start another vendor request even after the route was cancelled. Repair cancellation propagation locally with deterministic tests. Do not call the live vendor, query production data, kill production jobs, or assume an already accepted vendor request was undone by local cancellation.

    • Read your context and instructions
    • Compiled the repair cancellation propagation

    Cancellation propagation gaps found. The request AbortSignal is lost at service boundaries, vendor calls ignore it, sibling work can outlive failure, and retry may start after cancellation. The repair forwards cancellation through request-owned work, adds structured cleanup and retry suppression, protects durable handoff boundaries, and adds deterministic cancellation tests. Remote provider and production DB cancellation remain unverified.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Cancellation bugs are lifecycle bugs. A browser disconnects, but the vendor call keeps running. One sibling task fails while others continue. A retry starts after the caller is gone. Or the opposite happens: a durable background job is incorrectly tied to request cancellation.

    Repair Cancellation Propagation gives an AI coding agent a repository workflow for mapping cancellation sources and lifetime domains, forwarding AbortSignals/tokens, repairing structured concurrency and cleanup, protecting durable handoff boundaries, separating timeout from cancellation, and building deterministic cancellation tests.

    It does not cancel production work, kill processes, call live dependencies, or assume local cancellation reverses a remote side effect.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.

    Repairs repository-level cancellation ownership only. It cannot guarantee a remote provider stops after local cancellation, decide whether business work must be durable, cancel production jobs, prove production resource savings, or replace idempotency/reconciliation for unknown outcomes.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 3 months ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Run on a clean branch. Use fake slow dependencies, local databases, disposable files/processes, and deterministic synchronization. Keep production credentials, customer data, tokens, live queues, and production processes out of scope.

    Listed3 months ago
    Updated21 days ago

    What's inside

    Frequently Asked Questions

    The skill scans your service layers to identify where AbortSignals are dropped or mismanaged, then patches the code to ensure that when a request is cancelled, downstream database queries and subprocesses terminate immediately rather than wasting resources.

    This skill is compatible with any AI agent that supports file-system access and code modification, specifically targeting languages and frameworks that use explicit cancellation primitives like AbortController, AbortSignal, or structured concurrency groups.

    Unlike general prompts, this skill uses a specialized lifetime graph methodology to distinguish between request-bound tasks that should die and durable background jobs that must survive, preventing accidental data corruption.

    Each purchase includes the core logic for propagation repair, a suite of deterministic cancellation test generators, and documentation on how to define ownership for your background tasks.

    No, the skill respects your architecture by identifying existing cancellation tokens; it only patches the 'chains' between layers or wraps unmanaged calls, ensuring your business logic remains intact.

    New in Testing & Debugging