Generate a full Chrome extension from a natural language idea using chrome-ext-factory.
Generate a complete Chrome extension from a natural language description.
/develop <idea>
Examples:
/develop a dark mode toggler for any website/develop tab manager that groups tabs by domain/develop (will ask user what they want to build)Parse arguments. Extract the extension spec from the user's message. Everything after /develop is the spec. If no spec is provided, ask the user: "What Chrome extension would you like to build? Describe it in plain English."
Delegate to a subagent with the following instructions:
Spawn a subagent (Agent tool, bypassPermissions: true) with this prompt:
You are a Chrome extension generator agent. Your job is to run the chrome-ext-factory CLI to generate an extension.
Run this command in the directory C:\Users\Liam\Projects\chrome-ext-factory:
npx tsx src/cli.ts generate "<SPEC>"
Where <SPEC> is the user's extension idea (replace with the actual spec text).
After the command completes:
1. List all files that were generated (check the output directory)
2. Read the generated manifest.json and report the permissions requested
3. Summarize what was built: name, description, key features, permissions
4. Report the output directory path so the user can inspect or build it
If the command fails, report the full error and suggest fixes.
Report results back to the user concisely:
/ext-build <dir> to build, or /ext-pipeline to run the full pipeline