Skip to main content

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.

Stars
25,776
Source
yamadashy/repomix
Updated
2026-05-31
Slug
yamadashy--repomix--browser-extension-developer
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/yamadashy/repomix/HEAD/browser/.claude/skills/browser-extension-developer/SKILL.md -o .claude/skills/browser-extension-developer.md

Drops the SKILL.md into .claude/skills/browser-extension-developer.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

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

  • 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