mcpField
C
chrome-ext

chrome-ext

github.com/pproencaDevelopment21853 installsUpdated 11w ago
Repository

About chrome-ext

chrome-ext is a Manifest V3 extension development guide maintained by Chrome Developer Relations. For developers building, migrating, or optimizing Chrome extensions, it organizes rules into eight impact-prioritized areas, from service workers and content scripts to storage and performance.

Key features

  1. 01Organizes rules into eight priority areas
  2. 02Covers service worker lifecycle
  3. 03Optimizes content scripts and DOM operations
  4. 04Guides messaging and storage operations
  5. 05Addresses network permissions and memory management
  6. 06Includes UI performance and API usage guidance

Use cases

  1. 01Build a new Manifest V3 extension
  2. 02Migrate an extension from Manifest V2 to V3
  3. 03Optimize service worker state management
  4. 04Debug extension performance issues

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pproenca/dot-skills --skill chrome-ext

After installing, type/chrome-extin Claude Code to confirm it loaded.

Details

From the project README

Chrome Developer Relations Chrome Extensions Best Practices

Comprehensive performance optimization guide for Chrome Extensions (Manifest V3), maintained by Chrome Developer Relations. Contains 40+ rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Writing new Chrome extension code
  • Migrating from Manifest V2 to Manifest V3
  • Optimizing service worker lifecycle and state management
  • Implementing content scripts for page interaction
  • Debugging performance issues in extensions

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Service Worker LifecycleCRITICALsw-
2Content Script OptimizationCRITICALcontent-
3Message Passing EfficiencyHIGHmsg-
4Storage OperationsHIGHstorage-
5Network & PermissionsMEDIUM-HIGHnet-
6Memory ManagementMEDIUMmem-
7UI PerformanceMEDIUMui-
8API Usage PatternsLOW-MEDIUMapi-

Quick Reference

1. Service Worker Lifecycle (CRITICAL)
2. Content Script Optimization (CRITICAL)
3. Message Passing Efficiency (HIGH)
4. Storage Operations (HIGH)
5. Network & Permissions (MEDIUM-HIGH)
6. Memory Management (MEDIUM)
7. UI Performance (MEDIUM)
8. API Usage Patterns (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Full Compiled Document

For a complete guide with all rules in a single document, see AGENTS.md.

Reference Files

FileDescription
AGENTS.mdComplete compiled guide with all rules
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

Comments

Markdown supported