extension_feature_plan
Plan the surface before adding an options page, a popup, a side panel, a content script, a devtools panel, a new tab page or a background script.
Quick start
Add an options page to this extension
Asked to add an options page, the agent plans the surface, writes it, validates the manifest and proves it in a dev session.
How the agent uses it
It lists manifest additions and new files and changes nothing; then validate the manifest, extension_build, extension_dev. New project: extension_create; templates: extension_templates_read; extension.dev: extension_project_create.
Reference
| Group | local, on by default |
| Tier | Create and build |
| Needs | none |
| Read only | yes |
| Destructive | no |
| Idempotent | yes |
| Reaches the open web | no |
Inputs
| Input | Type | Required | Default | What it does |
|---|---|---|---|---|
projectPath | string | yes | The extension's folder (manifest.json or package.json). | |
feature | "sidebar" | "popup" | "options" | "content-script" | "background" | "newtab" | "devtools" | yes | Surface to plan; decides the manifest keys and files listed. | |
framework | "react" | "vue" | "svelte" | "preact" | "vanilla" | no | "react" | UI framework the planned files use. |
Next
- MCP server: install, the three groups and the session gates
- Install in your client
extension_build: Build an extension into dist/<browser>/ on this machine, one browser a call.extension_create: Create a new extension from a template (extension_templates_read), plain JavaScript too; it may init git.extension_docs_search: Search the Extension.js and extension.dev docs (free) for a WebExtension API, a manifest key, a permission or a browser difference.extension_templates_read: Browse the template catalog or read a template's files.