Skip to content

Commit a25f015

Browse files
authored
Merge pull request #2 from AJAmit17/main
Add chrome-extension-builder agent
2 parents 15b1778 + 2d9ec0f commit a25f015

2 files changed

Lines changed: 75 additions & 0 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "chrome-extension-builder",
3+
"author": "AJAmit17",
4+
"description": "AI agent for building Chrome extensions end-to-end — scaffolding, Manifest V3, chrome.* APIs, debugging, CSP, and Web Store publishing",
5+
"repository": "https://github.com/AJAmit17/chrome-extension-builder",
6+
"version": "1.0.0",
7+
"category": "developer-tools",
8+
"tags": ["chrome-extensions", "manifest-v3", "extension-scaffolding", "chrome-api"],
9+
"license": "MIT",
10+
"model": "claude-opus-4-6",
11+
"adapters": ["claude-code", "openai", "lyzr", "system-prompt"],
12+
"icon": false,
13+
"banner": false
14+
}

0 commit comments

Comments
 (0)