← スキル一覧に戻る

stripe-billing
by MigzCtrl
Tire Shop Management Dashboard
⭐ 0🍴 0📅 2026年1月24日
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
| Plan | Price | Limits |
|---|---|---|
| Starter | Free | 50 customers, 1 user |
| Professional | $29/mo | Unlimited, 5 users, booking, SMS |
| Enterprise | $79/mo | Unlimited, 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
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です