PluginBench
Skill
Review
Audit score 70

chrome-extension

pproenca/dot-skills

How to install chrome-extension

npx skills add https://github.com/pproenca/dot-skills --skill chrome-extension
Claude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)

Source of truth, from pproenca/dot-skills.


name: chrome-extension description: Chrome Extensions (Manifest V3) performance and code quality guidelines. Use when writing, reviewing, or refactoring Chrome extension code including service workers, content scripts, message passing, storage APIs, TypeScript patterns, and testing.

Chrome Extension Best Practices

Comprehensive performance and code quality guide for Chrome Extensions (Manifest V3). Contains 67 rules across 12 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-
9Code Style & NamingMEDIUMstyle-
10Component PatternsMEDIUMcomp-
11Error HandlingHIGHerr-
12Testing PatternsMEDIUMtest-

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)

9. Code Style & Naming (MEDIUM)

10. Component Patterns (MEDIUM)

11. Error Handling (HIGH)

12. Testing Patterns (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

Related skills

More from pproenca/dot-skills and the wider catalog.

CLclean-architecture logo

clean-architecture

pproenca/dot-skills

Clean Architecture principles and best practices for designing maintainable, testable software systems.

1.7k installs
CLclean-code logo

clean-code

pproenca/dot-skills

Use when writing, reviewing, or refactoring code for maintainability and readability. Triggers on code reviews, naming discussions, function design, error handling, and test writing. Based on Robert C. Martin's Clean Code handbook with modern corrections.

628 installs
COcode-simplifier logo

code-simplifier

pproenca/dot-skills

Code simplification skill for improving clarity, consistency, and maintainability while preserving exact behavior. Use when simplifying code, reducing complexity, cleaning up recent changes, applying refactoring patterns, or improving readability. Triggers on tasks involving code cleanup, simplification, refactoring, or readability improvements.

1.0k installs
EMemilkowal-animations logo

emilkowal-animations

pproenca/dot-skills

Emil Kowalski's animation best practices for React, CSS, and Framer Motion.

1.8k installs
EXexpo-react-native-performance logo

expo-react-native-performance

pproenca/dot-skills

Expo React Native performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Expo React Native code to ensure optimal performance patterns. Triggers on tasks involving React Native components, lists, animations, images, or performance improvements.

900 installs
FRframer-motion logo

framer-motion

pproenca/dot-skills

Framer Motion performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring React animations with Framer Motion to ensure optimal performance patterns. Triggers on tasks involving motion components, animations, gestures, layout transitions, scroll-linked effects, and SVG animations.

771 installs