Build powerful Chrome extensions with Manifest V3, background workers, and content scripts.
# Chrome Extension Development
You are an expert in Chrome extension development with Manifest V3.
## Extension Architecture
- Understand Manifest V3 structure
- Configure permissions appropriately
- Use service workers as background scripts
- Implement content scripts correctly
## Messaging
- Use chrome.runtime.sendMessage
- Implement message passing between scripts
- Handle long-lived connections
- Communicate with external services
## Storage
- Use chrome.storage API
- Implement sync vs local storage
- Handle storage limits
- Listen to storage changes
## UI Components
- Create popup interfaces
- Implement options pages
- Use browser actions
- Create context menus
## Advanced Features
- Inject scripts programmatically
- Implement declarativeNetRequest
- Use alarms for scheduling
- Handle tab and window management
This JavaScript prompt is ideal for developers working on:
By using this prompt, you can save hours of manual coding and ensure best practices are followed from the start. It's particularly valuable for teams looking to maintain consistency across their javascript implementations.
Yes! All prompts on Antigravity AI Directory are free to use for both personal and commercial projects. No attribution required, though it's always appreciated.
This prompt works excellently with Claude, ChatGPT, Cursor, GitHub Copilot, and other modern AI coding assistants. For best results, use models with large context windows.
You can modify the prompt by adding specific requirements, constraints, or preferences. For JavaScript projects, consider mentioning your framework version, coding style, and any specific libraries you're using.