Skip to content

Using AI to Assist in Plugin Development

DISCLAIMER

While AI assistants can be helpful in development, they may sometimes provide incorrect or incomplete information. Always verify AI-generated code and suggestions against the official documentation and test thoroughly.

Cursor

If you are using Cursor as your IDE, you can load the Caido documentation websites into your workspace so that Cursor becomes aware of the Caido SDK:

  1. Open Cursor and click View in the menu bar and select Command Palette (or use CTRL + Shift + P) and search for:
Add New Custom Docs
  1. Select the option and enter the documentation URL:
https://developer.caido.io/
  1. Provide a reference name and click Confirm.
Add dev docs to Cursor.
  1. Cursor will index the website allowing you to reference the documentation in prompts by using @<reference name>.

TIPS

  • Add https://github.com/caido/sdk-js to Cursor as well so it has the SDK alongside the developer documentation examples.

  • Also add https://docs.caido.io/ to Cursor so you can reference interfaces for context.

  • You can also customize prompt responses by navigating to Settings, Rules, and writing your preferences in the User Rules input field.

Custom GPT

This custom GPT is trained on Caido documentation, SDKs, and additional sources to answer your prompts with higher accuracy.