browser-extension-developer — Claude Code skill
browser-extension-developer — a skill for building cross-browser extensions with WXT framework, targeting Chrome, Firefox, and Edge. Handles content scripts, background logic, and 12-language localization.
MIT ★ 29,370 updated 2026-10-24
npx skills add yamadashy/repomix --skill browser-extension-developer -a claude-codeWhat browser-extension-developer does
This skill aligns with the browser/ directory structure in Repomix. It manages entry points (background.ts, content.ts), WXT configuration, language files for 12 locales, and pre-built outputs for each browser. The extension injects a Repomix button into GitHub repository pages.
Develop with npm run dev (Chrome default), npm run dev:firefox (Firefox), or npm run build-all (all targets). Always run lint and tests before wrapping up work.
Chrome and Edge use chrome.* APIs; Firefox may need polyfills. To add a language, create public/_locales/[code]/messages.json with the keys appDescription and openWithRepomix.
What it helps with
- build content scripts that inject UI elements into web pages
- manage background scripts and event handling across browsers
- localize extension strings into multiple languages
- ensure Chrome, Firefox, and Edge compatibility
- compile and validate the extension before release
Example prompts for the agent
- Write a content script that adds a button to every GitHub repository page
- Update the French localization in
public/_locales/fr/messages.json - Run
npm run dev:firefoxto test the extension in Firefox
How to install browser-extension-developer
1Skills CLI (Vercel)
npx skills add yamadashy/repomix --skill browser-extension-developer -a claude-code2Manually: put the files in place
~/.claude/skills/browser-extension-developer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/browser-extension-developer/
1Skills CLI (Vercel)
npx skills add yamadashy/repomix --skill browser-extension-developer -a codex2Manually: put the files in place
.agents/skills/browser-extension-developer/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add yamadashy/repomix --skill browser-extension-developer -a cursor2Manually: put the files in place
.cursor/skills/browser-extension-developer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install yamadashy/repomix browser/.claude/skills/browser-extension-developer2Manually: put the files in place
.github/skills/browser-extension-developer/SKILL.md1Skills CLI (Vercel)
npx skills add yamadashy/repomix --skill browser-extension-developer -a gemini-cli2Platform CLI
gemini skills install https://github.com/yamadashy/repomix --path browser/.claude/skills/browser-extension-developerManually: put the files in place
.devin/skills/browser-extension-developer/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add yamadashy/repomix --skill browser-extension-developer -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about browser-extension-developer
How do I install browser-extension-developer in Claude Code?
Run npx skills add yamadashy/repomix --skill browser-extension-developer -a claude-code, then open ~/.claude/skills/browser-extension-developer/SKILL.md.
What does this skill do?
It helps you develop and maintain browser extension code in the browser/ directory, covering cross-browser compatibility, content and background scripts, and language support.
How do I add support for a new language?
Create a folder under public/_locales/ with the language code (e.g., public/_locales/it/), then add a messages.json file with the keys appDescription and openWithRepomix.
Source text
SKILL.md · MIT
--- name: browser-extension-developer description: Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates. --- # Browser Extension Developer Cross-browser extension (Chrome/Firefox/Edge) using **WXT framework** with Manifest V3. Injects "Repomix" button into GitHub repository pages. ## Structure ```plaintext browser/ ├── entrypoints/ # background.ts, content.ts ├── public/_locales/ # i18n (12 languages) ├── wxt.config.ts # WXT configuration └── .output/ # Built files (chrome-mv3, firefox-mv2) ``` ## Commands - `npm run dev` - Development mode (Chrome default) - `npm run dev:firefox` - Firefox dev mode - `npm run build-all` - Build all browsers - `npm run lint` / `npm run test` ## i18n 12 languages: en, ja, de, fr, es, pt_BR, id, vi, ko, zh_CN, zh_TW, hi New language: Create `public/_locales/[code]/messages.json` with keys: appDescription, openWithRepomix ## Notes - Chrome/Edge use `chrome.*` APIs, Firefox may need polyfills - Run lint and tests before completion
© yamadashy · MIT · yamadashy/repomix