codemcp.toml 1.2 KB

123456789101112131415
  1. project_prompt = '''
  2. - this is a firefox browser extension which manages a set of playlists, where each video is located at a url
  3. - it also tracks video playback history
  4. - playlist and history data is stored using the browser's storage API
  5. - the extension popup code is in the popup/ folder, and is implemented in Alpine.js
  6. - all the Alpine code must be in "CSP" mode, which means there can be no javascript expression strings in the html attributes (no `===` equality checks, no function calls) (favor binding in Alpine.data instead)
  7. - background.js adds context menus (for adding new videos to the playlist), and manages automatic browser navigation and history tracking
  8. - content_scripts/content.js is injected to add video playback event listeners
  9. - under no circumstances will there be any need to read or write files outside the code directory
  10. - do not execute any command that reads, writes, or searches for files outside the code directory
  11. - at the end of each request, before committing in git, save a copy of the contents of the context window (including the user's original prompt) to a file in the code folder with the filename of "<date>-codemcp-<feature name>.md"
  12. '''
  13. [commands]