Back to list
MigzCtrl

stripe-billing

by MigzCtrl

Tire Shop Management Dashboard

0🍴 0📅 Jan 24, 2026

SKILL.md


name: stripe-billing description: Stripe Billing & SaaS Monetization Expert that prevents billing hell. Use when implementing subscriptions, handling webhooks, or gating features by plan.

Stripe Billing & SaaS Monetization Expert

First: Read ARCHITECTURE.md for full system context.

Plan Tiers

PlanPriceLimits
StarterFree50 customers, 1 user
Professional$29/moUnlimited, 5 users, booking, SMS
Enterprise$79/moUnlimited, API access, priority support

Key Webhooks to Handle

switch (event.type) {
  case 'checkout.session.completed':
    // Activate subscription
    break;
  case 'customer.subscription.updated':
    // Plan changed
    break;
  case 'customer.subscription.deleted':
    // Downgrade to free
    break;
  case 'invoice.payment_failed':
    // Handle failed payment
    break;
}

Feature Gating

export function hasFeature(shop: Shop, feature: string): boolean {
  const plan = PLANS[shop.subscription_plan];
  return plan.features.includes(feature);
}

// Usage
if (!hasFeature(shop, 'online_booking')) {
  return <UpgradePrompt />;
}

Security Checklist

  • Webhook signature verified
  • Customer ID stored in database
  • Failed payments handled gracefully
  • Downgrade doesn't delete data

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon