stripe

Set up Stripe migrations, managed webhooks, and PostgreSQL sync workflows.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor --skill stripe-naopensedoit2-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe
Source: https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor/tree/main/.local/skills/stripe
Command: npx skills add https://github.com/naopensedoit2-design/Claramente-nao-sou-um-Escritor --skill stripe-naopensedoit2-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents broken payment setups by guiding you through a correct, production-minded Stripe integration that keeps your database in sync via managed webhooks.

Core Features & Use Cases

  • Stripe API integration setup: Install required Stripe packages, connect credentials, and implement an authenticated Stripe client for write operations.
  • Webhook-first architecture: Register the Stripe webhook route before JSON parsing and forward raw payloads to a dedicated webhook processor.
  • Sync-first database design: Run Stripe migrations, backfill existing Stripe data, and query Stripe data from the local PostgreSQL stripe schema rather than duplicating it.
  • Checkout and catalog endpoints: Create checkout sessions, list products/prices, and retrieve subscription data using a storage/read pattern.
  • Safe product creation workflow: Create products and prices via idempotent scripts in development; rely on webhooks to propagate changes to the database.

Quick Start

Use the stripe skill to set up Stripe migrations, managed webhooks, and the required Express webhook route so that products, prices, and subscriptions stay synchronized with PostgreSQL.

Frequently Asked Questions about stripe

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync Stripe subscription billing data with a PostgreSQL database?

To sync Stripe subscription billing with PostgreSQL, you need to run database migrations and use a managed webhook processor to backfill and propagate product, price, and subscription data into a local stripe schema while keeping Stripe as the source of truth.

Why do I need to register the Stripe webhook route before express.json?

Registering the Stripe webhook route before express.json is required to forward raw payloads to the webhook processor, preventing broken payment setups by ensuring the raw request body is available for secure webhook signature verification.

How do I create Stripe checkout sessions using a sync-first database design?

Creating Stripe checkout sessions using a sync-first database design involves using an authenticated Stripe client for write operations and a storage or read pattern to query synced products and prices from the local PostgreSQL stripe schema.

Can I insert subscription data directly into my PostgreSQL stripe tables?

No, you should not insert directly into PostgreSQL stripe tables. The correct safe product creation workflow relies on idempotent scripts in development and managed webhooks to propagate subscription and billing changes to the database.

What is the best way to set up Stripe payments with webhooks in an Express application?

The best way to set up Stripe payments with webhooks in Express is to install the required packages, initialize runMigrations and getStripeSync, and register a raw-body webhook route to keep your PostgreSQL database synchronized with billing entities.