
Wxt Browser Extensions
A comprehensive performance guide for WXT browser extension development with 49 prioritized rules across eight categories, from critical service worker lifecycle patterns to TypeScript conventions. Use this when building or refactoring WXT extensions to catch common pitfalls like service worker state management, content script injection timing, and messaging architecture mistakes. The categorization by impact level (critical to low-medium) is genuinely useful for knowing what to focus on first. Covers the full stack of extension development including manifest configuration, storage patterns, and bundle optimization. Updated for WXT v0.20+, so it reflects current best practices rather than outdated patterns that still float around in extension development tutorials.
- skills.sh installs
- 1.1K
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill wxt-browser-extensions --agent claude-codeInstalls into .claude/skills of the current project.
Files
Community WXT Browser Extensions Best Practices
Comprehensive performance optimization guide for WXT browser extension development. Contains 49 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation. Updated for WXT v0.20+.
When to Apply
Reference these guidelines when:
- Writing new WXT browser extension code
- Implementing service worker background scripts
- Injecting content scripts into web pages
- Setting up messaging between extension contexts
- Configuring manifest permissions and resources
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Service Worker Lifecycle | CRITICAL | svc- |
| 2 | Content Script Injection | CRITICAL | inject- |
| 3 | Messaging Architecture | HIGH | msg- |
| 4 | Storage Patterns | HIGH | store- |
| 5 | Bundle Optimization | MEDIUM-HIGH | bundle- |
| 6 | Manifest Configuration | MEDIUM | manifest- |
| 7 | UI Performance | MEDIUM | ui- |
| 8 | TypeScript Patterns | LOW-MEDIUM | ts- |
Quick Reference
1. Service Worker Lifecycle (CRITICAL)
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Documentation, Code Review & Quality, Debugging, Automation & Workflows
- First seen
- May 16, 2026
More from pproenca/dot-skills
All 100- Msw897
- Tanstack Query858
- Clean Code857
- Terminal Ui853
- Ui Design827
- Typescript Refactor799
- React Refactor791
- Chrome Extension Ui732
- Shadcn732
- Chrome Extension729
- Shell704
- Tailwind657
- Refactor651
- Expo561
- React496
- Tailwind Responsive Ui470
- Tailwind Ui Refactor467
- Zustand453
- Debug444
- Ios Design436
- Feature Spec431
- Feature Arch423
- React Testing Library418
- Jscodeshift416