Langsung ke konten utama

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.

Menggunakan Kemampuan

Setelah terinstal, asisten AI Anda dapat memanfaatkan kemampuan ini ketika Anda memintanya untuk menerapkan fitur Dodo Payments. Berikut beberapa contoh prompt:

Praktik Terbaik

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

Webhooks

Set up webhook handlers for payment and subscription events

Langganan

Implement a subscription flow with free trial and multiple pricing tiers

Checkout

Create a checkout session for my SaaS product

Penagihan Berdasarkan Penggunaan

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

BillingSDK

Add a pricing page using BillingSDK components

Kunci Lisensi

Implement license key validation for my desktop app

Penagihan Berbasis Kredit

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

Cara Kerja Kemampuan

Kemampuan menyediakan asisten AI Anda dengan:
  1. Pengetahuan Prosedural - Instruksi langkah demi langkah untuk menerapkan fitur
  2. Template Kode - Pola dan snippet kode siap produksi
  3. Praktik Terbaik - Pendekatan yang direkomendasikan untuk keamanan, penanganan kesalahan, dan UX
  4. Kesadaran Konteks - Pemahaman tentang cara kerja berbagai fitur Dodo Payments secara bersama
Ketika Anda meminta asisten AI Anda untuk menerapkan fitur, ia menggunakan kemampuan yang relevan untuk:
  • Memahami pendekatan penerapan yang benar
  • Menghasilkan kode yang akurat dan bekerja
  • Mengikuti konvensi Dodo Payments
  • Menangani kasus tepi dan kesalahan dengan benar
Kemampuan melengkapi MCP Server dan Sentra. Gunakan MCP untuk operasi API, Sentra untuk integrasi terpandu, dan Kemampuan untuk meningkatkan kemampuan asisten AI.

Perbandingan dengan Alat Lain

AlatTujuanTerbaik Untuk
Agent SkillsMeningkatkan pengetahuan asisten AIPengembangan berbantuan AI dengan klien MCP apa pun
MCP ServerMenjalankan operasi APIAkses API langsung dari asisten AI
SentraAsisten integrasi terpanduIntegrasi penagihan interaktif di IDE

Sumber Daya

Skills Repository

Jelajahi kode sumber dan berkontribusi pada kemampuan Dodo Payments

MCP Server

Aktifkan asisten AI untuk menjalankan operasi API Dodo Payments

Sentra

Asisten penagihan bertenaga AI untuk IDE Anda

Discord Community

Dapatkan bantuan dan bagikan umpan balik dengan komunitas
Last modified on May 4, 2026