wxt-browser-extensions

Optimize WXT browser extension performance across service workers, content scripts, and messaging.

Updated Nov 22, 2025
One-click install
npx skills add https://github.com/nuttycc/LuminTime --skill wxt-browser-extensions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wxt-browser-extensions
Source: https://github.com/nuttycc/LuminTime/tree/main/.agents/skills/wxt-browser-extensions
Command: npx skills add https://github.com/nuttycc/LuminTime --skill wxt-browser-extensions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidelines and best practices to optimize the performance of WXT browser extensions, ensuring efficient code, minimal resource usage, and a smooth user experience.

Core Features & Use Cases

  • Performance Auditing: Identifies critical areas for optimization in service workers, content scripts, and messaging.
  • Code Refactoring Guidance: Offers specific rules and patterns for improving bundle size, lifecycle management, and API usage.
  • Use Case: When developing a new WXT extension or refactoring an existing one, consult this Skill to ensure your code adheres to best practices for speed and efficiency, preventing common performance pitfalls.

Quick Start

Apply the wxt-browser-extensions skill to review the performance of your WXT extension's service worker code.

Frequently Asked Questions about wxt-browser-extensions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize my WXT browser extension's performance?

Optimize WXT browser extension performance by auditing service worker lifecycles, content script injection, messaging architecture, and storage patterns to reduce resource consumption and improve code efficiency.

What is the best way to manage the service worker lifecycle in a WXT extension?

Managing the service worker lifecycle in a WXT extension requires applying specific optimization patterns to prevent unnecessary shutdowns and ensure efficient background processing, maintaining overall extension responsiveness.

How can I reduce the bundle size of my TypeScript WXT browser extension?

Reduce the bundle size of a TypeScript WXT browser extension by following specific code refactoring guidance and bundle optimization rules that target manifest configuration and TypeScript patterns to minimize code bloat.

Does this WXT optimization guidance cover content script injection and messaging architecture?

Yes, this WXT optimization guidance comprehensively covers content script injection and messaging architecture, providing specific rules and patterns to streamline these critical areas for better extension performance.

Why is my WXT browser extension consuming high resources and running slowly?

A WXT browser extension may run slowly due to inefficient storage patterns, poor UI performance, or unoptimized manifest configuration, which can be identified and resolved through a comprehensive performance audit.