.claude/skills/checkin-assistant/SKILL.md
[UDS] 在提交程式碼前驗證品質關卡,確保程式碼庫穩定性
npx skillsauth add asiaostrich/universal-dev-standards checkinInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
語言: English | 繁體中文
在提交程式碼前驗證品質關卡,確保程式碼庫的穩定性。
git status 和 git diff 了解待提交的變更npm test(或專案測試指令)驗證所有測試通過npm run lint 檢查程式碼風格合規| 關卡 | 檢查項目 | Check |
|------|---------|-------|
| 建置 | 編譯零錯誤 | Code compiles with zero errors |
| 測試 | 所有測試通過(100%) | All existing tests pass |
| 覆蓋率 | 覆蓋率未下降 | Test coverage not decreased |
| 程式碼品質 | 符合編碼規範、無程式碼異味 | Follows coding standards |
| 安全性 | 無硬編碼密鑰或漏洞 | No hardcoded secrets |
| 文件 | API 文件和 CHANGELOG 已更新 | Documentation updated |
| 工作流程 | 分支命名和提交訊息格式正確 | Branch naming and commit correct |
| 上游檔案 | .standards/ 或 .claude/skills/ 無修改(建議性) | No UDS upstream file modifications (advisory) |
/checkin - 對目前變更執行完整品質關卡驗證/commit 建立 commit message/checkin 完成後,AI 助手應建議:
品質關卡驗證完成。建議下一步:
- 全部通過 ✅ → 執行
/commit提交變更- 有失敗項目 ❌ → 修復問題後重新執行
/checkin- 需要程式碼審查 → 執行
/review進行自我審查- UDS 安裝有異常 → 執行
/audit診斷問題
tools
[UDS] 從規格衍生 BDD 場景、TDD 骨架或 ATDD 表格
development
[UDS] /methodology: 選擇並追蹤開發方法論(SDD/BDD/TDD)。 Use when: 選擇方法論、切換開發模式、查詢當前方法論狀態。 若要查詢各階段對應指令請用 /dev-workflow。
testing
[UDS] Derive BDD scenarios, TDD skeletons, or ATDD tables from specifications
development
[UDS] Create or review specification documents for Spec-Driven Development