Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add yamadashy/repomix --skill browser-extension-developer -a claude-code
Open on GitHub

What 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:firefox to 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-code

2Manually: put the files in place

~/.claude/skills/browser-extension-developer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/browser-extension-developer/

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

Similar skills

All skills for Frontend and UI →

From the same set4

Project sponsors

Companies that keep this analytics open