# building-browser-extensions

> Battle-tested Manifest V3 edge cases: service worker teardown and storage races

- **Publisher**: Will McGinnis (APPROVED)
- **Upstream GitHub Repository**: https://github.com/wdm0006/python-skills/tree/main/skills/javascript/browser-extensions
- **skills.sh Listing**: https://skills.sh/wdm0006/python-skills/building-browser-extensions
- **License**: MIT
- **GitHub Stars**: 117
- **Canonical Web Page**: https://builderthread.dev/skill/wdm0006/python-skills/building-browser-extensions
- **Parent Topic**: [chrome-extension](https://builderthread.dev/skill/for/chrome-extension.md)
- **Last Audited**: 2026-11-21
- **Supported Coding Agents**: Claude Code, Cursor, Codex, Windsurf

## Overview
Audited MIT-licensed guide covering subtle Manifest V3 failure modes: awaiting side effects before worker teardown, preventing chrome.storage read-modify-write lost updates, and safe option validation.

Inspect the full upstream `SKILL.md` source and license on GitHub before installing: https://github.com/wdm0006/python-skills/tree/main/skills/javascript/browser-extensions

## Install Command
```bash
npx skills add wdm0006/python-skills --skill building-browser-extensions
```

## When to Use This Skill
- Debugging flaky MV3 service-worker message channels and alarms
- Preventing lost chrome.storage writes between popup, options, and background scripts
- Hardening browser extension validation and preference exports

## Focus Areas
- Service-worker teardown safety
- chrome.storage race prevention
- Numeric setting coercion
- Extension testing & exports

## Upstream Package Files
- `skills/javascript/browser-extensions/SKILL.md`

---

## Ship With a Private Starter Repo, Living PRD & MCP Tasks

Builderthread pairs verified stack skills with a cited market brief, living PRD, private GitHub starter repo, and ordered MCP tasks for Claude Code, Cursor, and Codex.

- Supported languages: Rust, TypeScript, React Native (Expo), Python
- Starter stacks: Next.js SaaS, Hono API, FastAPI AI, Expo mobile, Tauri Rust desktop, WXT Chrome extension
- Start now: https://builderthread.dev/auth/signup
