Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    stripe integration reviewer

    1

    Audit and fix Stripe integration bugs including webhook idempotency, race conditions, and missing dispute handling.

    $15

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    stripe integration reviewer

    stripe integration reviewer

    Example session with this skill installed

    Audit our Express webhook handler in routes/stripe.js for idempotency and race conditions. We are seeing occasional duplicate subscription records in our database.

    • Read your context and instructions
    • Compiled the stripe integration reviewer

    The handler lacks a completion marker. If your process crashes after DB insertion but before responding to Stripe, redelivery will skip the logic, causing data loss. I have generated a claim-then-complete fix using your PostgreSQL store and added a monotonicity check for subscription status.

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

    What you get

    Identify why customers are being double-charged during webhook redelivery.Verify signature checks use raw request bytes to prevent verification failures.Generate Test Clock scripts to simulate subscription renewals and trial ends.Ensure local database updates are monotonic to prevent out-of-order state bugs.

    About this skill

    The problem

    Stripe integration code often fails silently in production due to redelivered webhooks, out-of-order events, and unhandled disputes. Developers frequently assume a try/catch block ensures idempotency, but without a dedicated claim-and-complete mechanism, you risk double-charging customers or losing data during crashes.

    What it does

    • Audits webhook handlers for strict signature verification using raw request bytes to prevent downgrade attacks.
    • Identifies race conditions caused by Stripe's at-least-once, out-of-order event delivery guarantees.
    • Verifies that idempotency logic uses an atomic claim-then-complete pattern keyed on event IDs.
    • Checks for coverage of critical dispute and chargeback lifecycle events within your application logic.
    • Generates integration tests utilizing Stripe Test Clocks to simulate subscription transitions like trial expiry and dunning.

    Frameworks & tools

    Works with Node.js (Express, Next.js Pages/App Router), Python (Flask, Django), and any stack using the official Stripe SDK. Specifically identifies framework-specific pitfalls like middleware body-parsing that breaks signature verification.

    Why this beats prompting it yourself

    General LLMs often suggest simple "insert-if-not-exists" patterns that still leave windows for data loss if a process crashes mid-execution. This skill enforces a specific two-step atomic protocol and monotonicity checks for state updates, ensuring your integration handles the edge cases documented in Stripe's technical snapshots.

    Use cases

    • Auditing a new payment flow before it handles real production transactions.
    • Debugging "double-grant" or "double-charge" bugs caused by webhook redelivery.
    • Adding programmatic handling for disputes and chargebacks to automate account flagging.
    • Building a test suite that actually triggers time-dependent subscription events.

    Known limitations

    Does not cover PCI-DSS compliance or client-side script integrity. Limited to Stripe integrations, as logic does not transfer to other payment providers. Does not execute live API calls.

    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 18 days ago

    • Passed all security checks, Safe to install

    Listed18 days ago

    Frequently Asked Questions