
Testing Changes
作者 riekelte67b7af9ac74無授權條款5 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫3 週前更新
Use when deciding what tests a change needs - a feature, a bug fix, a refactor, any behavior change - or when reviewing whether a diff's tests are sufficient. Encodes tests-change-with-behavior, the bug-regression pattern, and assertion discrimination. Use whenever behavior changes and the test diff is empty, especially when the change is "too small to test".
新增到 SourceWeft 工作區
- 在儀表板中開啟該技能,並將它新增到工作區。
- 為需要使用它的對話啟用該技能。
該技能僅含說明:不附帶任何可執行的腳本。
新增到 SourceWeft系統會先要求你登入,然後直接帶你回到這個技能。
讓你的代理程式來安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 或其他能執行命令的代理程式中,也可以貼上到 SourceWeft 對話裡。代理程式會閱讀這個技能的安裝說明,向你展示它的來源、授權條款和腳本情況,在你同意後用 SourceWeft CLI 安裝。
閱讀 https://sourceweft.com/skills/gh-riekelt-principal-engineer-testing-changes/install.md 中的說明,按說明安裝這個技能。安裝前先告訴我它的來源、授權條款以及是否附帶腳本,等我確認。修改我電腦上的其他任何內容之前也要先問我。用命令列自行安裝
適用於 Claude Code、Codex、Cursor 及其他本機代理程式。SourceWeft CLI 會從原始碼儲存庫中取得此處掃描過的那次提交,並根據掃描時記錄的雜湊值逐一驗證每個檔案。只要有任何不一致,就不會寫入任何內容。
npx @sourceweft/cli skills install gh-riekelt-principal-engineer-testing-changes新增 --agent claude-code、codex、cursor 或 universal 來選擇安裝給哪個代理程式(預設為 Claude Code)。
上游安裝器——未經 SourceWeft 驗證
開源的 skills 安裝器會取得同一個固定的提交,但不會根據 SourceWeft 記錄的雜湊值驗證檔案。
npx skills add https://github.com/riekelt/principal-engineer/tree/e67b7af9ac741945246012023ade5c2fee1222fa/plugins/principal-engineer/skills/testing-changes來源與署名
來源:riekelt/principal-engineer位於plugins/principal-engineer/skills/testing-changes提交e67b7af
授權條款: 無授權條款
內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。
更多來自 riekelt/principal-engineer 的技能

Writing Unit Tests
riekelt
指導撰寫與重構單元測試,遵循行為優先原則:每個測試一個行為、確定性設定、僅在邊界處使用模擬。

Verifying Before Done
riekelt
將驗證視為完成的定義:在實際介面驅動變更、執行驗證指令,並忠實回報結果。

Scoping Changes
riekelt
指導代理依觸發原因決定修正規模、將過大的工作明確拆分,並推動已核准的計畫執行到底。

Principal Engineering
riekelt
為重要工程工作提供以證據為先的紀律、安全硬規則與變更前檢查點。

Operating Safely
riekelt
為破壞性操作、機密衛生與並行工作階段提供安全防護規則。

Keeping One Source Of Truth
riekelt
為程式碼與資料建立「一事一源」原則,涵蓋衍生、合併重複項與衝突處理。
更多Software Development技能

Playground
anthropics
建立自成一體的互動式 HTML 遊樂場,包含控制項、即時預覽與可複製的提示詞輸出。

M5 Onboard
anthropics
透過 USB 偵測 M5Stack ESP32 開發板,燒錄 UIFlow 2.0 韌體並安裝 MicroPython 應用程式套件。

Cardputer Buddy
anthropics
指導迭代 Cardputer-Adv 的 MicroPython 應用程式套件:新增應用程式、透過 USB 序列埠推送檔案、查看日誌並執行 REPL 指令。

Web Design Guidelines
vercel-labs
依據從遠端來源取得的 Web Interface Guidelines 審查 UI 程式碼,並以 file:line 形式回報問題。

Vercel React Native Skills
vercel-labs
React Native 與 Expo 最佳實務規則,涵蓋清單效能、動畫、導覽、UI 模式、狀態與 monorepo 設定。

Vercel React Best Practices
vercel-labs
Vercel 的 React 與 Next.js 效能指南,以 70 條規則的形式用於撰寫、審查與重構程式碼。