New advertisers: 50% off your first month with code FIRSTMONTHSee slots
pproenca avatar

Wxt Browser Extensions

Performance rulebook for WXT browser extensions covering service workers, content scripts, messaging, storage, and bundling.

skills.sh installs
1.1K
GitHub stars
227
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers 49 rules across 8 prioritized categories, from service worker lifecycle and content script injection down to TypeScript patterns
  • Includes per-rule reference files for service worker listeners, inject- world and timing choices, msg- messaging, and store- defineItem usage
  • Enforces patterns such as synchronous listener registration, main()-scoped content script code, and browser namespace over chrome
  • Designed for writing, reviewing, or refactoring WXT v0.20+ extension code and generating extension APIs or messaging

Install

$ npx -y skills add pproenca/dot-skills --skill wxt-browser-extensions -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

PriorityCategoryImpactPrefix
1Service Worker LifecycleCRITICALsvc-
2Content Script InjectionCRITICALinject-
3Messaging ArchitectureHIGHmsg-
4Storage PatternsHIGHstore-
5Bundle OptimizationMEDIUM-HIGHbundle-
6Manifest ConfigurationMEDIUMmanifest-
7UI PerformanceMEDIUMui-
8TypeScript PatternsLOW-MEDIUMts-

Quick Reference

1. Service Worker Lifecycle (CRITICAL)

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend & UI Code, Skill & Plugin Building
First seen
May 16, 2026

More from pproenca/dot-skills

All 100

Similar to Wxt Browser Extensions

More Frontend & UI Code