Agent skill
billing
Billing - Stripe, webhooks, subscriptions. Use when implementing payments.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/billing-sylphxai-flow
SKILL.md
Billing Guideline
Tech Stack
- Payments: Stripe
- Workflows: Upstash Workflows + QStash
- Database: Neon (Postgres)
- ORM: Drizzle
Non-Negotiables
- Webhook signature must be verified (reject unverifiable events)
- Stripe event ID must be used for idempotency
- Webhooks must handle out-of-order delivery
- Subscription state changes must be audit-logged
- Payment failures must trigger appropriate user communication
Context
Billing handles the payment processing mechanics — webhooks, subscription lifecycle, payment methods. It's the plumbing that moves money. Pricing strategy and entitlements live in pricing.
The platform owns billing logic. Stripe is a payment processor. All billing configuration must be in code, not Stripe dashboard.
Driving Questions
- Are webhooks handling all subscription lifecycle events?
- What happens when payment fails mid-cycle?
- How are disputes and chargebacks handled end-to-end?
- Can failed webhooks be safely replayed?
- Where could revenue leak (failed renewals, unhandled states)?
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?