> ## 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-Hant/docs/workflows/troubleshooting)             |
| 了解開發階段重新載入的結果             | [開發模式更新行為](/zh-Hant/docs/workflows/dev-update-behavior)     |
| 鎖緊擴充功能的安全檢查               | [安全檢查清單](/zh-Hant/docs/workflows/security-checklist)        |
| 減少執行階段與啟動回歸               | [效能手冊](/zh-Hant/docs/workflows/performance-playbook)        |
| 加入端對端的信心檢查                | [Playwright E2E](/zh-Hant/docs/workflows/playwright-e2e)    |
| 設定 CI 範本                  | [CI 範本](/zh-Hant/docs/workflows/ci-templates)               |
| 套用跨指令的控制                  | [全域旗標](/zh-Hant/docs/workflows/global-flags)                |
| 把商店文件集中在一個檔案              | [商店中介資料 (STORE.md)](/zh-Hant/docs/workflows/store-metadata) |
| 發佈到 Chrome、Firefox 與 Edge | [發佈到瀏覽器商店](/zh-Hant/docs/publishing)                        |

## 發佈信心迴圈

1. 執行針對性的本機檢查（`dev` + 疑難排解）。
2. 建置正式產物（`build` / `start`）。
3. 用端對端（E2E）與煙霧測試驗證關鍵流程。
4. 上架前先跑過 CI 範本。

## 下一步

* 用 [指令參考](/zh-Hant/docs/commands/index) 為每個階段選擇正確的指令。
* 用 [Extension 設定](/zh-Hant/docs/features/extension-configuration) 集中管理預設值。
