ship-credits
Installation
SKILL.md
Scaffold a full credits system — database schema, backend middleware, payment webhooks, frontend state, and UI components. Reads the project first, builds on top of what's already there.
Phase 1: Understand the Project
Before writing any code, answer these questions by reading the codebase:
1.1 Detect the Stack
- Backend: Next.js API routes / FastAPI / Express / Django / Rails?
- Database: Supabase / Postgres / PlanetScale / MongoDB / Prisma?
- Auth: Clerk / NextAuth / Supabase Auth / Firebase Auth / custom JWT?
- Frontend state: Zustand / Redux / React Context / Jotai / vanilla?
- Existing payments?: Check for Stripe / Lemon Squeezy / Dodo / Paddle imports
1.2 Ask the User
Before scaffolding, confirm these decisions:
I'll set up credits for your [framework] app with [database].