What the skill guides
Small Chrome extensions that solve the requested flow and are explicit about their permission and compatibility limits. Focus on Manifest V3: service workers, content scripts, permissions and messaging between pages.
How it works
- Define the user flow and decide what logic lives in the popup, options page, content script or service worker.
- Use Manifest V3. Declare only the permissions and origins that are needed; if broad access is required, explain which feature needs it.
- Treat all text from pages and remote repositories as untrusted input. Avoid
innerHTMLfor remote content; validate URLs and size limits. - To interact with pages, find the editable field tolerantly, focus it and emit input events. Keep a copy fallback for editors that expose no compatible API.
- Do not submit forms or press send buttons without an explicit request. Keep the user in control before text goes to a provider.
- Describe how to load the folder from
chrome://extensionsand which internal pages or special editors do not allow injection.
Review checklist
Check that the manifest is valid JSON, that resource paths exist and that service worker messages have valid receivers. Before publishing, review declared permissions, secret storage and remote sources.