wxt-browser-extensions

安装量: 217
排名: #4019

安装

npx skills add https://github.com/pproenca/dot-skills --skill wxt-browser-extensions

Comprehensive performance optimization guide for WXT browser extension development. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

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

| 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)

2. Content Script Injection (CRITICAL)

3. Messaging Architecture (HIGH)

4. Storage Patterns (HIGH)

5. Bundle Optimization (MEDIUM-HIGH)

6. Manifest Configuration (MEDIUM)

7. UI Performance (MEDIUM)

8. TypeScript Patterns (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

| references/_sections.md | Category definitions and ordering

| assets/templates/_template.md | Template for new rules

| metadata.json | Version and reference information

返回排行榜