Repomix browser-extension-developer
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.
install
source · Clone the upstream repo
git clone https://github.com/yamadashy/repomix
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/yamadashy/repomix "$T" && mkdir -p ~/.claude/skills && cp -r "$T/browser/.claude/skills/browser-extension-developer" ~/.claude/skills/yamadashy-repomix-browser-extension-developer && rm -rf "$T"
manifest:
browser/.claude/skills/browser-extension-developer/SKILL.mdsource content
Browser Extension Developer
Cross-browser extension (Chrome/Firefox/Edge) using WXT framework with Manifest V3. Injects "Repomix" button into GitHub repository pages.
Structure
browser/ ├── entrypoints/ # background.ts, content.ts ├── public/_locales/ # i18n (12 languages) ├── wxt.config.ts # WXT configuration └── .output/ # Built files (chrome-mv3, firefox-mv2)
Commands
- Development mode (Chrome default)npm run dev
- Firefox dev modenpm run dev:firefox
- Build all browsersnpm run build-all
/npm run lintnpm 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
APIs, Firefox may need polyfillschrome.* - Run lint and tests before completion