agentleFS
trac3r00trac3r00/agent-skills/skills/ext-scaffold/SKILL.md

ext-scaffold

Skill0 starsChanged 3 months agoMITView on GitHub

Generates a working Manifest V3 browser extension skeleton — manifest.json, background service worker, content script, and popup — valid on first load in Chrome/Edge/Firefox with no npm and no bundler. Refuses to overwrite an existing directory. Use when starting any browser extension instead of writing boilerplate.

The file

Files
SKILL.md

Ext Scaffold

A working Manifest V3 extension in one command — no npm, no bundler, no "why doesn't my service worker register".

Commands

python3 scripts/ext_scaffold.py my-extension
python3 scripts/ext_scaffold.py my-extension --dir ~/projects --permissions storage,tabs

Generated

my-extension/
├── manifest.json    # MV3, kebab-case name validated, permissions you asked for
├── background.js    # service worker: install hook + message ping/pong
├── content.js       # content script: runs on all pages, pings background
├── popup.html       # action popup with a working button
└── popup.js         # popup logic: queries the active tab

Load it: chrome://extensions -> Developer mode -> Load unpacked. It works before you touch a line — message passing, content injection, and popup all wired.

Pairs with

webapp-testing (drive the browser with your extension loaded), code-review (review what you build on the scaffold).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.