Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseOpenClawOpenClaw+21 more

    Rate Limit Contract Repair

    1

    Repair rate-limit contract drift in a repository using Cursor.

    $6.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    Rate Limit Contract Repair

    Rate Limit Contract Repair

    Example session with this skill installed

    Middleware uses 50 req/min but docs say 100. The SDK retries 429s immediately. Align the repo contract and add tests using the existing fake-clock utility. Do not touch production.

    • Read your context and instructions
    • Compiled the rate limit contract

    Repair decision

    RATE-LIMIT CONTRACT DRIFT FOUND. I have centralized the quota in config/limits.ts, updated the SDK to honor Retry-After, and added 12 deterministic tests. Deployed behavior remains unverified.

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

    What you get

    Align executable quotas with public documentation and OpenAPI specs.Standardize 429 response schemas and Retry-After header behavior.Implement safe, bounded retry logic in frontend and backend SDKs.Detect and repair identity scope drift between user and tenant keys.Generate deterministic local tests for rate-limiting logic using fake clocks.

    About this skill

    The problem

    Rate limit behavior often drifts across repository middleware, route overrides, and public documentation. This leads to client retry storms, broken SDKs, and inconsistent API enforcement that is difficult to debug without production access.

    What it does

    • Identifies conflicting quotas, windows, and identities across source code, OpenAPI specs, and docs.
    • Traces enforcement paths from identity extraction to response serialization and header handling.
    • Standardizes 429 response schemas, Retry-After headers, and SDK retry logic.
    • Generates safe repository patches to centralize magic numbers and unify policy definitions.
    • Provides a deterministic test matrix using fake clocks and mocked adapters for local verification.

    Frameworks & tools

    Compatible with any repository containing Express, FastAPI, TypeScript, Python, OpenAPI, GraphQL, or standard HTTP client SDKs.

    Why this beats prompting it yourself

    Manual review misses the subtle drift between a middleware default and a hard-coded route override. This skill enforces a strict contract register that captures every source of truth, ensuring your patches are reviewable and tests are truly deterministic.

    Use cases

    • Aligning middleware quotas with OpenAPI specifications and public documentation.
    • Fixing SDKs that retry unsafe mutations or ignore Retry-After headers.
    • Unifying mixed rate-limit identities like user-based vs tenant-based scopes.
    • Standardizing response formats across different service mocks and test suites.

    Known limitations

    Cannot access live Redis instances, production gateways, or real customer traffic logs. It does not perform production migrations or verify deployed quotas.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 1 month ago

    • Passed all security checks, Safe to install

    Listed1 month ago
    Updated1 month ago

    What's inside

    Frequently Asked Questions