What it does
A Cursor rules file for building Chrome extensions with JavaScript or TypeScript. It sets code style and naming, a clear split between background, content and popup scripts, message passing, Manifest V3, least-privilege permissions and security practices.
Use cases
- 01Start a Manifest V3 extension with a clean file structure
- 02Pass messages between content and background scripts
- 03Request only the permissions the extension needs