stripe-integration-review
Skill5 starsChanged 5 months agoMITView on GitHub
Reviews Stripe integration code for correctness -- idempotency, error handling, API version pinning, webhook signature checks, and race conditions. Use when the user asks to "review Stripe code", "audit our Stripe integration", or mentions integration bugs, double-charging, or race conditions. For security specifically, see stripe-security-audit.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- active-subscriptions-auditSkill
- card-funding-riskSkill
- checkout-conversionSkill
- checkout-implementationSkill
- churn-analysisSkill
- cohort-retentionSkill
- coupon-promotion-auditSkill
- customer-360Skill
- customer-portal-setupSkill
- customer-segmentationSkill
- dispute-refund-auditSkill
- email-dunning-setupSkill
- financial-reconciliationSkill
- invoice-revenue-auditSkill
- mrr-arr-snapshotSkill
- past-due-dunningSkill
- payment-failure-auditSkill
- payout-balance-reportSkill
- pricing-experimentsSkill
- pricing-products-auditSkill
- radar-fraud-rulesSkill
- revenue-forecastingSkill
- revenue-recognitionSkill
- stripe-billing-contextSkill
- stripe-connectSkill
- stripe-health-dashboardSkill
- stripe-routerSkill
- stripe-security-auditSkill
- subscription-plan-changesSkill
- tax-complianceSkill
- upsell-expansionSkill
- usage-based-billingSkill
- webhook-implementationSkill
- webhook-reliabilitySkill
The file
Files
Stripe Integration Review
Reviews the codebase (not just live data). Grep the repo for Stripe usage, then audit.
Search targets
new Stripe(, stripe.subscriptions, stripe.checkout, stripe.webhooks, apiVersion, idempotencyKey.
Review Checklist
| Area | Check |
| API version | Pinned explicitly, not floating |
| Idempotency | idempotencyKey on create calls (retries safe) |
| Webhooks | Signature verified with constructEvent |
| Race conditions | Existing-subscription check before create (no double-bill) |
| Error handling | Stripe errors caught by type, user-friendly messages |
| Amounts | Cents, no float rounding bugs |
| Secrets | Key from env, never hardcoded |
| Proration | proration_behavior set intentionally on updates |
Output Template
Integration Review
Critical:
- [file:line] -- [issue] -> [fix]
Improve:
- ...
Good:
- ...
Top fix: [highest-risk item]Reference live behavior with MCP only to confirm suspicions (e.g. duplicate subs via active-subscriptions-audit).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

