W Perf

blockmatic/basilic-skills/skills/workflow/w-perf

作者 blockmatic7e05e2abd052dc6b526e8a28e36d102d42bfd635無授權條款1 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫6 天前更新

Measure bottlenecks with repository tools, then recommend or apply evidenced optimizations.

AI 產生的概覽

以真實基準測量效能瓶頸,並據此建議或套用有證據支持的優化。

功能
引導代理進行有量測的效能排查:先閱讀現有測試文件中的預算,再用倉庫的效能分析工具、追蹤、測試或工作計時擷取基準,並找出所屬的熱路徑,例如查詢、算繪或記憶體配置。接著建議最小幅度的變更,僅在獲得授權時才實作,並在變更後重新量測。若需要新的預算,會記錄在現有測試文件中,而不是自行發明;行為或指令有變更時也會更新文件。
適用情境
適用於排查程式碼倉庫中的效能問題,且需要在提出變更前取得可量測的基準。除非使用者明確要求實作,否則以僅報告的分析為主。
執行需求
僅為指示文件,不含腳本。需要存取倉庫的測試文件、效能分析工具、追蹤或測試,並可選用 gh 命令列工具取得工作計時。

Find performance issues with a measured baseline. Do not invent SLOs or impact percentages. Report-only unless the user asked to implement.

  1. Read testing docs for budgets if present. Capture a baseline with the repo profiler, traces, tests, or gh job timing — not estimates.
  2. Locate the owning hot path (query, render, allocation) with that evidence.
  3. Recommend the smallest change. Implement only when authorized. Re-measure after a change.
  4. If a new budget is required, document it in existing testing docs instead of inventing an SLO here.
  5. Docs: /w-docs if behavior or commands changed.

來源與署名

來源:blockmatic/basilic-skills位於skills/workflow/w-perf提交7e05e2a

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架