For the complete documentation index, see llms.txt. This page is also available as Markdown.

AI Agent Toolkit

Claude Code


Prerequisites

Before you begin, make sure Claude Code is installed on your machine.

Install Claude Code globally:

npm install -g @anthropic-ai/claude-code

Verify the installation:

claude --version

Installation Guide

Step 1: Clone the Plugin Repository

Clone the plugin repository to your local machine:

git clone <repo-url> ~/plugins

After cloning, your folder structure should look like this:

~/plugins/
├── marketplace.json        ← Plugin registry
├── doku-codegen/           ← Plugin directory
│   ├── plugin.json
│   ├── skills/
│   ├── agents/
│   └── ...
└── other-plugin/

marketplace.json must exist at the root of the plugins directory. Claude Code uses this file to discover available plugins.


Step 2: Register the Marketplace

Start a Claude Code session:

Inside the session, open the plugin manager:

Then:

  1. Select Marketplace

  2. When prompted for the repository URL, enter:

Make sure your GitHub SSH key is configured correctly before continuing. If you receive a permission error, verify that your SSH key has access to the repository.


Step 3: Install the Plugin

Inside the Claude Code session, run:

After installation, reload the plugins:


Step 4: Use the Plugin

You’re ready to use the plugin.

Example command:


List of Commands

Command
Purpose

/generate [payment-method]

Main entry point full setup + generate

/spec [payment-method]

Fetch and save a specific API spec

/checklist

Run production readiness checks

/test

Send a real request to DOKU sandbox to verify signature and connectivity

/postman

Export a Postman collection with a signature pre-request script

/save-session [note]

Snapshot the current generation state

/resume-session

Continue from a saved snapshot


Troubleshooting

Problem
What to Check

/plugin install says marketplace not found

Verify the plugins path in settings.json is correct

Plugin installed but commands are unavailable

Run /reload-plugins after installation

marketplace.json not found error

Ensure marketplace.json exists at the root of the plugins directory

Permission denied when registering marketplace

Confirm your SSH key has access to the GitHub repository

Tips


  1. Explore additional plugins listed in marketplace.json

  2. Review plugin.json for supported commands and configuration

  3. Check the skills/ and agents/ directories to understand plugin capabilities


Cursor

Prerequisites

Before you begin, make sure you have:

  • Cursor Desktop IDE installed (this plugin only works with the desktop IDE).

  • Access to the DOKU Codegen repository.


Installation Guide

Step 1 - Add the Plugin Repository

  1. Open the Cursor Desktop IDE.

  2. Go to Customize from the left sidebar.

  3. Under Repositories, click the + icon.

  4. Enter the repository URL:

Note: Make sure you have access to the repository before proceeding.


Step 2 - Install the Plugin

  1. Navigate to Customize → Plugins.

  2. Search for:

  1. Click Add on DOKU Codegen.

  2. Completely quit Cursor (Cmd + Q) and reopen it.

Note: Plugins are only loaded when Cursor starts.


Step 3 - Verify the Installation

After restarting Cursor:

  1. Go to Customize → Plugins.

  2. Confirm DOKU Codegen appears in the plugin list.

  3. Opening the plugin should display:

  • 2 Sub-agents

  • 7 Commands

  • 8 Skills

  • 1 Hooks Group

You can also verify from Agent Chat by typing:

It should autocomplete to:


Step 4 - Configure Your Credentials

You'll need your DOKU API credentials:

  • CLIENT_ID

  • SECRET_KEY

These can be obtained from: DOKU Dashboard → Integration → API Keys

You can configure them in one of two ways:

Option 1 - Let the Plugin Prompt You (Recommended)

In Agent Chat, run:

The plugin will automatically ask for your credentials and save them locally.

Option 2 - Create the Configuration File Manually

Create:

Example:


Step 5 - Generate Your First Client

Open your project in Cursor (File → Open Folder).

Then, in Agent Chat, run:

The plugin will automatically:

  • Detect your project's language and framework.

  • Fetch the latest DOKU API specification.

  • Generate a production-ready API client.

  • Run quality and security validation.

  • Provide a production readiness checklist.


List of Commands

Command
Purpose

/generate [payment-method]

Main entry point full setup + generate

/spec [payment-method]

Fetch and save a specific API spec

/checklist

Run production readiness checks

/test

Send a real request to DOKU sandbox to verify signature and connectivity

/postman

Export a Postman collection with a signature pre-request script

/save-session [note]

Snapshot the current generation state

/resume-session

Continue from a saved snapshot


Codex

The installation guide is available upon request. Please contact our Sales team for access by submitting this form.

Last updated