chrome-ext-architect
Intent
- 用于 Chrome 插件 / 浏览器扩展架构设计:当用户要规划 Manifest V3、service worker、content script、popup、options page、权限、消息通信、安全边界或跨端方案时使用。Combine with
frontend-designwhen 插件界面本身也要重做;Do not use for 纯网页改版或与扩展架构无关的常规前端任务。
Default operating pattern
- Identify the target platform, form factor, and native system constraints.
- Choose native patterns before inventing custom behavior.
- Translate platform rules into implementable UI, architecture, or code guidance.
- Check accessibility, ergonomics, lifecycle, and integration edges.
- Return a concrete implementation path instead of vague platform advice.
Pack fit
- Included in:
platform-apps - Keep examples generic, privacy-safe, and portable across hosts.
Boundary
- Do not use for ordinary websites that are not browser extensions.