bootstrap-credits

Official

Launch Stripe-powered credit packs in Phoenix.

Authoragoodway
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Building a prepaid credit system with Stripe billing, webhooks, async fulfillment, and UI can be complex and error-prone, especially when parts may already exist in the app.

Core Features & Use Cases

  • Credit ledger + balances: Creates per-account balances with optimistic locking and an append-only credit transactions history.
  • Stripe Billing + webhook handling: Adds pack configuration, PaymentIntent creation, webhook signature verification, and idempotent fulfillment.
  • Phoenix UX end-to-end: Generates LiveView purchase and history pages plus a Stripe.js hook for Payment Element mounting.

Use it when you want to add a prepaid credit system (pack purchase, balance + transaction history, and optional usage tracking) to a Phoenix 1.8 multi-tenant app without duplicating existing components.

Quick Start

Tell the AI to run the bootstrap credits workflow for your Phoenix app by mounting the endpoint at /dashboard/credits and enabling Stripe pack purchases.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: bootstrap-credits
Download link: https://github.com/agoodway/GoodSkills/archive/main.zip#bootstrap-credits

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.