More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Soft Delete Contract Repair

    1

    Repair soft-delete lifecycle drift in a repository using Cursor.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Soft Delete Contract Repair

    Soft Delete Contract Repair

    Example session with this skill installed

    My Prisma repo has inconsistent soft-delete filters. Users see deleted items in search results, and restoring a project leaves its tasks hidden. Fix the repository contract and visibility logic.

    • Read your context and instructions
    • Compiled the soft delete contract

    1. Repair decision

    Decision: SOFT-DELETE LIFECYCLE DRIFT FOUND — SAFE LOCAL PATCH AVAILABLE.

    I found 4 visibility leaks in project repositories and inconsistent task restoration logic. I have prepared a patch with centralized predicates and a restore preflight plan.

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

    About this skill

    The problem

    Soft-delete logic often drifts across models, query scopes, and external services. This leads to deleted-record leaks in APIs, broken uniqueness constraints, orphaned child records, and stale data in search indexes or caches.

    What it does

    • Analyzes repository files to identify visibility leaks where soft-deleted records are accidentally exposed.
    • Repairs restore logic by adding preflight collision checks and dependency restoration plans.
    • Fixes search and cache projection drift by implementing versioned, idempotent event handling.
    • Secures external object storage by adding visibility gates to download paths.
    • Standardizes purge workflows using a state machine that separates intent, cleanup, and finalization.

    Frameworks & tools

    Works with any repository containing models, ORM schemas (Prisma, Django, TypeORM, etc.), API routes, and background workers.

    Why this beats prompting it yourself

    General prompting often misses the deep edge cases of soft deletion like identifier reuse and parent-child visibility inheritance. This skill traces the entire lifecycle across database, API, and infra layers to ensure a consistent contract rather than just applying a simple query filter.

    Use cases

    • Fixing API endpoints that still return deleted records via direct-ID lookups.
    • Preventing uniqueness collisions when recreating a record with a deleted slug or email.
    • Synchronizing search indexes and Redis caches when records are deleted or restored.
    • Building safe purge jobs that respect legal holds and verify storage cleanup before database commits.

    Known limitations

    Does not access production databases or real customer data. It cannot define your legal retention policies or verify deletion completeness in backups and logs.

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

    Requires repository access to models and services. Cannot define legal policy or inspect production databases, backups, or logs.

    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

    Permissions are limited to the active local workspace and are used to inspect user-supplied or local workspace files; create or modify bounded local fixes, tests, documentation, or review artifacts; run repository-supported local tests, checks, builds, or parsing commands. The skill package does not require bundled credentials, unrestricted external network access, or automatic production changes.

    Listed3 months ago
    Updated9 days ago

    What's inside

    Frequently Asked Questions

    The skill audits your entire codebase—including ORM schemas, API routes, and background workers—to identify and patch visibility leaks, broken uniqueness constraints, and stale cache projections that generic 'soft-delete' libraries often miss.

    It is designed to work with major frameworks like Django, Prisma, and TypeORM, and is compatible with AI agents capable of repository-level analysis and file modification, such as GitHub Copilot Extensions or Replit Agent.

    No, for security reasons, the skill operates strictly on your source code and infrastructure-as-code files; it does not require or request access to your production database or live customer data.

    You receive the specialized skill logic for auditing visibility leaks, automated repair workflows for restoration collisions, and standardized state machine templates for secure record purging.

    Yes, it specifically maps parent-child relationships to ensure that when a parent record is soft-deleted or restored, all associated dependencies and external object storage visibility gates are updated accordingly.

    New in Agents & Orchestration