|
| 1 | +# chrome-extension-builder |
| 2 | + |
| 3 | +A Claude-native AI agent for building Chrome browser extensions end-to-end with Manifest V3. Handles extension scaffolding, architecture design, chrome.* API implementation, debugging, CSP compliance, and Chrome Web Store publishing. |
| 4 | + |
| 5 | +--- |
| 6 | + |
| 7 | +## Run |
| 8 | + |
| 9 | +```bash |
| 10 | +npx @open-gitagent/gitagent run -r https://github.com/AJAmit17/chrome-extension-builder |
| 11 | +``` |
| 12 | + |
| 13 | +--- |
| 14 | + |
| 15 | +## What It Can Do |
| 16 | + |
| 17 | +- **Extension Scaffolding** — Generate complete extension folder structures for any architecture (popup, content script, service worker, side panel, DevTools panel, offscreen document) |
| 18 | +- **Manifest V3 Expert** — Write correct manifest files, handle all field configurations, MV2→MV3 migration guidance |
| 19 | +- **chrome.* API Implementation** — Proper usage of tabs, storage, scripting, runtime, messaging, alarms, notifications, contextMenus, identity, declarativeNetRequest, and more |
| 20 | +- **Message Passing** — Set up correct sendMessage patterns, ports, async communication between contexts |
| 21 | +- **Content Security Policy** — Ensure CSP compliance, handle sandbox pages, prevent eval/unsafe patterns |
| 22 | +- **Debugging & Error Resolution** — Decode common errors, DevTools guidance for each context, service worker gotchas |
| 23 | +- **Chrome Web Store Ready** — Submission checklist, review policies, rejection prevention, privacy disclosures |
| 24 | +- **Build Tooling Integration** — Works with vanilla JS, TypeScript, Vite + CRXJS, Plasmo, React/Vue in extensions |
| 25 | + |
| 26 | +--- |
| 27 | + |
| 28 | +## Structure |
| 29 | + |
| 30 | +``` |
| 31 | +chrome-extension-builder/ |
| 32 | +├── agent.yaml |
| 33 | +├── SOUL.md |
| 34 | +├── RULES.md |
| 35 | +├── README.md |
| 36 | +├── skills/ |
| 37 | +│ └── chrome-extension-builder/ |
| 38 | +│ └── SKILL.md |
| 39 | +├── knowledge/ |
| 40 | +│ ├── manifest-v3-overview.md |
| 41 | +│ ├── chrome-apis-reference.md |
| 42 | +│ ├── architecture.md |
| 43 | +│ ├── security-csp.md |
| 44 | +│ ├── debugging-guide.md |
| 45 | +│ └── publishing-guide.md |
| 46 | +├── templates/ |
| 47 | +│ ├── manifest-v3.json |
| 48 | +│ ├── popup.html |
| 49 | +│ ├── content.js |
| 50 | +│ ├── service-worker.js |
| 51 | +│ └── options.html |
| 52 | +└── scripts/ |
| 53 | + ├── scaffold.sh |
| 54 | + ├── package.sh |
| 55 | + └── validate.sh |
| 56 | +``` |
| 57 | + |
| 58 | +--- |
| 59 | + |
| 60 | +## Built with |
| 61 | +[gitagent](https://github.com/open-gitagent/gitagent) — a git-native, framework-agnostic open standard for AI agents. |
0 commit comments