dispute-evidence

Installation
SKILL.md

/dispute-evidence — Instrument an app so you can fight chargebacks

Turn "the buyer never used it" into rows: sign-ins, content views, downloads, checkout consent, mail delivery, and a support alert when a dispute opens. Evidence is read-only for a human. Nothing in this skill submits evidence to Stripe or changes a dispute's status.

Reference stack is Next.js + Prisma + Auth.js + Stripe + Resend (or similar). Adapt table/hook names to Rails, Laravel, etc. The checklist stays the same.

Worked example: Swipe Files draft PR conversionfactory/swipefiles-nextjs#97. Details in references/worked-example-swipefiles.md. Printable audit list in references/checklist.md.

Hard rules (never skip)

  1. Never auto-submit evidence to Stripe. Assemble a summary and alert a human. The human decides what to upload.
  2. Never change published refund policy windows without an explicit product decision. If membership says 2 days and a course page says 30, flag it and leave both alone until the owner picks.
  3. Evidence writes are best-effort. A failed AuthEvent / view / download / SentEmail write must never block sign-in, checkout, fulfilment, or mail send. Log and continue.
  4. New tables help only after deploy. No backfill of past disputes. Say that clearly in the PR.
  5. Don't buy a log-drain vendor without the owner's OK. Recommend options with retention ≥ ~120 days.

Step 0 — Scope the target app

Confirm with the user:

Installs
15
GitHub Stars
962
First Seen
10 days ago