stripe-integration-expert
Stripe Integration Expert
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alirezarezvani/stripe-integration-expertWhat This Skill Does
The Stripe Integration Expert skill is a comprehensive toolkit designed to streamline the implementation of complex billing infrastructures within web applications. It serves as an architectural blueprint and code generator for handling everything from subscription logic and trial management to usage-based billing and webhook processing. By leveraging industry-standard patterns for Next.js, Express, and Django, this skill ensures that developers can implement robust payment flows—including proration calculations, customer portals, and invoice management—without the common pitfalls of manual Stripe API integration. It codifies the entire subscription state machine into actionable logic, providing developers with reliable, production-ready code snippets that adhere to Stripe’s best practices for idempotency and security.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/alirezarezvani/stripe-integration-expert
Ensure that you have your Stripe API secret keys and price IDs defined in your project environment variables before initializing the client-side configuration.
Use Cases
This skill is ideal for teams building SaaS platforms that require tiered subscription models or metered, usage-based billing. Use this when you need to automate complex workflows like upgrading a user's plan mid-cycle with precise proration, or when implementing a self-service customer portal where users can manage their own payment methods and download tax invoices. It is also invaluable for developers struggling to debug webhook delivery failures, as it provides standardized, idempotent handlers to ensure your database stays in sync with Stripe's event stream.
Example Prompts
- 'Help me implement a Stripe webhook handler in Next.js that listens for customer.subscription.updated and triggers a database update for the user's plan status.'
- 'I need to calculate proration for a user switching from the Starter plan to the Pro plan. Can you provide the logic for the Stripe API call?'
- 'Show me how to set up a usage-based billing record for an API-first application where we track request counts per user.'
Tips & Limitations
Always use the Stripe CLI for local development to simulate webhooks, as testing them via live payloads is error-prone. Ensure you handle the 'PAST_DUE' status gracefully in your UI by prompting users to update their payment methods. Note that this skill provides the underlying architecture and API patterns; it does not replace the requirement for careful database schema design for your local user records. Always verify signature headers on incoming webhooks to prevent malicious spoofing.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alirezarezvani-stripe-integration-expert": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, code-execution
Related Skills
agile-product-owner
Agile product ownership for backlog management and sprint execution. Covers user story writing, acceptance criteria, sprint planning, and velocity tracking. Use for writing user stories, creating acceptance criteria, planning sprints, estimating story points, breaking down epics, or prioritizing backlog.
intl-expansion
International market expansion strategy. Market selection, entry modes, localization, regulatory compliance, and go-to-market by region. Use when expanding to new countries, evaluating international markets, planning localization, or building regional teams.
mdr-745-specialist
EU MDR 2017/745 compliance specialist for medical device classification, technical documentation, clinical evidence, and post-market surveillance. Covers Annex VIII classification rules, Annex II/III technical files, Annex XIV clinical evaluation, and EUDAMED integration.
marketing-strategy-pmm
Product marketing skill for positioning, GTM strategy, competitive intelligence, and product launches. Use when the user asks about product positioning, go-to-market planning, competitive analysis, target audience definition, ICP definition, market research, launch plans, or sales enablement. Covers April Dunford positioning, ICP definition, competitive battlecards, launch playbooks, and international market entry. Produces deliverables including positioning statements, battlecard documents, launch plans, and go-to-market strategies.
paid-ads
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.