← Back to directory

Add a prompt

This directory is file-based. To add a new prompt, add the prompt file and wire it into the tool + file map.

1) Add the file

Put your prompt under src/prompts/…

2) Register the tool/file

Add the file name under the correct tool in src/data/tools.ts

3) Map the file path

Add the relative path in src/data/filePathMap.ts

4) Refresh

The home page pulls from /api/prompts and will pick it up automatically.