@pproenca/wxt-browser-extensions

A collection of AI agent skills following the [Agent Skills](https://agentskills.io) open format. These skills extend AI coding agents with specialized capabilities and domain knowledge.

View in AI SkillSafe app
Scanned · no findings
195 downloads
0 stars
0 demos
SKILL.md
namewxt-browser-extensions
descriptionWXT browser extension performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring WXT browser extension code to ensure optimal performance patterns. Triggers on tasks involving WXT, browser extensions, content scripts, service workers, messaging, and extension APIs.

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)

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

File Description
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules
metadata.json Version and reference information

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@pproenca/wxt-browser-extensions/verified)](https://skillsafe.ai/skill/@pproenca/wxt-browser-extensions/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@pproenca/wxt-browser-extensions/installs)](https://skillsafe.ai/skill/@pproenca/wxt-browser-extensions/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@pproenca/wxt-browser-extensions/scan)](https://skillsafe.ai/skill/@pproenca/wxt-browser-extensions/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@pproenca/wxt-browser-extensions/eval)](https://skillsafe.ai/skill/@pproenca/wxt-browser-extensions/)