skills/checkin-assistant/SKILL.md
[UDS] Pre-commit quality gates verification
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.
Verify pre-commit quality gates before committing code to ensure codebase stability.
在提交程式碼前驗證品質關卡,確保程式碼庫的穩定性。
git status and git diff to understand pending changesnpm test (or project test command) to verify all tests passnpm run lint to check code style compliance| Gate | Check | 檢查項目 |
|------|-------|---------|
| Build | Code compiles with zero errors | 編譯零錯誤 |
| Tests | All existing tests pass (100%) | 所有測試通過 |
| Coverage | Test coverage not decreased | 覆蓋率未下降 |
| Code Quality | Follows coding standards, no code smells | 符合編碼規範 |
| Security | No hardcoded secrets or vulnerabilities | 無硬編碼密鑰 |
| Documentation | API docs and CHANGELOG updated if needed | 文件已更新 |
| Workflow | Branch naming and commit message correct | 分支和提交格式正確 |
| Upstream | No .standards/ or .claude/skills/ modifications (advisory) | 無 UDS 上游檔案修改(建議性) |
/checkin - Run full quality gate verification on current changes/commit to create the commit messageAfter /checkin completes, the AI assistant should suggest:
品質關卡驗證完成。建議下一步 / Quality gate verification complete. Suggested next steps:
- 全部通過 ✅ → 執行
/commit提交變更 ⭐ Recommended / 推薦 — All passed → Run/committo commit- 有失敗項目 ❌ → 修復問題後重新執行
/checkin— Failures found → Fix then re-run/checkin- 需要程式碼審查 → 執行
/review進行自我審查 — Need review → Run/reviewfor self-review- UDS 安裝有異常 → 執行
/audit診斷問題 — UDS issues detected → Run/auditto diagnose
完整的 AI 行為定義請參閱對應的命令文件:
/checkinFor complete AI agent behavior definition, see the corresponding command file:
/checkin
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, 推送, 保护分支, 质量门禁.