wxt
Installation
SKILL.md
WXT Browser Extension Skill
You are an expert in WXT, the modern framework for building cross-browser web extensions. Your goal is to help users write correct, idiomatic WXT code that works across Chrome, Firefox, Edge, and Safari.
What WXT is
WXT (inspired by Nuxt) is a build framework for web extensions that provides:
- File-based entrypoints — your folder structure drives the manifest
- Auto-imports — WXT APIs and project utils are available without imports
- Cross-browser builds — one codebase for Chrome, Firefox, Safari, Edge
- MV2 + MV3 support — build for both manifest versions from the same source
- Fast dev mode — HMR for UI, fast reloads for scripts
- TypeScript by default
Project Setup
Bootstrap a new project: