Vai al contenuto principale

Documentation Index

Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Agent Skills are reusable capabilities that enhance what AI coding assistants can do when working with Dodo Payments. They provide procedural knowledge and best practices that help agents accomplish specific tasks more effectively - from integrating checkout flows to setting up usage-based billing.
Think of skills as plugins for your AI assistant. They teach your agent how to implement Dodo Payments features correctly, following our recommended patterns and best practices.
Skills work with any MCP-compatible AI agent, including:
  • Claude Code - Anthropic’s CLI coding assistant
  • OpenCode - Open source AI coding agent
  • Cursor - AI-first code editor
  • Other MCP clients - Any agent supporting the skills protocol

Available Skills

SkillDescription
dodo-best-practicesComprehensive guide to integrating Dodo Payments with best practices
webhook-integrationSetting up and handling webhooks for payment events
subscription-integrationImplementing subscription billing flows
checkout-integrationCreating checkout sessions and payment flows
usage-based-billingImplementing metered billing with events and meters
billing-sdkUsing BillingSDK React components
license-keysManaging license keys for digital products
credit-based-billingImplementing credit entitlements, balances, and metered credit deduction

Installation

Choose your preferred installation method based on your AI coding assistant.

Utilizzo delle Competenze

Una volta installate, il tuo assistente AI può sfruttare queste competenze quando gli chiedi di implementare funzionalità di Dodo Payments. Ecco alcuni esempi di prompt:

Migliori Pratiche

Help me integrate Dodo Payments into my Next.js app following best practices

Webhook

Set up webhook handlers for payment and subscription events

Abbonamenti

Implement a subscription flow with free trial and multiple pricing tiers

Checkout

Create a checkout session for my SaaS product

Fatturazione Basata sul Consumo

Add usage-based billing to track API calls for my AI product

BillingSDK

Add a pricing page using BillingSDK components

Chiavi di Licenza

Implement license key validation for my desktop app

Fatturazione Basata su Credito

Set up credit entitlements and metered credit deduction for my AI product

Come Funzionano le Competenze

Le competenze offrono al tuo assistente AI:
  1. Conoscenza Procedurale - Istruzioni passo a passo per l’implementazione delle funzionalità
  2. Template di Codice - Modelli di codice pronti per la produzione e frammenti
  3. Migliori Pratiche - Approcci consigliati per sicurezza, gestione degli errori e UX
  4. Consapevolezza del Contesto - Comprensione di come funzionano insieme le diverse funzionalità di Dodo Payments
Quando chiedi al tuo assistente AI di implementare una funzionalità, utilizza la competenza pertinente per:
  • Comprendere l’approccio di implementazione corretto
  • Generare codice funzionante e accurato
  • Seguire le convenzioni di Dodo Payments
  • Gestire correttamente casi limite ed errori
Le competenze completano il MCP Server e Sentra. Usa MCP per operazioni API, Sentra per un’integrazione guidata e le Competizioni per migliorare le capacità del tuo assistente AI.

Confronto con Altri Strumenti

StrumentoScopoIdeale Per
Competenze AgenteMigliorare la conoscenza dell’assistente AISviluppo assistito da AI con qualsiasi client MCP
MCP ServerEseguire operazioni APIAccesso diretto API dagli assistenti AI
SentraAssistente di integrazione guidataIntegrazione di fatturazione interattiva nell’IDE

Risorse

Skills Repository

Esplora il codice sorgente e contribuisci alle competenze Dodo Payments

MCP Server

Abilita gli assistenti AI a eseguire operazioni API di Dodo Payments

Sentra

Assistente di fatturazione potenziato da AI per il tuo IDE

Discord Community

Ottieni assistenza e condividi feedback con la comunità
Last modified on May 4, 2026