ワンクリックで
browser-extension
// Master specialized skill for building 2025/2026-grade browser extensions. Deep expertise in Manifest v3, Service Worker persistence (Alarms, Offscreen API), Side Panel API, and Cross-Browser compatibility.
// Master specialized skill for building 2025/2026-grade browser extensions. Deep expertise in Manifest v3, Service Worker persistence (Alarms, Offscreen API), Side Panel API, and Cross-Browser compatibility.
Use when you need to act as an Elite Software Architect (Maestro) to manage complex repositories. It enforces a "Why over How" philosophy, maintains a persistent project memory (Brain), and orchestrates specialized sub-skills through a Plan-Act-Verify lifecycle.
Elite Tier Backend standards, including Vertical Slice Architecture, Zero Trust Security, and High-Performance API protocols.
Design-first methodology. Explore user intent, requirements and design before implementation. Turn ideas into fully formed specs through collaborative dialogue.
The Foundation Skill. LLM Firewall + 2025 Security + Cross-Skill Coordination. Use for ALL code output - prevents hallucinations, enforces security, ensures quality.
Systematic debugging methodology with 4-phase process, root cause tracing, and elite observability standards. No fixes without investigation.
Elite Tier Web UI standards, including pixel-perfect retro aesthetics, immersive layouts, and UX psychology protocols.
| name | browser-extension |
| description | Master specialized skill for building 2025/2026-grade browser extensions. Deep expertise in Manifest v3, Service Worker persistence (Alarms, Offscreen API), Side Panel API, and Cross-Browser compatibility. |
| allowed-tools | Read, Write, Edit, Glob, Grep, Bash |
<domain_overview>
Philosophy: Extensions are ephemeral, restricted, yet powerful. Persistence is an Art. Security is a Mandate. Design Constraint: For UI/UX, Aesthetics, and Layout, YOU MUST REFER TO THE
frontend-designSKILL. PERSISTENCE PARADOX GUARD (CRITICAL): Never rely on global variables or in-memory state in background scripts. AI-generated code frequently fails by assuming Manifest V3 service workers are persistent. They are NOT; they terminate after 30 seconds of inactivity. You MUST backup every piece of state tochrome.storageorIndexedDBimmediately upon change. This skill aims to eliminate "volatile-state" bugs typical of generic AI implementations. If data is not in durable storage, it does not exist. </domain_overview> <manifest_architecture>
All extensions must be built on Manifest v3. No exceptions.
"background": { "service_worker": "background.js" }.unsafe-eval is forbidden.optional_permissions where possible.action over browser_action or page_action.chrome.sidePanel for persistent, non-intrusive experiences.chrome.sidePanel.setOptions({ path: 'sidepanel.html', enabled: true }).
</manifest_architecture>
<persistence_engine>Service Workers sleep. You must keep the logic alive.
chrome.alarms to wake up the Service Worker every 1-5 minutes for background sync.offscreen API for tasks like DOM parsing, heavy calculations, or keeping the SW alive via periodic messaging.chrome.storage.session for transient session-only secrets.IndexedDB or chrome.storage.local for large datasets and persistent user data.
</persistence_engine>
<security_fortress>chrome.runtime.sendMessage.declarativeNetRequest for blocking/modifying headers. Only use webRequest as a fallback for Firefox if dynamic rules are critical.
</security_fortress>
<design_integration>Direct Instruction: You are an extension developer, not a designer. You must outsource the "Soul" of the UI.
frontend-design.Every extension build MUST pass the high-tier audit suite.
node scripts/js/manifest-auditor.js -> Clean?node scripts/js/persistence-check.js -> Heartbeat detected?node scripts/js/asset-master.js -> Assets optimized?playwright test -> All paths pass?frontend-design?Link: frontend-design </audit_and_reference>