By zenbuapps
專為 WordPress 開發設計的 Claude Code Plugin,內建 SessionStart hook 在每次 session 開始時自動注入 orchestrator 心法,搭配完整的 Agent、Skill 與 MCP Server 設定,涵蓋 WordPress 外掛開發、主題開發、Gutenberg 區塊、WooCommerce、REST API、Interactivity API、效能優化等完整工作流程。
npx claudepluginhub zenbuapps/zenbu-powers --plugin zenbu-powers驗收標準對齊審查專家。審查上游 agent 產出是否符合「用戶原始任務需求」——不審 code 品質(那是 reviewer 的事),純粹做 user-intent alignment、需求覆蓋度、邊界完整性、off-topic 偵測。當 orchestrator 面臨多 agent 整合產出、高風險不可逆操作、多維度驗收任務、或用戶明確要求「驗收 / 評估 / 不能出包」時自動啟動。
Git diff 驅動的瀏覽器模擬人工測試 Agent。分析程式碼變更,識別受影響頁面, 使用 playwright-cli 模擬人類操作介面,錄製操作影片與截圖重點。 CI 環境下自動將測試影片與截圖發佈到 GitHub Issue Comment。 當用戶提到「瀏覽器測試」、「模擬測試」、「browser test」、「manual test」、 「手動測試」、「測一下頁面」、「跑瀏覽器」時自動啟動。
專業的專案需求訪談 Agent,透過結構化訪談流程蒐集、釐清、整理專案需求。 當使用者說「需求訪談」、「專案規劃」時自動啟動。 輸出結構化需求文件,包含功能需求、非功能需求、使用者故事與驗收標準。 Triggers when user asks for `需求訪談` or `專案規劃`.
Claude Code 官方最佳實踐審查員:檢查 CLAUDE.md、.claude/settings*.json、 .claude/rules/*.md、agents/*.agent.md、skills/*/SKILL.md、.mcp.json、hooks 設定 是否符合官方規範。透過 /zenbu-powers:notebooklm SKILL 的 Claude Code Docs 筆記本驗證, 或查詢 Claude 官方文件網站取得最新資訊。提出 before/after diff 建議讓用戶決定是否修改。 當用戶提到「檢查設定」、「audit config」、「最佳實踐」、「best practice」、 「設定優化」、「檢查 agent」、「檢查 skill」、「config review」、「設定審查」、 「Claude 設定」時自動啟動。
心思縝密的分支衝突解決專家。分析衝突分支意圖、規劃最佳解法、解決衝突後推回各分支。 當用戶提到「解衝突」、「merge conflict」、「分支衝突」、「PR 衝突」、「conflict」、 「合併衝突」、「衝突解決」時自動啟動。
DDD 專案架構師。擅長聞出 Code Smell、規劃重構順序,將混亂的 PHP 專案逐步優化為清晰的 DDD 架構。
AI First 專案文件管理員:協調子代理團隊,全面管理專案的 Claude Code 文件體系。 自動判斷專案文件狀態(全新建立 vs 增量更新),使用 serena MCP 深入閱讀每一個原始碼檔案, 生成或更新 .claude/CLAUDE.md、.claude/rules/*.rule.md、specs/、project SKILL, 並透過 @zenbu-powers:lib-skill-creator、@zenbu-powers:clarifier、@zenbu-powers:claude-manager 子代理確保文件品質與合規性。 當用戶提到「專案文件管理」、「初始化文件」、「文件總檢」、「project docs」、 「setup docs」、「文件更新」、「doc audit」、「全面更新文件」時自動啟動。
Documentation sync specialist. Use PROACTIVELY after implementing features, refactoring, or significant code changes to keep CLAUDE.md and .claude/rules/*.md in sync with the codebase.
技術文件研究員:專門使用 playwright-cli 爬取官方文件網站,將完整知識萃取為 API reference 級別的 SKILL 並存入 .claude/skills/ 目錄。 支援兩種輸入模式:(A) 指定 library / 套件名稱,(B) 指定主題 / 領域(如「WordPress REST API」、「OAuth 2.0 流程」、「Docker multi-stage build」)。 當遇到以下情境時【必須強制使用此 agent】: 1. 用戶要求:「研究套件」、「讀文件」、「建立 skill」、「製作參考資料」、「查 library 怎麼用」、「整理文件」。 2. 用戶提供 package.json / pyproject.toml / go.mod 並希望針對依賴建立知識庫。 3. 用戶貼了文件 URL 並指示「幫我整理」。 4. 用戶表示:「不想每次都搜尋」、「給 AI 一份參考資料」、「這個套件的 API 太多記不住」或「把官方文件變成 skill」。 5. 用戶指定一個「主題」或「領域」(非特定套件)並希望整理成知識庫,如:「幫我研究 CQRS pattern」、「整理 WooCommerce Hooks」、「做一份 GraphQL best practices 的 skill」。
Markdown 轉換專家:使用 markitdown MCP server 將用戶提供的資料、檔案或網站轉換成高品質的 Markdown 格式。 支援 PDF、Word、PowerPoint、Excel、HTML 網頁、圖片、音訊等多種格式的轉換。 自動處理圖片嵌入:公開 URL 直接嵌入,非公開圖片上傳至 GitHub Issue 取得永久 URL。 當用戶需要「轉換成 markdown」、「把網頁轉成 md」、「把 PDF 轉成 markdown」、 「擷取網頁內容」、「文件轉換」、「convert to markdown」、「網頁轉文字」時使用此 agent。
Expert NestJS 10+ / TypeScript 5+ backend engineer specializing in modular architecture (Module→Controller→Service→Repository), Dependency Injection, Guards/Interceptors/Pipes/Filters, TypeORM/Prisma, class-validator DTO, JWT/Passport auth, and Jest testing. Required for all NestJS backend code changes.
NestJS 10+ / TypeScript 程式碼審查專家,專精模組化架構、Dependency Injection、Guards/Interceptors/Pipes/Filters、TypeORM/Prisma Repository、class-validator DTO、JWT/Passport、Jest 測試。發現問題後提供具體改善建議,不主動重寫。審查不通過時透過 SendMessage 退回 @zenbu-powers:nestjs-master,形成審查迴圈。Use for all NestJS code reviews.
Expert Node.js 20+ / TypeScript 5+ backend engineer specializing in RESTful API design, layered architecture (Controller→Service→Repository), Prisma ORM, Zod validation, BullMQ job queues, and JWT auth. Required for all Node.js/TypeScript backend code changes.
Expert planning specialist for complex features and refactoring. Use PROACTIVELY when users request feature implementation, architectural changes, or complex refactoring. Automatically activated for planning tasks.
AI 提示詞優化專家,具備兩種運作模式: (1) 優化模式(預設)— 診斷提示詞的邏輯衝突、歧義與結構問題,輸出改善版本; (2) 轉換模式(偵測到「轉換」關鍵字時啟用)— 將提示詞從一個用途/技術轉換為另一個,保留核心邏輯。
Expert React 18 / TypeScript code reviewer specializing in hooks, performance optimization, accessibility, and modern patterns (Refine.dev, Ant Design, React Query). Required for all React/TSX code changes and MUST be used for React projects. Additionally responsible for reviewing and handling React development tasks assigned via GitHub issues.
React 18 / TypeScript 程式碼審查專家,專精於 WordPress Plugin 前端(Ant Design、Refine.dev、React Query、Jotai)。發現問題後提供具體改善建議,不主動重寫程式碼。審查不通過時使用 @zenbu-powers:react-master 退回修改,形成審查迴圈。Use for all React/TSX code reviews.
WordPress Plugin 資安審查專家,專精於 OWASP Top 10、WordPress 特有安全漏洞(XSS、SQL 注入、CSRF、能力提升、檔案包含)、敏感資訊洩漏與依賴套件漏洞。發現問題後提供具體改善建議,不主動重寫程式碼。Use PROACTIVELY for all WordPress plugin security reviews.
TDD 協調規劃師(sub-agent)。接收 planner 的實作計劃,產出 Red→Green→Refactor 完整協調藍圖供主窗口照辦。 本 agent 是 sub-agent,不直接 spawn 下游 agent;主窗口讀完藍圖後逐一 spawn test-creator / *-master / *-reviewer / doc-updater。 當 planner 完成計劃後自動啟動。
通用測試工程師。心思縝密,專精邊緣案例測試,使用測試 skill 為專案生成完整測試覆蓋(E2E + 整合測試)。
Expert WordPress/PHP code reviewer specializing in WordPress security, hooks system, REST API, performance optimization, and PHP 8.1+ best practices. Required for all WordPress plugin/theme PHP code changes and MUST be used for WordPress projects. Additionally responsible for reviewing and handling WordPress development tasks assigned via GitHub issues.
WordPress / PHP 程式碼審查專家,專精於 WordPress 安全性、Hook 系統、REST API、HPOS 相容、效能與 PHP 8.1+ 最佳實踐。發現問題後提供具體改善建議,不主動重寫程式碼。審查不通過時使用 @zenbu-powers:wordpress-master 退回修改,形成審查迴圈。Use for all WordPress plugin/theme PHP code reviews.
GitHub Actions workflow 專家:製作、除錯、優化 CI/CD pipeline。 擅長使用 act 做本地驗證、gh CLI 查看線上狀態、系統性診斷 workflow 錯誤與邏輯衝突。 當用戶提到「workflow」、「CI/CD」、「GitHub Actions」、「pipeline」、 「act 測試」、「workflow 除錯」、「workflow 優化」、「跑 action」、 「CI 壞了」、「workflow 失敗」、「action 錯誤」時自動啟動。
驗收標準對齊評估方法論。給定用戶原始任務需求 + 上游 agent 產出,本 SKILL 提供萃取 testable criteria、4 大評估維度、報告格式、與 reviewer agents 的職責邊界、以及 WEB / 桌面 / CLI / 純文件的驗收手法分流。供 acceptance-evaluator agent 載入;orchestrator 直接 evaluate 簡單任務時也可參考。
Multi-pattern text search, filtering, and replacement using the Aho-Corasick algorithm. Use this skill whenever the user wants to: search for multiple keywords/patterns simultaneously in text or files, filter or detect sensitive words, scan multiple files for a list of terms, or redact/replace matched content. Triggers on phrases like "掃描關鍵字", "敏感詞過濾", "多個 pattern 搜尋", "批次掃描", "redact", "replace patterns", "keyword filter", "find multiple words", "scan files for patterns", or any task involving simultaneous multi-pattern matching. Always prefer this skill over naive grep loops when more than one pattern is involved.
後端專案環境初始化(script-driven)。用 AskUserQuestion 詢問後端專案目錄, 再執行 generate-skeleton.py 從 templates/ 一次性建立骨架。 支援 Python E2E / Java E2E / Python UT / Node.js IT 變體。
BDD 全自動批次迴圈。掃描 features 目錄,為每個 .feature 展開 3 phase TODO 清單 (red → green → refactor),逐一執行直到全數完成。 透過 arguments.yml 自動決定測試命令和變體。統合 Python E2E / Java E2E / Python UT / Node.js IT 四個版本。 當 /aibdd-specformula 的 Phase 02 觸發,或使用者說「control-flow」「批次執行」時觸發。
Frontend API-First Walking Skeleton 初始化。從 templates/ 讀取所有樣板檔案,填入專案參數後輸出到專案目錄,建立 Next.js 14 + MSW + Cucumber + Playwright 的前端骨架。
前端 Stage 1:從 api.yml + discovery features 產出 Zod Schemas、Fixtures、MSW Handlers、API Client 函式。
前端 Next.js 頁面實作。基於已完成的 Walking Skeleton(MSW + API client)和 UI/UX consultant 產出的 layout.html 靜態原型,將靜態頁面轉換為動態 Next.js React 元件。 當使用者要求實作前端頁面、將 layout.html 轉為 Next.js、或在已有 MSW 骨架的前端專案中 開發功能頁面時,使用此 skill。需要 specs 目錄下的 activities 或 features 作為規格參考。 可搭配 /aibdd-auto-frontend-msw-api-layer 所產生的 API 基礎建設。
BDD 綠燈實作者。以 Red 階段產出的失敗測試為驅動,用最小增量迭代實作後端, 直到所有測試通過。透過 arguments.yml 自動路由語言變體(Python E2E / Java E2E / Python UT)。 當 /aibdd-auto-control-flow 呼叫綠燈階段,或使用者說「綠燈」「green」時觸發。
BDD 紅燈實作執行器。對單一 .feature 執行完整紅燈流程: Schema Analysis(環境就緒)→ Step Template(骨架生成)→ Red Implementation(載入外部 Handler 實作測試)。 Handler 定義來自 /aibdd-form-bdd-analysis 的 web-backend 模組。 透過 arguments.yml 的 tech_stack + test_strategy 自動路由語言變體。 當 /aibdd-auto-control-flow 呼叫紅燈階段,或使用者說「紅燈」「red」時觸發。
BDD 重構階段。在測試保護下,以小步驟改善程式碼品質。 內含完整的 code quality 規則集(SOLID、DRY、架構分層、日誌實踐), 透過 arguments.yml 路由語言變體。 當 /aibdd-auto-control-flow 呼叫重構階段,或使用者說「重構」「refactor」時觸發。
逐步執行工程計畫,搭配 human-in-the-loop 審查。 每個 Phase 由對應 skill 連續執行所有內部步驟,完成後展示交付物進入 feedback loop。 使用者審查通過後才推進至下一個 Phase。 支援資料夾結構(plan.md + todo/doing/done/)與 Dependency Graph, 允許多個 AI 平行執行互不依賴的 Phase。 當使用者說「carry on engineering plan」「carry on」「繼續工程計畫」 「執行工程計畫」,或想恢復執行先前擬定的工程計畫時觸發。
組成分析。在生成任何規格產出物之前,先拆解 Idea 的實際內容,標註每一塊的完整度與資訊來源,決定 Iterative 權重。支援 KICKOFF(全新 Idea)與 CHANGE(變更 Idea)兩種模式。由 /aibdd-discovery Step 1 DELEGATE。核心原則:絕對不腦補——使用者沒給的,標記為缺失,不替他編。
對工程計畫的交付物進行結構化 consistency check,產出分類排序的 issue 清單, 並以互動迴圈逐一詳述、提案、修改。支援 shorthand 命令快速操作。 當使用者說「consistency check」「challenge」「掃一遍」「consistency analyzer」時觸發。
跨 skill 共用的 reference 庫。包含 reconciler contract(desired-state reconciliation 合約)等 所有 form skill 共用的模式定義。不直接觸發,由其他 skill Read references/ 中的檔案。
需求分析的主入口(Phase 01)。以統一流程處理 greenfield / 新功能 / 改變需求—— 三者是同一件事,差別只在起始狀態(空 vs 已有 artifacts)。 統一 7 步:Composition → Flow Alignment → Structural Read → Impact Analysis → Behavior Design → Clarify → Quality Gate。 產出 Execution Plan(Phase 02-08 的 scope 依據)+ Activity Diagrams + Feature Rules。 保持 Activity、.feature 兩個視圖的一致性(api.yml / erm.dbml 由後續 Phase 處理)。
Activity 視圖的 Spec Skill。從 idea 生成 Activity 骨架(.mmd 或 .activity 格式)並連動生成所有綁定檔案(.feature/.md)骨架,不確定處標記便條紙。可被 /discovery 調用,也可獨立使用。支援兩種格式:.mmd(Mermaid flowchart,預設)與 .activity(自訂 DSL)。
API 視圖的 Spec Skill(Reconciler)。從 .feature 文件推導 OpenAPI 格式的 api.yml。 每個 Feature 的 command/query 對應一個 endpoint。 以 desired-state reconciliation 模式運作:讀取現有 api.yml(若存在)→ 推導 desired state → 計算 diff → 增量更新。Greenfield 時 current = 空,等同於從零建立。 可被 /discovery 調用,也可獨立使用。
系統抽象驅動的 BDD 分析(Reconciler)。從已確認的 .feature Rule 骨架推導系統抽象、 實體句型模型與覆蓋矩陣,再據此產出最小必要句型集的 .feature 檔案(含 Examples)。 以 desired-state reconciliation 模式運作:三階段各自讀取現有 artifact → 推導 desired state → 計算 diff → 增量更新。Greenfield 時 current = 空。 善用 Scenario Outline + Examples 做 Data-Driven 測試, 善用 Data Table 承載結構化輸入與驗證。 支援 Boundary 偵測——偵測到 Web Backend 時載入內建 preset(句型分析方針 + Handler 決策樹)。 由 /aibdd-discovery 在 Strategic 完成後、Tactical 開始前 DELEGATE 觸發。
Entity 視圖的 Spec Skill(Reconciler)。從 .feature 文件推導 DBML 格式的 erm.dbml(資料模型)。 以 desired-state reconciliation 模式運作:讀取現有 erm.dbml(若存在)→ 推導 desired state → 計算 diff → 增量更新。Greenfield 時 current = 空,等同於從零建立。 可被 /discovery 調用,也可獨立使用。
Feature 視圖的 Spec Skill。從 .feature 骨架(含便條紙)、ES spec 或 User idea 出發,澄清並產出完整的 Gherkin Feature File。可被 /discovery 調用,也可獨立使用。
專案初始化引導。透過互動式 Q&A 篩選技術堆疊與測試策略,自動推導慣例路徑,產出 specs/arguments.yml。取代手動填寫大量參數。
需求層級的全流程工程計畫產生器。給定任意新需求(功能群、單一功能、微調), 自動產出 plan.md(含 Dependency Graph)+ 8 張 Phase 卡片 (External Quality: Strategic → Entity → BDD Analysis → API Contract → Implementation: Backend TDD → Frontend Build → Frontend E2E → Integration), 然後委派 /aibdd-carry-on-engineering-plan 以 feedback loop 審查機制逐步執行。 當使用者說「specformula」「新需求」「走完整開發流程」「前後端開發」, 或想對一個需求走 BDD 全流程時觸發。 前提:arguments.yml 已存在(/aibdd-kickoff 已完成)。
C# Integration Test 程式碼品質規範合集。包含 SOLID 設計原則、Step Definition 組織規範、 Meta 註記清理、日誌實踐、程式架構、程式碼品質等規範。供 refactor 階段嚴格遵守。
C# IT 全自動批次迴圈。掃描 features 目錄,為每個 .feature 展開 5 phase TODO 清單 (schema-analysis → step-template → red → green → refactor),逐一執行直到全數完成。 當使用者說「control-flow」「批次執行」時觸發。
C# IT Stage 3:綠燈階段。Trial-and-error 循環讓測試通過, 實作 EF Core Repository + Service 業務邏輯 + ASP.NET Core Controller + DI 註冊。
當在 Gherkin 測試中進行「Aggregate 初始狀態建立」,「只能」使用此指令。 使用 EF Core DbContext 直接寫入 DB 建立測試資料。
當在 Gherkin 測試中驗證「Aggregate 最終狀態」,務必參考此規範。 使用 EF Core DbContext 查詢並驗證資料庫狀態。
當在 Gherkin 中撰寫寫入操作步驟(Given 已完成 / When 執行中),務必參考此規範。 使用 HttpClient 發送 HTTP POST/PUT/PATCH/DELETE 請求。
當在 Gherkin 中撰寫 Query 操作步驟時,務必參考此規範。 使用 HttpClient 發送 HTTP GET 請求。
當在 Gherkin 測試中驗證「Query 回傳結果」時,「只能」使用此指令。 讀取 _ctx["LastResponse"] 驗證 HTTP Response Body。
當在 Gherkin 測試中驗證操作成功或失敗時,參考此規範。 驗證 HTTP status code + error response body。
C# IT 紅燈實作執行器。對單一 .feature 執行完整紅燈流程: Schema Analysis → Step Template → Red Implementation(載入 Handler 實作測試)。 當 /aibdd.auto.csharp.it.control-flow 呼叫紅燈階段,或使用者說「紅燈」「red」時觸發。
C# IT Stage 4:重構階段。Phase A(測試程式碼)→ 跑測試 → Phase B(生產程式碼)→ 跑測試。 嚴格遵守 /aibdd.auto.csharp.code-quality 規範。
C# IT Schema Analysis。比對 .feature + api.yml + erm.dbml 與現有 EF Core Models/Migrations 的一致性, 確保資料庫基礎設施就緒後才進入紅燈階段。
C# IT 專案骨架生成器。使用 AskUserQuestion 詢問專案目錄與命名, 再從 templates/ 一次性建立完整的 ASP.NET Core + SpecFlow + Testcontainers 骨架。
C# IT Step Template 生成器。從 Gherkin Feature 解析每個 Given/When/Then 步驟, 分類為 Handler 類型,產出 SpecFlow Step Definition 骨架(含 TODO 標註)。
PHP WordPress 整合測試程式碼品質規範。涵蓋 SOLID、Test Class 組織、 IntegrationTestCase 基類規範、Meta 清理、WordPress 特有安全實踐、3 層架構、程式碼品質。 由 /aibdd.auto.php.it.refactor 載入作為重構依據。非 user-invocable。
PHP IT 全自動批次迴圈。掃描 features 目錄,為每個 .feature 展開完整的 4 phase TODO 清單 (test-skeleton → red → green → refactor),然後逐一執行直到全數完成。 專注 WordPress plugin 整合測試。 當 /aibdd-specformula 的 Phase 02 觸發,或使用者說「php it control-flow」「批次執行」時觸發。
PHP IT Stage 3:綠燈階段。以 Red 階段產出的失敗測試為驅動,用最小增量迭代實作: WordPress DB Repository(真實 WP 操作)+ Service 業務邏輯 + 自訂例外類別。 Trial-and-error 循環:執行 PHPUnit → 讀失敗 → 寫最小增量 → 重跑 → 直到綠燈。 可被 /aibdd.auto.php.it.control-flow 調用,也可獨立使用。
處理 Given 步驟中建立 Aggregate 初始狀態的 handler 參考文件。觸發關鍵字:「的...為」「包含」「存在」「有」。 非 user-invocable,由 /aibdd.auto.php.it.red 在實作測試方法時載入。
處理 Then 步驟中驗證 Aggregate 屬性狀態(透過 Repository 查 DB)的 handler 參考文件。觸發關鍵字:應為、的...為、數量應為。 非 user-invocable,由 /aibdd.auto.php.it.red 在實作測試方法時載入。
處理 Given/When 步驟中執行寫入操作(Command)的 handler 參考文件。觸發關鍵字:已訂閱、已建立、已新增、更新、建立、刪除、提交。 非 user-invocable,由 /aibdd.auto.php.it.red 在實作測試方法時載入。
處理 When 步驟中執行讀取操作(Query)的 handler 參考文件。觸發關鍵字:查詢、取得、列出、搜尋。 非 user-invocable,由 /aibdd.auto.php.it.red 在實作測試方法時載入。
處理 Then 步驟中驗證 Query 回傳結果($this->queryResult)的 handler 參考文件。觸發關鍵字:查詢結果應、應包含、第 X 個應為。 非 user-invocable,由 /aibdd.auto.php.it.red 在實作測試方法時載入。
處理 Then 步驟中驗證操作成功或失敗的 handler 參考文件。觸發關鍵字:操作成功、操作失敗、錯誤訊息應為、拋出 XX 例外。 非 user-invocable,由 /aibdd.auto.php.it.red 在實作測試方法時載入。
PHP IT Stage 2:紅燈生成器。對單一 .feature 的測試骨架執行完整紅燈流程: 建立 IntegrationTestCase 基類(若不存在)→ 建立 Model/Repository/Service stubs(BadMethodCallException) → 逐一實作 test method 的 Given/When/Then 邏輯(參考對應 handler skill)。 預期結果:測試執行後失敗於 BadMethodCallException(Service 方法未實作)。 可被 /aibdd.auto.php.it.control-flow 調用,也可獨立使用。
PHP IT Stage 4:重構階段。在測試保護下,小步驟改善程式碼品質。 兩階段工作流:Phase A 重構測試程式碼 → 跑測試 → Phase B 重構生產程式碼 → 跑測試。 嚴格遵守 /aibdd.auto.php.it.code-quality 規範。 可被 /aibdd.auto.php.it.control-flow 調用,也可獨立使用。
PHP IT Stage 1:從 Gherkin .feature 檔案生成 PHPUnit 測試類別骨架。 一個 Feature 對應一個 Test class,一個 Scenario/Example 對應一個 test method。 每個 test method 標註 Gherkin 步驟為註解 + Handler 類型 TODO,方法體為 markTestIncomplete。 可被 /aibdd.auto.php.it.control-flow 調用,也可獨立使用。
React Integration Test 程式碼品質規範合集。包含 SOLID 設計原則、 Component/Hook 組織規範、Testing-Library 最佳實踐、TypeScript 嚴格型別、 MSW Handler 品質。供 refactor 階段嚴格遵守。
React IT 全自動批次迴圈。掃描 features 目錄,為每個 .feature 展開完整的 5 phase TODO 清單(schema-analysis → step-template → red → green → refactor), 然後逐一執行直到全數完成。當使用者說「control-flow」「批次執行」時觸發。
React IT Stage 4:綠燈階段。以 Red 階段產出的失敗測試為驅動, 用最小增量迭代實作 React 元件,直到所有測試通過。 當 /aibdd.auto.ts.it.control-flow 呼叫綠燈階段,或使用者說「綠燈」「green」時觸發。
當在 React IT Gherkin 測試中進行「系統初始狀態設定」時,「只能」使用此指令。 使用 MSW server.use() 設定 mock API responses 作為測試的前置條件。
當在 React IT Gherkin 測試中驗證「API 被正確呼叫」時,「只能」使用此指令。 驗證 MSW 攔截到的 request payload 是否正確(相當於後端的 Repository 查詢驗證)。
當在 React IT Gherkin 中撰寫使用者互動步驟(click, type, submit)時, 「只能」使用此指令。使用 @testing-library/user-event 模擬使用者操作。
當在 React IT Gherkin 中撰寫資料讀取步驟(render component, waitFor data)時, 「只能」使用此指令。Component render 觸發 API fetch,MSW 攔截並返回 mock data。
當在 React IT Gherkin 測試中驗證「頁面顯示內容」時,「只能」使用此指令。 使用 screen.getByText/getByRole 等 Testing Library queries 驗證 rendered content。
當在 React IT Gherkin 測試中驗證操作成功或失敗的 UI 回饋時,「只能」使用此指令。 驗證 toast 通知、alert 訊息、disabled 狀態、error 訊息等。
React IT Stage 3:紅燈實作執行器。對單一 .feature 執行完整紅燈流程: Schema Analysis(環境就緒)→ Step Template(骨架生成)→ Red Implementation(載入 Handler 實作測試)。 當 /aibdd.auto.ts.it.control-flow 呼叫紅燈階段,或使用者說「紅燈」「red」時觸發。
React IT Stage 5:重構階段。在測試保護下改善程式碼品質,小步前進, 嚴格遵守 /aibdd.auto.ts.it.code-quality 規範。 當 /aibdd.auto.ts.it.control-flow 呼叫重構階段,或使用者說「重構」「refactor」時觸發。
React IT 的 Schema Analysis。分析 Component Props、API Client 函式簽名、 Zod Schemas、MSW Handler 型別,確保測試基礎建設與規格一致。
React Integration Test 專案環境初始化。從 templates/ 讀取樣板檔案, 建立 Vitest + @testing-library/react + MSW v2 的測試基礎建設。 前提:前端專案已由 /aibdd-auto-frontend-apifirst-msw-starter 初始化完成。
React IT Stage 2:從 Gherkin Feature 生成 Vitest 整合測試骨架。 每個 Feature 產生一個測試檔,每個 Example 產生一個 it() block + 標記 TODO。
Ant Design Pro Components (@ant-design/pro-components) complete technical reference. Covers ProTable, ProForm, ProFormFields, ProDescriptions, ProCard, ProLayout, EditableProTable, ModalForm, DrawerForm, StepsForm, QueryFilter, LightFilter, and all ProForm field components (ProFormText, ProFormSelect, ProFormDigit, ProFormDatePicker, ProFormList, ProFormDependency, etc.). Use this skill whenever code imports from @ant-design/pro-components, @ant-design/pro-table, @ant-design/pro-form, @ant-design/pro-layout, @ant-design/pro-card, or @ant-design/pro-descriptions. Also use when the task involves ProTable columns definition, valueType, request function, ProForm submitter, form field components, convertValue, transform, actionRef, formRef, or any Ant Design Pro high-level component. This skill provides the correct API for the current stable version. Do NOT search the web for Pro Components docs -- use this skill instead.
Ant Design v5 (antd ^5.x) complete API reference for React component library. Use this skill whenever the task involves any antd v5 component: Table, Form, Select, Input, Button, Modal, notification, message, Upload, Tag, Tooltip, Badge, Image, Radio, Segmented, Switch, DatePicker, RangePicker, Popconfirm, Drawer, Descriptions, ConfigProvider, Space, Layout, Grid (Row/Col), Spin, Pagination, or the antd theme system (token, algorithm, useToken, CSS variables). Also use when code imports from 'antd', references antd TypeScript types (TableProps, FormInstance, ColumnsType, UploadFile, etc.), or when configuring antd theming/tokens. Do NOT use this skill for @ant-design/pro-components (use ant-design-pro-v2 skill instead). Version coverage: antd 5.x (tested against 5.25.x).
Better Auth v1.4 完整技術參考。當程式碼出現 import from 'better-auth'、 'better-auth/plugins'、'better-auth/adapters/drizzle'、'better-auth/node'、 'better-auth/react'、'better-auth/client' 等任何 better-auth 相關 import, 或任何涉及 betterAuth()、createAuthClient()、twoFactor()、drizzleAdapter()、 toNodeHandler()、authClient.signIn、authClient.signUp、authClient.signOut、 authClient.twoFactor、auth.api.getSession、session management、TOTP、2FA、 twoFactorEnabled、BetterAuthSessionResult 的任務,必須使用此 skill。 此 skill 涵蓋 v1.4.18 的完整 API,包含 Express 整合、Drizzle adapter、 twoFactor plugin、client SDK、TypeScript 型別。不適用於 v0.x 或 v2.x。
BlockNote block-based rich text editor for React. Complete API reference covering useCreateBlockNote, BlockNoteView, all built-in block types, custom block/inline-content/style creation, Editor manipulation API (insertBlocks, removeBlocks, replaceBlocks, updateBlock), format conversion (HTML/Markdown), Slash Menu customization, Formatting Toolbar customization, theming, and real-time collaboration. Use this skill whenever the user's code involves BlockNote, @blocknote/core, @blocknote/react, @blocknote/mantine, @blocknote/shadcn, @blocknote/ariakit, block editors built on ProseMirror/TipTap, useCreateBlockNote, BlockNoteView, BlockNoteEditor, BlockNoteSchema, or any rich-text block editor task in React. Also use when user mentions slash menus, suggestion menus, formatting toolbars, or block-based document structures in a React context. This skill covers the latest BlockNote API. Do NOT search the web for BlockNote docs; use this skill instead.
You MUST use this before any creative work - creating features, building components, adding WordPress plugins/blocks, or modifying behavior. Explores user intent, requirements and design before implementation via Socratic dialogue and a HARD-GATE that blocks implementation until design is approved.
Git diff 驅動的瀏覽器模擬人工測試工作流程。分析程式碼變更、映射影響範圍、使用 playwright-cli 執行瀏覽器測試、錄製影片截圖、產出測試報告。
BullMQ v5 完整技術參考,對應 bullmq ^5.x。 當程式碼出現任何以下情況時,必須使用此 skill: import from 'bullmq'、import from '@nestjs/bullmq'、import IORedis from 'ioredis'(與 BullMQ 搭配); new Queue、new Worker、new QueueEvents、new FlowProducer、new Job; queue.add、queue.addBulk、queue.upsertJobScheduler、queue.removeJobScheduler、 queue.getJob、queue.getJobs、queue.getJobCounts、queue.pause、queue.resume、queue.clean、queue.obliterate、 worker.run、worker.close、worker.pause、worker.resume、worker.rateLimit; job.updateProgress、job.log、job.updateData、job.getState、job.remove、job.retry、 job.isCompleted、job.isFailed、job.isActive、job.isDelayed、job.isWaiting; JobsOptions、QueueOptions、WorkerOptions、ConnectionOptions、FlowJob、Processor; Worker.RateLimitError、UnrecoverableError、DelayedError、WaitingChildrenError; BullModule.forRoot、BullModule.registerQueue、BullModule.registerFlowProducer、 @Processor、@WorkerHost、@InjectQueue、@InjectFlowProducer、@OnWorkerEvent、@OnQueueEvent。 注意:v5 已棄用舊 Repeatable Jobs API,新的是 Job Schedulers(upsertJobScheduler)。 v5 不再需要 QueueScheduler。v5 需要 Redis 6.2.0+ 或相容替代品(Dragonfly、Valkey)。
只要是認為細節「有可能不夠充分」,想要向用戶澄清需求,就必須用此 skill 來「依序澄清」。定義提問格式、回答處理、澄清紀錄與提問上限等互動規則。
Complete API reference for anthropics/claude-code-action GitHub Action (v1.0). Use this skill when configuring, writing, or debugging GitHub Actions workflows that use Claude for PR review, issue handling, code automation, or any @claude mention-based interaction. Also covers cloud provider auth (Bedrock/Vertex/Foundry), MCP server integration, structured outputs, commit signing, and security configuration. Trigger whenever user mentions claude-code-action, GitHub Action for Claude, @claude in workflows, automated PR review with Claude, or claude CI/CD automation.
Claude Code 官方最佳實踐審查的完整工作流程與知識來源。涵蓋 7 大審查範圍 (CLAUDE.md、Agent、Skill、Settings、Rules、MCP、Hooks)、審查工作流程、 知識來源設定。供 claude-manager agent 執行設定審查時載入。
Cloudflare Pages + Wrangler CLI 完整技術參考(v3+/v4)。 當任務涉及以下情況時,必須使用此 skill: 使用 wrangler CLI(pages deploy/dev、deploy、dev、tail、secret put/delete、types、versions、rollback); 撰寫或修改 wrangler.toml、wrangler.jsonc、wrangler.json; GitHub Actions 中 uses: cloudflare/wrangler-action@v3、uses: cloudflare/pages-action; Cloudflare Pages Functions(functions/ 目錄、onRequest、onRequestGet/Post/Put/Delete/Patch/Options、 _middleware.ts、_worker.js、[param]、[[catchall]]、context.env、context.params、context.request、context.next、context.waitUntil); _routes.json、_headers、_redirects、pages_build_output_dir; Pages bindings(KV/R2/D1/Durable Objects/Queues/Services/Hyperdrive/Vectorize/AI/Browser); 部署到 Cloudflare Workers(main、compatibility_date、compatibility_flags、routes); Pages 建置設定(build command、build output directory、CF_PAGES_* 系統環境變數); 從 Cloudflare Pages 遷移到 Cloudflare Workers(Workers Static Assets)。 工具:wrangler ^3.x/^4.x、cloudflare/wrangler-action@v3。
分支衝突解決完整工作流程。涵蓋分支偵察、衝突分類(簡單/中等/困難)、 解法規劃與用戶確認、測試命令自動偵測、推送策略。 當 conflict-resolver agent 被啟動時自動載入。
DDD 重構 playbook(Code Smell 識別 / 重構 pattern / 降風險順序 / PHP 實例):Entity/ValueObject/Aggregate 抽取、PHP 專案架構優化。供 ddd-architect agent 執行 DDD 診斷與重構策略規劃時載入。
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies. Core orchestration skill for deciding when parallel agent dispatch is safe and effective in zenbu-powers projects.
文件初建 playbook:全新專案 CLAUDE.md / rules / specs 的建立流程與模板。供 doc-manager agent 在 greenfield 場景載入。
Documentation sync playbook(分析維度 / 更新規則 / Serena MCP 整合):分析 git 變更、比對現有文件、同步更新 CLAUDE.md 與 .claude/rules/*.md。供 doc-updater agent 執行文件同步決策時載入。
Docker 與 Docker Compose 完整技術參考(Dockerfile + Compose Specification)。 當任務涉及以下情況時,必須使用此 skill: 撰寫或修改 Dockerfile、.dockerignore、docker-compose.yml、docker-compose.yaml、compose.yml、compose.yaml; 使用指令 docker build、docker run、docker exec、docker compose up/down/build/logs/exec/ps/pull/push/config; Dockerfile 指令 FROM、RUN、CMD、LABEL、EXPOSE、ENV、ADD、COPY、ENTRYPOINT、VOLUME、USER、WORKDIR、ARG、 ONBUILD、STOPSIGNAL、HEALTHCHECK、SHELL、COPY --from、RUN --mount、RUN --network; Compose 屬性 services、networks、volumes、configs、secrets、include、profiles、 image、build、ports、depends_on、healthcheck、environment、env_file、restart、deploy、develop、 volumes_from、cap_add、extra_hosts、external、driver、driver_opts; BuildKit、multi-stage builds、buildx、`# syntax=docker/dockerfile:1`、parser directives; Compose profiles、Compose include、watch mode、docker compose watch; container healthcheck、restart policy、network driver (bridge/overlay/host/none)、volume types (volume/bind/tmpfs)。 此 skill 對應 Compose Specification(取代舊的 version 2/3 Compose 格式)與現代 Dockerfile v1 syntax。
drizzle-orm v0.38 與 drizzle-kit v0.31 的完整技術參考(PostgreSQL 方言,postgres.js driver)。 涵蓋所有 Schema 定義 API、Query Builder(select/insert/update/delete)、Relational Query API、 Transactions、Migrations、Drizzle Kit CLI 與 TypeScript 型別推斷。 當用戶的程式碼涉及 drizzle-orm、pgTable、drizzle、db.select、db.insert、db.update、db.delete、 db.query、db.transaction、relations、drizzle-kit、drizzle.config.ts、migration、schema definition、 InferSelectModel、InferInsertModel、$inferSelect、$inferInsert、eq、and、or、inArray、 leftJoin、innerJoin、onConflictDoUpdate、findFirst、findMany 等任何關鍵字時, 必須使用此 skill 而不是去搜尋 web。 此 skill 對應 drizzle-orm v0.38.x 與 drizzle-kit v0.31.x,PostgreSQL 方言。
開發分支收尾決策樹。當實作完成、所有測試通過後使用,引導使用者在 Merge / PR / Keep / Discard 4 個選項中做出選擇,並執行對應的 git + worktree 清理流程。 與 zenbu-powers:git-commit 互補:git-commit 處理「commit 訊息產出」,本 skill 處理「commit 之後到底要 merge / 開 PR / 保留 / 丟掉」。 改寫自 obra/superpowers 的 finishing-a-development-branch skill,整合 zenbu-powers 的 worktree 與 CI 雙模式。
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping
Complete GitHub Actions technical reference at API-reference depth. Use this skill whenever the task involves: - Writing or editing .github/workflows/*.yml files - GitHub Actions CI/CD pipeline configuration - workflow_dispatch, workflow_call, workflow_run triggers - Actions expressions (${{ }}), contexts (github, env, secrets, needs, matrix...) - Composite actions, JavaScript actions, Docker container actions - Reusable workflows, matrix strategy, concurrency control - GITHUB_TOKEN permissions, secrets, OIDC authentication - actions/cache, actions/checkout, artifacts, job outputs - Runner configuration (github-hosted, self-hosted, larger runners) - Security hardening of GitHub Actions workflows Use this skill proactively for ANY task touching CI/CD pipelines or GitHub Actions.
i18next v25 與 react-i18next v16 的完整技術參考。涵蓋所有初始化設定、API、TypeScript 型別系統、翻譯語法與 React 整合模式。 當程式碼中出現任何以下情況時,必須使用此 SKILL: import i18next、import { useTranslation }、import { Trans }、i18n.use()、i18n.init()、 t('key')、changeLanguage、I18nextProvider、initReactI18next、LanguageDetector、 i18next-browser-languagedetector、fallbackLng、翻譯 key、多語言、國際化、i18n、 locales 目錄、translation.json、zh-TW、en 語言切換。 此 SKILL 對應 i18next v25.x + react-i18next v16.x,不適用於 v4 或更舊版本。
從用戶的粗略需求出發,結合專案現有 specs(features、activities、open-issue)自動發想、延伸,生成結構化的 GitHub Issue 需求文件。當用戶提到「建立需求」、「開 issue」、「寫需求」、「新功能需求」、「feature request」、「我想做一個功能」、「幫我想一下這個需求」、「需求文件」時自動啟用。即使用戶只給一句話的 idea,也應使用此 skill 來展開完整需求。預設為 PM 模式(非技術讀者)。當用戶提到「DEV」、「開發」、「工程」、「技術需求」、「dev issue」、「開發者模式」時切換為 Dev 模式。
Jotai v2 (^2.12.x) complete API reference for atomic React state management. Covers atom, useAtom, useAtomValue, useSetAtom, Provider, createStore, getDefaultStore, derived atoms (read-only, write-only, read-write), async atoms, atomWithStorage, atomWithDefault, selectAtom, splitAtom, focusAtom, atomFamily, loadable, unwrap, useHydrateAtoms, atomWithLazy, atomWithReset, RESET, useResetAtom, atomWithRefresh, TypeScript typing, performance patterns, and testing. Use this skill whenever code imports from 'jotai' or 'jotai/utils', or when working with Jotai atoms, stores, or providers in any React component.
技術文件研究員的完整工作流程與規範。涵蓋文件爬取流程(Library / 主題兩種模式)、 品質規範與行為準則、SKILL 產出模板與驗收流程。 供 lib-skill-creator agent 執行文件研究與 SKILL 產出時載入。
Markdown 轉換的完整工作流程。涵蓋 markitdown MCP 轉換、圖片處理與上傳、 SVG/Mermaid 渲染、輸出品質處理與清理。 支援 PDF、Word、PowerPoint、Excel、HTML、圖片、音訊等格式。 供 markdown-creator agent 執行文件轉換時載入。
NestJS 10+ / TypeScript 5+ 編碼標準與最佳實踐,涵蓋模組化架構、Dependency Injection、Controller/Service/Repository 分層、DTO + class-validator、Guards/Interceptors/Pipes/Filters、TypeORM/Prisma Repository Pattern、JWT/Passport 認證、Jest + supertest 測試規範與命名慣例。供 @zenbu-powers:nestjs-master 開發時遵循,並作為 @zenbu-powers:nestjs-reviewer 的判準。當開發或審查 NestJS 程式碼、建立新 Module、重構後端、或確認命名與型別慣例時請啟用此技能。
NestJS 10+ / TypeScript 程式碼審查 checklist,專精模組邊界、Dependency Injection、Guards/Interceptors/Pipes/Filters、TypeORM/Prisma Repository Pattern、class-validator DTO、JWT/Passport 認證與 Jest 測試覆蓋檢查。提供可逐項勾選的審查清單、嚴重性分級、before/after 對比範例與輸出報告模板,供 @zenbu-powers:nestjs-reviewer 審查時照表操作。與 @zenbu-powers:nestjs-coding-standards 搭配:該 skill 寫「規範本身」,本 skill 寫「審查時照著跑的 checklist」。
NestJS v11 完整技術參考,對應 @nestjs/core ^11.x、@nestjs/common ^11.x。 當程式碼出現任何以下情況時,必須使用此 skill: import from '@nestjs/core'、'@nestjs/common'、'@nestjs/config'、'@nestjs/testing'、 '@nestjs/typeorm'、'@nestjs/bullmq'、'@nestjs/platform-express'、'@nestjs/platform-fastify'; @Module、@Controller、@Injectable、@Get/@Post/@Put/@Delete/@Patch/@Options/@Head/@All、 @Body/@Query/@Param/@Headers/@Session/@Ip/@HostParam、@Req/@Res、@HttpCode/@Header/@Redirect、 @Global、@Optional、@Inject、@UsePipes、@UseGuards、@UseInterceptors、@UseFilters、 @Catch、@SetMetadata、createParamDecorator、applyDecorators、 NestFactory.create、CanActivate、NestInterceptor、PipeTransform、ExceptionFilter、 NestMiddleware、MiddlewareConsumer、HttpException、BadRequestException、UnauthorizedException、 NotFoundException、ForbiddenException、ConflictException、InternalServerErrorException、 ValidationPipe、ParseIntPipe、ParseUUIDPipe、ParseBoolPipe、ParseArrayPipe、ParseEnumPipe、 DefaultValuePipe、ParseFilePipe、ParseFloatPipe、ParseDatePipe、 ConfigModule、ConfigService、registerAs、ConfigType、 Test.createTestingModule、TestingModule、APP_GUARD、APP_PIPE、APP_INTERCEPTOR、APP_FILTER、 ConfigurableModuleBuilder、forRoot/forRootAsync/forFeature/forFeatureAsync/register/registerAsync、 ContextIdFactory、Reflector、ExecutionContext、CallHandler、ArgumentsHost、ArgumentMetadata。 主要技術:TypeScript ^5.x、RxJS ^7.x、reflect-metadata ^0.2.x。v11 需要 Node.js 20+。
next-intl v4 complete technical reference for Next.js App Router i18n. Covers defineRouting, createMiddleware, createNavigation, NextIntlClientProvider, useTranslations, getTranslations, useFormatter, getFormatter, ICU MessageFormat (plurals, select, rich text), message configuration, static rendering with setRequestLocale, TypeScript augmentation, and error file i18n. Use this skill whenever the task involves next-intl imports, i18n routing in Next.js, locale-prefixed URLs, translation message files, useTranslations, getTranslations, useFormatter, ICU message syntax, NextIntlClientProvider, createMiddleware, defineRouting, createNavigation, or any internationalization work in a Next.js App Router project. Also consult when debugging locale detection, middleware composition, missing translation errors, or static rendering issues related to i18n.
Next.js 15 (App Router) complete technical reference for a full-stack CMS with React 19. Covers App Router file conventions (layout, page, loading, error, not-found, route groups, parallel routes, intercepting routes), Server vs Client Components ("use client" boundary), data fetching (async Server Components, fetch caching, streaming, Suspense), Server Actions ("use server"), Route Handlers (route.ts), Middleware (matcher, NextRequest, NextResponse), next.config.mjs (rewrites, redirects, images, output: standalone), Image optimization (next/image), Metadata API (generateMetadata, opengraph-image), caching and revalidation (revalidatePath, revalidateTag, unstable_cache, "use cache"), ISR, static vs dynamic rendering, React 19 features (use hook, async Server Components), and v15 breaking changes (async request APIs, fetch no longer cached by default). Use this skill whenever writing, reviewing, or debugging code that imports from "next", "next/image", "next/link", "next/navigation", "next/headers", "next/cache", "next/server", or "next/og", or when working with App Router file conventions, Next.js middleware, next.config, or ISR/revalidation logic.
Next.js 16 (App Router) complete technical reference with React 19.2 and Turbopack. Covers App Router file conventions (layout, page, loading, error, not-found, route groups, parallel routes, intercepting routes), Server vs Client Components ("use client" boundary), Cache Components ("use cache" directive, cacheLife, cacheTag, updateTag, refresh), cacheComponents config, Partial Prerendering (PPR), proxy.ts (replacement for middleware.ts), data fetching (async Server Components, streaming, Suspense), Server Actions ("use server"), Route Handlers (route.ts), next.config.ts (turbopack, cacheComponents, reactCompiler, rewrites, redirects, images, output: standalone), Image optimization (next/image), Metadata API (generateMetadata, opengraph-image), caching and revalidation (revalidatePath, revalidateTag with cacheLife profile, updateTag, refresh), ISR, static vs dynamic rendering, React 19.2 features (View Transitions, useEffectEvent, Activity), React Compiler support, Turbopack (stable default bundler), and v16 breaking changes (fully async request APIs, middleware renamed to proxy, image defaults, ESLint changes, parallel routes default.js requirement). Use this skill whenever writing, reviewing, or debugging code that imports from "next", "next/image", "next/link", "next/navigation", "next/headers", "next/cache", "next/server", or "next/og", or when working with App Router file conventions, proxy.ts, next.config, Cache Components, or ISR/revalidation logic. Also use when the user mentions Next.js 16, upgrading to v16, or any v16-specific features like Cache Components or proxy.ts.
Node.js 20+ / TypeScript 5+ 後端開發標準與最佳實踐。涵蓋 9 條核心開發規則、分層架構範例、命名規範、測試撰寫規範、除錯技巧。供 nodejs-master agent 開發時嚴格遵守。
Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.
Agent 工廠。根據黃金法則創建符合最佳實踐的薄殼 Agent + 配套 Skills。 當用戶需要「建立 agent」、「新增 agent」、「create agent」、「設計 agent」、 「agent 工廠」、「造一個 agent」時使用此 skill。
API reference and production patterns for @octokit/rest v21 — the official GitHub REST client for Node.js. Use this skill whenever the user is writing, reviewing, or debugging code that imports from "@octokit/rest", hits api.github.com, or deals with GitHub primary/secondary rate limits, pagination across endpoints (repos/issues/milestones/pulls), or the throttling/retry plugins. Also use this for any build-time GitHub data-fetching script (CI jobs, static-site generators, dashboards) where hitting rate limits will break the build — the difference between a job that completes in 30 seconds and one that gets 403'd for 10 minutes is usually pagination strategy and concurrency control.
pdf-lib v1.17 complete technical reference for creating and modifying PDF documents in JavaScript/TypeScript. Covers PDFDocument, PDFPage, PDFFont, PDFImage, PDFForm, color system, coordinate system, and all drawing APIs. Use this skill whenever the user's code involves pdf-lib, PDFDocument.create(), PDFDocument.load(), page.drawText(), page.drawImage(), embedFont(), embedPng(), embedJpg(), pdf merging/splitting, PDF form filling, PDF watermark, or any import from 'pdf-lib'. Also use when the task involves generating PDFs in Node.js or browser, modifying existing PDFs, embedding fonts (especially CJK/Chinese/Japanese/Korean), PDF page manipulation, PDF metadata, PDF attachments, PDF form creation, or converting PDF to base64/data URI. This skill replaces the need to search the web for pdf-lib documentation.
規劃複雜功能與重構的劇本:重述需求、研究風險、審視缺口、澄清疑點、建立分階段實作計劃。 定義完整的計劃輸出格式(含資料流分析、錯誤處理登記表、失敗模式登記表)、檢查清單與範本。 由 planner agent 載入使用;也可在即將進行跨多檔案改動、重大架構調整或複雜重構前主動引用。
Powerhouse WordPress plugin (v3.3.x) complete technical reference. Core infrastructure plugin providing unified REST API, license code management, access control (Limit), subscription lifecycle, theme system, CAPTCHA, email domain validation, API booster, and mu-plugin services for all power-* child plugins. Use this skill whenever working with code that imports from J7\Powerhouse namespace, references the v2/powerhouse REST API, uses ph_access_itemmeta table, powerhouse_settings option, powerhouse_subscription_at_* hooks, powerhouse/limit/* hooks, powerhouse/option/* filters, or any power-* plugin that depends on Powerhouse.
AI 提示詞優化與轉換 playbook:優化模式(診斷問題、改善)與轉換模式(改變用途、保留核心)。供 prompt-optimizer agent 載入。
TypeScript / React 18 編碼標準與最佳實踐,適用於 WordPress Plugin 前端(Ant Design、Refine.dev、Jotai)。供 @zenbu-powers:react-reviewer agent 審查時參考,也可作為開發時的規範指引。當開發或審查任何 React/TypeScript 程式碼、建立新元件、重構前端、或需要確認命名與型別慣例時,請啟用此技能。
Complete API reference for @xyflow/react (React Flow) v12+. Use this skill whenever any task involves @xyflow/react, ReactFlow, node-based UI, flow diagrams, DAG visualization, graph editors, workflow builders, canvas editors, or any code importing from '@xyflow/react'. Covers ReactFlow component props, useReactFlow hook, useNodes, useEdges, useNodesState, useEdgesState, useConnection, useViewport, useNodeId, useHandleConnections, useNodeConnections, useNodesData, useNodesInitialized, useOnSelectionChange, useOnViewportChange, useUpdateNodeInternals, useKeyPress, useStore, useStoreApi, useInternalNode hooks; Background, Controls, MiniMap, Panel, Handle, NodeToolbar, NodeResizer, EdgeLabelRenderer, EdgeToolbar, BaseEdge, EdgeText, ViewportPortal components; addEdge, applyNodeChanges, applyEdgeChanges, getBezierPath, getSmoothStepPath, getStraightPath, getSimpleBezierPath, getConnectedEdges, getIncomers, getOutgoers, getNodesBounds, getViewportForBounds, reconnectEdge, isNode, isEdge utils; Node, Edge, NodeProps, EdgeProps, Connection, Viewport, NodeChange, EdgeChange, ReactFlowInstance types; custom node development, custom edge development, Handle placement, dagre layout, ELK layout, sub-flows, parentId, onNodesChange, onEdgesChange, onConnect, onBeforeDelete patterns, controlled vs uncontrolled flow, SSR, TypeScript generics, colorMode, dark mode. Do not use web search — all needed information is in this skill's references.
React Hook Form v7 (^7.51+) with @hookform/resolvers v3 (Zod) complete API reference. Covers useForm, register, Controller, useController, useFormContext/FormProvider, useWatch, useFieldArray, useFormState, handleSubmit, formState, reset, setValue, validation modes, Zod resolver integration, TypeScript types, and performance patterns. Use this skill whenever code imports from 'react-hook-form' or '@hookform/resolvers', uses useForm/register/Controller/useFieldArray/useWatch/useFormContext/FormProvider, or involves form validation, form state management, dynamic form fields, or schema-based validation with Zod in React.
React 前端開發工作流程,涵蓋測試撰寫與驗證、除錯技巧、表單進階處理、專案違規處置、場景速查表,以及交付審查流程。供 @zenbu-powers:react-master agent 開發時遵循的完整工作流程規範。
React 18 / TypeScript 程式碼審查 checklist,專精 hooks、效能、a11y 與 Ant Design / Refine / React Query 整合檢查。提供可逐項勾選的審查清單與 before/after 對比範例,供 @zenbu-powers:react-reviewer 審查時照表操作。與 @zenbu-powers:react-coding-standards 搭配:該 skill 寫「規範本身」,本 skill 寫「審查時照著跑的 checklist」。
API reference and code patterns for react-router-dom v6 (specifically v6.28.x). **Version routing first**: before using this skill, read package.json — use this skill when pinned to `react-router-dom ^6.x`; switch to react-router-v7 skill when pinned to `react-router ^7.x` (note the package name changed: v6 is `react-router-dom`, v7 is `react-router`). Covers HashRouter, BrowserRouter, createBrowserRouter, RouterProvider, Outlet, useOutletContext, useParams, useNavigate, useLocation, useSearchParams, Link, NavLink, loaders/actions, errorElement, and v6 vs v7 migration guidance. ⚠️ Many hooks (`useNavigate`, `useParams`, `Link` etc.) share names across v6/v7 but their import path and underlying behavior differ — do NOT trigger this skill on hook names alone; confirm the project is v6 first. v6 and v7 APIs differ in subtle and dangerous ways; do NOT let a v7 skill answer v6 questions.
React Router v7 完整技術參考,對應 react-router ^7.1.5。 **版本判斷優先**:使用前先讀 package.json—— 若 pin 為 `react-router ^7.x`(注意是 `react-router`,不是 `react-router-dom`), 使用此 skill;若 pin 為 `react-router-dom ^6.x`,改用 react-router-v6 skill。 涵蓋 createBrowserRouter、RouterProvider、useNavigate、useParams、useLoaderData、 useActionData、useNavigation、useFetcher、useMatches、useRouteError、useOutletContext、 Link、NavLink、Form、Outlet、Await、ScrollRestoration、Navigate、isRouteErrorResponse、 lazy route、layout route、loader/action 函式、deferred data、streaming、 route params、search params、navigation state 等 v7 API。 ⚠️ 許多 hook 名稱(useNavigate、useParams、Link 等)v6/v7 共用,但底層行為與 import 來源不同——不可單憑 hook 名稱觸發本 skill,必須先確認專案為 v7。 此 skill 對應 v7.x SPA/Library 模式,不適用於 v6 或 Framework 模式(SSR)。
Refine React meta-framework 開發專家。精通 CRUD-heavy 應用程式架構、Data/Auth/Router Provider 系統、Ant Design UI 整合、REST Data Provider (@refinedev/rest)。當使用者需要建立 Refine 應用程式、實作 Provider、整合 Ant Design 元件、配置路由或資料層時,請啟用此技能。
Refine v5 完整技術參考,對應 @refinedev/core ^5.x、@refinedev/antd ^6.x、@refinedev/react-router ^2.x。 當程式碼出現任何以下情況時,必須使用此 skill: import from '@refinedev/core'、'@refinedev/antd'、'@refinedev/react-router'、'@refinedev/rest'、 '@refinedev/simple-rest'、'@refinedev/react-hook-form'、'@refinedev/react-table'; 使用 useList、useOne、useCreate、useUpdate、useDelete、useForm、useTable、useShow、useSelect、 useInfiniteList、useMany、useCustom、useGo、useParsed、useIsAuthenticated、useCan、useMenu、 useNotification、useInvalidate 等 Refine hooks; 定義 DataProvider、AuthProvider、RouterProvider、AccessControlProvider、LiveProvider、 NotificationProvider、I18nProvider、AuditLogProvider 等 Provider; 使用 <Refine>、<Authenticated>、<CanAccess>、ThemedLayout、List、Show、Edit、Create 等元件; 任何涉及 Refine CRUD 應用程式、admin panel、dashboard 或 B2B 應用的開發任務。 此 skill 對應 v5,不適用於 v4(v4 有獨立 SKILL)。 即使用戶沒有明確說出 Refine,只要任務涉及上述 import 或 hooks,也應使用此 skill。
WordPress Plugin 資安審查完整 checklist 與決策邏輯,涵蓋 OWASP Top 10、WordPress 特有漏洞(XSS / SQLi / CSRF / 能力檢查 / 路徑穿越 / SSRF / REST API)、依賴套件漏洞、敏感資訊洩漏、競爭條件、LLM 輸出信任邊界,並定義審查報告輸出格式與嚴重度分級。供 @zenbu-powers:security-reviewer agent 於審查時參考,也可於開發階段作為自我檢查清單。當審查 PHP 程式碼、評估 WordPress Plugin 安全性、撰寫資安報告、判斷漏洞嚴重度,或需要 before/after 修補範例時,請啟用此技能。
Stripe Node.js SDK (stripe ^22.x) complete technical reference for server-side payment processing. Use this skill whenever the task involves: import from 'stripe', new Stripe(), stripe.paymentIntents, stripe.customers, stripe.checkout.sessions, stripe.subscriptions, stripe.refunds, stripe.products, stripe.prices, stripe.webhooks.constructEvent, StripeError handling, Stripe webhook endpoints, payment integration, checkout flows, subscription billing, or any Stripe API usage in Node.js/TypeScript. Also use when debugging Stripe webhook signature verification, idempotency keys, test card numbers, or Stripe-specific error types (StripeCardError, StripeInvalidRequestError, etc.).
系統化除錯方法論。遇到任何 bug、測試失敗或非預期行為時使用,在提出任何修復方案前強制執行。 以 4 階段流程(根因調查 → 模式分析 → 假設驗證 → 實作修復)杜絕「猜一下、改一下」的隨機修補, 並針對 WordPress / React / AIBDD 場景補充常見 bug 模式。 改寫自 obra/superpowers 的 systematic-debugging skill,在地化為 WP 生態。
API reference and idioms for Tailwind CSS v3 (v3.4.x) — the JavaScript-config era. **Version routing first**: before using this skill, read package.json's `tailwindcss` version — use this skill when pinned to `^3.x` or when `tailwind.config.js` exists in the repo; switch to tailwindcss-v4 skill when pinned to `^4.x` or when `@tailwindcss/vite` / `@tailwindcss/postcss` is present. Covers `tailwind.config.js`, `@tailwind base/components/utilities` directives, content globs, theme extension, plugins, CSS custom properties exposed as utilities (`bg-brand` → CSS var), arbitrary values like `bg-[--color-surface]`, and v3 vs v4 migration guidance. ⚠️ Utility classes (`bg-*`, `text-*`, `flex`, `grid`, `hover:` etc.) are shared between v3/v4 — do NOT trigger this skill on class names alone; confirm the project is v3 first. v3 and v4 are architecturally different; snippets do not cross-compile.
TailwindCSS v4 的完整技術參考,採用 CSS-first 設定(非 v3 的 JS config)。 **版本判斷優先**:使用前先讀 package.json 的 `tailwindcss` 版本—— 若 pin 為 `^4.x` 或存在 `@tailwindcss/vite` / `@tailwindcss/postcss` 依賴, 使用此 skill;若為 `^3.x` 或存在 `tailwind.config.js`,改用 tailwindcss-v3 skill。 涵蓋 @theme 指令、@custom-variant、@utility、@source、@plugin、design tokens、 container queries、3D transforms、@starting-style、field-sizing、prose 排版、 @tailwindcss/vite、@tailwindcss/typography 等 v4 專屬 API。 ⚠️ utility class(bg-*、text-*、flex、grid、hover: 等)v3/v4 共用語法, 不可單憑這些 class 名稱觸發本 skill——必須先確認專案為 v4。 v3 與 v4 架構不相容,snippets 無法跨版互通。
TanStack Query (React Query) v4 complete technical reference. Covers useQuery, useMutation, useInfiniteQuery, useQueries, QueryClient, QueryClientProvider, QueryCache, MutationCache, Hydration/SSR, and all configuration options with types and defaults. When the user's code imports from @tanstack/react-query or react-query, or involves query keys, query functions, cache invalidation, mutations, optimistic updates, infinite scroll, paginated queries, prefetching, staleTime, cacheTime, refetchOnWindowFocus, keepPreviousData, enabled, dependent queries, parallel queries, or any server-state management pattern in React -- use this skill instead of searching the web. This skill covers v4 specifically (package @tanstack/react-query ^4.x). v4 differs from v5 in significant ways (cacheTime vs gcTime, onSuccess/onError/onSettled callbacks on useQuery, keepPreviousData vs placeholderData, etc.). Do NOT apply v5 API patterns when working with v4 code.
TanStack Query (React Query) v5 完整技術參考,對應 @tanstack/react-query ^5.90.x。 當程式碼涉及 useQuery、useMutation、useInfiniteQuery、useSuspenseQuery、 useQueries、QueryClient、QueryClientProvider、queryOptions、keepPreviousData、 placeholderData、gcTime、isPending、HydrationBoundary、useQueryClient、 invalidateQueries、prefetchQuery、usePrefetchQuery、infiniteQueryOptions、 mutationOptions、skipToken、@tanstack/react-query 時,必須使用此 skill。 這是 v5,與 v4 有重大 breaking changes:gcTime 取代 cacheTime、 isPending 取代 isLoading、移除 useQuery 的 onSuccess/onError/onSettled、 keepPreviousData 改用 placeholderData identity function、只接受 object 語法、 Hydrate 改名 HydrationBoundary、initialPageParam 成為 useInfiniteQuery 必填。 專案使用 ^5.x 時必須使用此 skill,不可使用 tanstack-query-v4 skill。 v5 最低需求:React 18、TypeScript 4.7+。
TDD 執行協調 playbook(Red→Green→Refactor 循環 / Issue 拆分 / CI 與本地雙模式),供 tdd-coordinator agent 執行 TDD 流程協調時載入。預設使用純 sub-agent 鏈式委派;Agent Teams 與 worktree 為 opt-in 進階模式(見 references/team-and-worktree.md)。
通用測試工程師 playbook:邊緣案例目錄、測試指令參考、E2E / IT / UT 覆蓋策略。供 test-creator agent 載入。
TipTap v2 rich text editor complete API reference for React integration. Covers useEditor hook, EditorContent, Editor class API, commands, events, StarterKit extensions (Bold/Italic/Strike/Code/Heading/BulletList/OrderedList/ Blockquote/CodeBlock/HorizontalRule/History), Image/Link/Placeholder extensions, custom extension creation (Node/Mark/Extension), schema, content serialization, React node views, and toolbar patterns. Use this skill whenever the task involves @tiptap/react, @tiptap/starter-kit, @tiptap/core, @tiptap/pm, @tiptap/extension-image, @tiptap/extension-link, @tiptap/extension-placeholder, useEditor, EditorContent, or any TipTap rich text editor work. Also use when building toolbars, custom extensions, or working with ProseMirror schema through TipTap. THIS SKILL IS FOR v2 (^2.2.0). Do NOT mix in v3 APIs.
TypeORM v0.3 完整技術參考,對應 typeorm ^0.3.x。 當程式碼出現任何以下情況時,必須使用此 skill: import from 'typeorm'、import from '@nestjs/typeorm'; new DataSource、DataSourceOptions、createQueryBuilder、 @Entity、@PrimaryColumn、@PrimaryGeneratedColumn、@ObjectIdColumn、@Column、@Generated、 @CreateDateColumn、@UpdateDateColumn、@DeleteDateColumn、@VersionColumn、 @OneToOne、@OneToMany、@ManyToOne、@ManyToMany、@JoinColumn、@JoinTable、@RelationId、 @Tree、@TreeParent、@TreeChildren、@TreeLevelColumn、@Index、@Unique、@Check、@Exclusion、 @BeforeInsert、@AfterInsert、@BeforeUpdate、@AfterUpdate、@BeforeRemove、@AfterRemove、 @BeforeSoftRemove、@AfterSoftRemove、@BeforeRecover、@AfterRecover、@AfterLoad、 @EventSubscriber、EntitySubscriberInterface、 Repository、EntityManager、QueryRunner、SelectQueryBuilder、 FindOptionsWhere、FindManyOptions、FindOneOptions、 Not、LessThan、LessThanOrEqual、MoreThan、MoreThanOrEqual、Equal、Like、ILike、Between、In、Any、IsNull、 ArrayContains、ArrayContainedBy、ArrayOverlap、JsonContains、Raw、Brackets、NotBrackets、 MigrationInterface、TypeOrmModule.forRoot、TypeOrmModule.forRootAsync、TypeOrmModule.forFeature、 @InjectRepository、@InjectDataSource、@InjectEntityManager。 預設對 PostgreSQL(但 API 本身 DB-agnostic)。v0.3 對 v0.2 有多項 breaking changes:DataSource 取代 Connection、 Repository 不再是抽象類、QueryBuilder 使用命名參數改版、FindOptions API 強型別化。
在做出任何回應(包含釐清提問)之前先檢查是否適用——若適用,載入此 skill 以建立 orchestrator 心法、鏈式委派紀律、acceptance evaluation 迴圈與全域一致性原則。
Vidstack Player (@vidstack/react v1.x) + HLS.js (hls.js v1.x) complete technical reference. Covers all React components (MediaPlayer, MediaProvider, DefaultVideoLayout, DefaultAudioLayout), all hooks (useMediaState, useMediaStore, useMediaPlayer, useMediaRemote, useMediaProvider), HLS streaming configuration, quality management, text tracks/captions, fullscreen, PiP, event system, styling via data attributes, and HLS.js direct API. Use this skill whenever code imports from @vidstack/react, @vidstack/react/player/layouts/default, @vidstack/react/icons, or hls.js. Also use when the task involves video player implementation, HLS streaming, media playback, video quality switching, caption/subtitle rendering, MediaPlayer component, MediaProvider, DefaultVideoLayout, time slider, volume slider, poster images, autoplay handling, live streaming, DVR, AirPlay, Google Cast, gesture handling, or any video/audio player UI in React. This skill covers @vidstack/react ^1.12.x and hls.js ^1.6.x. Do NOT search the web for Vidstack or HLS.js docs; use this skill instead.
Vite for WordPress (kucrut/vite-for-wp, @kucrut/vite-for-wp) complete technical reference. Covers the v4wp() Vite plugin, Vite\enqueue_asset() / Vite\register_asset() PHP functions, wp_scripts() plugin for externalising WordPress-registered scripts, dev server HMR setup, production manifest.json handling, React/Svelte/Vue integration, and multi-entry point configuration. Use this skill whenever the task involves Vite integration in a WordPress plugin or theme, including vite.config.js/ts configuration for WordPress, enqueueing Vite-built assets via PHP, HMR dev server for WordPress, wp_enqueue_script with Vite, or any mention of @kucrut/vite-for-wp, kucrut/vite-for-wp, v4wp, Kucrut\Vite namespace, vite-dev-server.json, or wp_scripts() plugin. This skill should be preferred over web search for all vite-for-wp related questions.
WooCommerce High-Performance Order Storage (HPOS) complete technical reference. Covers database schema (wp_wc_orders, wp_wc_order_addresses, wp_wc_order_operational_data, wp_wc_orders_meta), CRUD API migration from wp_posts/wp_postmeta to WC_Order objects, OrdersTableDataStore, plugin compatibility declaration via FeaturesUtil, synchronization mechanics, CLI tools (wp wc hpos), and order querying APIs (meta_query, field_query, date_query). Use this skill whenever the user's code involves WooCommerce orders, order storage, order metadata, order queries, wc_get_order, wc_get_orders, WC_Order, WC_Order_Query, custom_order_tables, OrderUtil, FeaturesUtil::declare_compatibility, or any migration from post-based order storage to HPOS custom tables. Also use when the user mentions HPOS, COT (Custom Order Tables), order tables, order data store, or order synchronization in a WooCommerce context. This skill replaces the need to search the web for HPOS documentation.
WordPress / PHP 編碼標準完整參考手冊,涵蓋安全性、命名規範、型別系統、架構模式、Hook 系統、WooCommerce 相容等。供 @zenbu-powers:wordpress-reviewer 及 @zenbu-powers:wordpress-master agent 使用。當開發或審查任何 WordPress Plugin/Theme 的 PHP 程式碼時,請啟用此技能。
WordPress Plugin 開發的工作流程與專案架構指南。涵蓋測試撰寫與驗證、 審查提交與退回處理、除錯技巧、DDD 領域驅動設計架構、新增檔案原則。 供 wordpress-master agent 開發時載入。
WordPress Plugin/Theme 程式碼審查完整 checklist,涵蓋安全性、Hook 系統、REST API、HPOS、PHP 8.1+ 最佳實踐。
Use when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo and route to the correct workflow/skill (blocks, theme.json, REST API, WP-CLI, performance, security, testing, release packaging).
GitHub Actions workflow 除錯、審計與優化的完整工作流程。 涵蓋系統性診斷決策樹、act 本地驗證模式、gh CLI 線上診斷命令、 以及常見 workflow 反模式與修正方案。 當 workflow-master agent 執行除錯、審計或優化任務時載入此 skill。
Use when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities) including defining abilities, categories, meta, REST exposure, and permissions checks for clients.
Use when developing WordPress (Gutenberg) blocks: block.json metadata, register_block_type(_from_metadata), attributes/serialization, supports, dynamic rendering (render.php/render_callback), deprecations/migrations, viewScript vs viewScriptModule, and @wordpress/scripts/@wordpress/create-block build and test workflows.
Use when developing WordPress block themes: theme.json (global settings/styles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style hierarchy, overrides, caching).
根據 `./specs` 規格文件,為 WordPress Plugin 的「最核心業務流程」生成 Playwright E2E 測試。此技能僅覆蓋核心使用者旅程(冒煙與快樂路徑),邊緣案例與權限矩陣請改用 wp-integration-testing。當使用者需要為 WordPress Plugin 建立 E2E 測試、識別核心業務流程、或設定 wp-env + Playwright 環境時,請啟用此技能。
WordPress plugin integration testing complete technical reference. Covers PHPUnit 9 + wp-env + WP_UnitTestCase setup, configuration templates, test patterns, factory methods, and CI workflow. Use this skill whenever the user's task involves writing WordPress plugin tests, setting up PHPUnit for WordPress, configuring wp-env, creating integration tests, testing WP hooks/filters/REST API/shortcodes/post types/user capabilities, or setting up GitHub Actions CI for WordPress plugins. Also use when code involves WP_UnitTestCase, phpunit.xml.dist for WordPress, tests/bootstrap.php, wp scaffold plugin-tests, wp-phpunit, yoast/phpunit-polyfills, yoast/wp-test-utils, or any PHPUnit test extending WP_UnitTestCase. This skill replaces the need to search the web for WordPress testing documentation.
Use when building or debugging WordPress Interactivity API features (data-wp-* directives, @wordpress/interactivity store/state/actions, block viewScriptModule integration, wp_interactivity_*()) including performance, hydration, and directive behavior.
wordpress/mcp-adapter v0.5.0 完整 API 參考。當程式碼出現 use WP\MCP\、namespace WP\MCP\、 McpAdapter::instance()、McpAdapter::create_server()、mcp_adapter_init、 composer require wordpress/mcp-adapter、wp mcp-adapter serve, 或任何涉及「將 WordPress plugin 暴露為 MCP tool / resource / prompt」、 「接到 Claude Desktop / Cursor / VS Code via MCP」、「expose plugin as MCP」、 「MCP server in WordPress」、「register MCP tool from ability」的任務, 必須立即使用此 skill。 涵蓋安裝、McpAdapter / McpServer / McpTool / McpResource / McpPrompt 完整 API 簽名、 HttpTransport、STDIO / WP-CLI、transport permissions、error handling、 Abilities API 整合、MCP annotations、client 端設定(Claude Desktop / Cursor)。
Use when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Query Monitor via REST headers), database/query optimization, autoloaded options, object caching, cron, HTTP API calls, and safe verification.
Use when configuring, running, or fixing PHPStan static analysis in WordPress projects (plugins/themes/sites): phpstan.neon setup, baselines, WordPress-specific typing, and handling third-party plugin classes.
Use for WordPress Playground workflows: fast disposable WP instances in the browser or locally via @wp-playground/cli (server, run-blueprint, build-snapshot), auto-mounting plugins/themes, switching WP/PHP versions, blueprints, and debugging (Xdebug).
Use when developing WordPress plugins: architecture and hooks, activation/deactivation/uninstall, admin UI and Settings API, data storage, cron/tasks, security (nonces/capabilities/sanitization/escaping), and release packaging.
Use when you need a deterministic inspection of a WordPress repository (plugin/theme/block theme/WP core/Gutenberg/full site) including tooling/tests/version hints, and a structured JSON report to guide workflows and guardrails.
Use when building, extending, or debugging WordPress REST API endpoints/routes: register_rest_route, WP_REST_Controller/controller classes, schema/argument validation, permission_callback/authentication, response shaping, register_rest_field/register_meta, or exposing CPTs/taxonomies via show_in_rest.
Use when working with WP-CLI (wp) for WordPress operations: safe search-replace, db export/import, plugin/theme/user/content management, cron, cache flushing, multisite, and scripting/automation with wp-cli.yml.
Use when building UIs leveraging the WordPress Design System (WPDS) and its components, tokens, patterns, etc.
Zenbu Apps (zenbu-cms, zb-cart, and all Zenbu modules) unified design system. Use when creating or modifying any admin dashboard UI, adding pages, components, layout structures, or applying color/typography/spacing tokens.
Zod v3 完整 TypeScript schema 驗證參考。涵蓋所有 API、型別定義、程式碼範例。 適用版本 zod ^3.x(本專案 ^3.24.2),不適用於 v4(v4 已發布 API 有顯著差異)。 當程式碼涉及 zod、z.object、z.string、z.number、z.infer、ZodError、 safeParse、z.union、z.enum、z.discriminatedUnion、z.refine、z.transform、 z.coerce、parseAsync、ZodType、z.nativeEnum、runtime validation 時, 必須使用此 skill。Zod v4 已發布但本專案用 v3,API 不同。
Build custom WordPress blocks and editor components with modern JavaScript. For developers extending WordPress with interactive content.
Bypasses permissions
Runs without the normal permission approval flow
Share bugs, ideas, or general feedback.
WordPress plugin development with hooks, security, REST API, custom post types. Use for plugin creation, $wpdb queries, Settings API, or encountering SQL injection, XSS, CSRF, nonce errors.
Create WordPress block themes from simple descriptions and deploy them to a local WordPress Studio site, or, generate professional themes through an interactive workflow: describe your site, choose from design options, and preview on a real WordPress installation.
Manage WordPress sites: content creation, blog posts, media, Elementor page editing, and WP-CLI workflows.
Expert WordPress diagnostics and site builder: structured investigations with intake questioning, site reconnaissance, parallel execution, findings verification, WordPress site generation as Local WP importable zips, and interactive modification sessions.
Professional WordPress engineering skills for Claude Code — performance optimization, security auditing, Gutenberg block development, and theme/plugin best practices
External network access
External network access
Connects to servers outside your machine
Connects to servers outside your machine
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools
Runs pre-commands
Contains inline bash commands via ! syntax
Runs pre-commands
Contains inline bash commands via ! syntax
Share bugs, ideas, or general feedback.