pricing-page
Installation
SKILL.md
Scaffold a complete pricing system — tier definitions, feature gating logic, Dodo Payments checkout, and a frontend pricing component. Reads the project first, wires into the existing stack.
Phase 1: Understand the Project
Before writing anything, read the codebase:
1.1 Stack Detection
- Framework: Next.js / other?
- Database: What ORM/client? What does the users table look like?
- Auth: How is the current user identified in API routes?
- Existing payments: Check
package.jsonfor payment provider:@dodopayments/sdk→ Dodo Payments (use Phase 4 below)stripe→ stop and report: "Unsupported provider: this skill only implements Dodo Payments. Keep Stripe unchanged and use a Stripe-specific workflow."@lemonsqueezy/lemonsqueezy.js→ stop and report: "Unsupported provider: this skill only implements Dodo Payments. Keep Lemon Squeezy unchanged and use a Lemon Squeezy-specific workflow."- None → confirm that the user wants to set up Dodo Payments
Never install Dodo alongside an existing unsupported provider. Stop before changing files or dependencies.