Chuyển đến nội dung chính

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.

Sử dụng Kỹ năng

Khi đã cài đặt, trợ lý AI của bạn có thể sử dụng những kỹ năng này khi bạn yêu cầu nó thực hiện các tính năng Dodo Payments. Sau đây là một số gợi ý ví dụ:

Thực tiễn Tốt nhất

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

Webhooks

Set up webhook handlers for payment and subscription events

Đăng ký

Implement a subscription flow with free trial and multiple pricing tiers

Thanh toán

Create a checkout session for my SaaS product

Tính phí dựa trên sử dụng

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

BillingSDK

Add a pricing page using BillingSDK components

Khóa Giấy phép

Implement license key validation for my desktop app

Tính phí dựa trên tín dụng

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

Cách Kỹ năng Hoạt động

Kỹ năng cung cấp cho trợ lý AI của bạn:
  1. Kiến thức Thủ tục - Hướng dẫn theo từng bước cho việc thực hiện các tính năng
  2. Mẫu Mã - Mẫu và đoạn mã sản xuất sẵn sàng
  3. Thực tiễn Tốt nhất - Phương pháp đề xuất cho bảo mật, xử lý lỗi, và UX
  4. Nhận thức Ngữ cảnh - Sự hiểu biết về cách hoạt động của các tính năng Dodo Payments khác nhau
Khi bạn yêu cầu trợ lý AI thực hiện một tính năng, nó sử dụng kỹ năng liên quan để:
  • Hiểu cách tiếp cận thực hiện đúng
  • Tạo mã chính xác, hoạt động
  • Tuân thủ các quy ước của Dodo Payments
  • Xử lý các trường hợp và lỗi biên một cách chính xác
Kỹ năng bổ sung cho MCP ServerSentra. Sử dụng MCP cho các thao tác API, Sentra cho tích hợp có hướng dẫn, và Kỹ năng cho khả năng trợ lý AI nâng cao.

So sánh với Công cụ Khác

Công cụMục đíchTốt nhất cho
Kỹ năng Tác nhânNâng cao kiến thức trợ lý AIPhát triển hỗ trợ AI với bất kỳ MCP client nào
MCP ServerThực hiện các thao tác APITruy cập API trực tiếp từ trợ lý AI
SentraTrợ lý tích hợp có hướng dẫnTích hợp thanh toán tương tác trong IDE

Tài nguyên

Skills Repository

Duyệt mã nguồn và đóng góp vào các kỹ năng Dodo Payments

MCP Server

Kích hoạt trợ lý AI để thực hiện các thao tác API của Dodo Payments

Sentra

Trợ lý thanh toán AI cho IDE của bạn

Discord Community

Nhận trợ giúp và chia sẻ phản hồi với cộng đồng
Last modified on May 4, 2026