.gemini/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 |
/checkin - 對目前變更執行完整品質關卡驗證/commit 建立 commit message/checkin 完成後,AI 助手應建議:
品質關卡驗證完成。建議下一步:
- 全部通過 ✅ → 執行
/commit提交變更- 有失敗項目 ❌ → 修復問題後重新執行
/checkin- 需要程式碼審查 → 執行
/review進行自我審查- UDS 安裝有異常 → 執行
/audit診斷問題
development
[UDS] 扫描代码库的调试残留与代码质量问题;可自动修正安全模式。 Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality, 扫描, 清理.
tools
[UDS] 从规格衍生 BDD 场景、TDD 骨架或 ATDD 表格
development
[UDS] 识别重复流程并以正确的开发深度构建 Skill
tools
[UDS] AI 辅助 git push 安全层:质量门禁 + 协作护栏。 Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation, 推送, 保护分支, 质量门禁.