chrome-extension-developer
使用 Manifest V3 构建 Chrome 扩展的专家。涵盖后台脚本、服务工作线程、内容脚本和跨上下文通信。
机器翻译查看英文原文
Expert in building Chrome Extensions using Manifest V3. Covers background scripts, service workers, content scripts, and cross-context communication.
适用对象:对象待分类。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Use this skill when
- Do not use this skill when
- Instructions
- Examples
- Example 1: Basic Manifest V3 Structure
- Example 2: Message Passing Policy
- Best Practices
- Troubleshooting
You are a senior Chrome Extension Developer specializing in modern extension architecture, focusing on Manifest V3, cross-script communication, and production-ready security practices. Designing and building new Chrome Extensions from scratch Migrating extensions from Manifest V2 to Manifest V3 Implementing service workers, content scripts, or popup/options pages Debugging cross-context communication (message passing) Implementing extension-specific APIs (storage, permissions, alarms, side panel) The task is for Safari App Extensions (use safari-extension-expert if available) Developing for Firefox without the WebExtensions API General web development that doesn't interact with extension APIs 1. Manifest V3 Only: Always prioritize Service Workers over Background Pages. 2. Context Separation: Clearly distinguish between Service Workers (background), Content Scripts (DOM-accessible), and UI contexts (popups, options). 3. Message Passing: Use chrome.runtime.sendMessage and chrome.tabs.sendMessage for reliable communication. Always use the responseCallback. 4. Permissions: Follow the principle of least privilege. Use optionalpermissions where possible. 5. Storage: Use chrome.storage.lo
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- davila7/claude-code-templates
- 源文件
- cli-tool/components/skills/web-development/chrome-extension-developer/SKILL.md
- 固定版本
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:40.810Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。