> ## Documentation Index
> Fetch the complete documentation index at: https://extension.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

# 扩展开发工作流

> Extension.js 的实用工作流指南，涵盖 CI 配置、Playwright E2E 测试、性能调优、安全审查与故障排查。

把调试、安全、性能、测试与 CI 工作流组合起来，让扩展发布保持稳定。

## 工作流选择器

| 目标                        | 阅读这里                                                       |
| ------------------------- | ---------------------------------------------------------- |
| 快速诊断本地失败                  | [故障排查](/zh-Hans/docs/workflows/troubleshooting)            |
| 理解开发模式下的重载结果              | [开发更新行为](/zh-Hans/docs/workflows/dev-update-behavior)      |
| 锁定扩展的安全检查                 | [安全检查清单](/zh-Hans/docs/workflows/security-checklist)       |
| 减少运行时与启动回归                | [性能手册](/zh-Hans/docs/workflows/performance-playbook)       |
| 增加端到端的信心检查                | [Playwright E2E](/zh-Hans/docs/workflows/playwright-e2e)   |
| 配置 CI 模板                  | [CI 模板](/zh-Hans/docs/workflows/ci-templates)              |
| 应用跨命令的控制                  | [全局标志](/zh-Hans/docs/workflows/global-flags)               |
| 把商店资料集中在一个文件              | [商店元数据 (STORE.md)](/zh-Hans/docs/workflows/store-metadata) |
| 发布到 Chrome、Firefox 与 Edge | [发布到浏览器商店](/zh-Hans/docs/publishing)                       |

## 发布信心循环

1. 运行有针对性的本地检查(`dev` + 故障排查)。
2. 构建生产产物(`build` / `start`)。
3. 用端到端 (E2E) 与冒烟测试验证关键流程。
4. 在提交商店之前运行 CI 模板。

## 下一步

* 用[命令参考](/zh-Hans/docs/commands/index) 为每个阶段选择合适的命令。
* 用[扩展配置](/zh-Hans/docs/features/extension-configuration) 集中管理默认值。
