locales/zh-CN/skills/checkin-assistant/SKILL.md
在提交代码前验证品质关卡,确保代码库稳定性。 使用时机:提交前检查、品质验证、pre-commit 检查。 关键字:checkin, pre-commit, quality gate, 签入, 品质关卡, 验证。
npx skillsauth add asiaostrich/universal-dev-standards locales/zh-CN/skills/checkin-assistantInstall 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诊断问题
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, 推送, 保护分支, 质量门禁.