testing-unit-integration
✓有關編寫乾淨、簡單且有效的單元、集成、組件、微服務和 API 測試的專家指導。在檢查現有測試是否存在違規、編寫新測試或重構測試時,請使用此技能。不適用於跨越多個進程的端到端測試 - 請使用測試 e2e 技能。涵蓋 AAA 模式、數據工廠、模擬策略、DOM 測試、數據庫測試和斷言最佳實踐。
SKILL.md
Expert guidance for keeping tests simple, clean, consistent, and short. When reviewing tests, report violated rule numbers.
Scope: Unit, integration, component, microservice, API tests. NOT for e2e tests spanning multiple processes - use testing-e2e skill instead.
These are absolutely critical - stop coding if you can't follow them:
有關編寫乾淨、簡單且有效的單元、集成、組件、微服務和 API 測試的專家指導。在檢查現有測試是否存在違規、編寫新測試或重構測試時,請使用此技能。不適用於跨越多個進程的端到端測試 - 請使用測試 e2e 技能。涵蓋 AAA 模式、數據工廠、模擬策略、DOM 測試、數據庫測試和斷言最佳實踐。 來源:agdev/claude-code。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/agdev/claude-code --skill testing-unit-integration- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 testing-unit-integration?
有關編寫乾淨、簡單且有效的單元、集成、組件、微服務和 API 測試的專家指導。在檢查現有測試是否存在違規、編寫新測試或重構測試時,請使用此技能。不適用於跨越多個進程的端到端測試 - 請使用測試 e2e 技能。涵蓋 AAA 模式、數據工廠、模擬策略、DOM 測試、數據庫測試和斷言最佳實踐。 來源:agdev/claude-code。
如何安裝 testing-unit-integration?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/agdev/claude-code --skill testing-unit-integration 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/agdev/claude-code