husky-test-coverage
✓設置或驗證 Husky git 掛鉤,以確保 Node.js/TypeScript 項目的所有測試都運行且覆蓋率保持在 80% 以上(可配置)。當用戶想要通過預提交掛鉤強制執行測試覆蓋率、驗證現有的 Husky/測試設置或為 Jest、Vitest 或 Mocha 測試運行程序配置覆蓋率閾值時,應該使用此技能。
SKILL.md
Set up or verify Husky git hooks to ensure tests run and coverage thresholds are enforced on every commit.
| fullstack-workspace-init | Automatically invoked after scaffolding to set up 80% coverage threshold | | linter-formatter-init | Both configure Husky; this skill focuses on test coverage, linter-formatter-init focuses on linting/formatting | | testing-expert | Uses testing patterns and coverage targets from testing-expert skill |
When using fullstack-workspace-init to scaffold a new project, this skill is automatically applied with:
設置或驗證 Husky git 掛鉤,以確保 Node.js/TypeScript 項目的所有測試都運行且覆蓋率保持在 80% 以上(可配置)。當用戶想要通過預提交掛鉤強制執行測試覆蓋率、驗證現有的 Husky/測試設置或為 Jest、Vitest 或 Mocha 測試運行程序配置覆蓋率閾值時,應該使用此技能。 來源:shipshitdev/library。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/shipshitdev/library --skill husky-test-coverage- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 husky-test-coverage?
設置或驗證 Husky git 掛鉤,以確保 Node.js/TypeScript 項目的所有測試都運行且覆蓋率保持在 80% 以上(可配置)。當用戶想要通過預提交掛鉤強制執行測試覆蓋率、驗證現有的 Husky/測試設置或為 Jest、Vitest 或 Mocha 測試運行程序配置覆蓋率閾值時,應該使用此技能。 來源:shipshitdev/library。
如何安裝 husky-test-coverage?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/shipshitdev/library --skill husky-test-coverage 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/shipshitdev/library
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01