locales/zh-CN/skills/commit-standards/SKILL.md
[UDS] 根据 Conventional Commits 规范产生格式正确的 commit message。 使用时机:提交代码、撰写 commit message、检查提交格式。 关键字:commit, conventional commits, 提交, 消息, feat, fix, refactor。
npx skillsauth add asiaostrich/universal-dev-standards locales/zh-CN/skills/commit-standardsInstall 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 | 简体中文
根据 staged 的变更,产生符合 Conventional Commits 格式的 commit message。
.standards/manifest.json → 检查 options.output_language。若找不到,默认为 english。git status 和 git diff --staged 了解变更内容git commit 前询问用户确认<type>(<scope>): <subject>
<body>
<footer>
| 类型 | 使用时机 |
|------|---------|
| feat | 新功能 |
| fix | 修复错误 |
| refactor | 重构(无功能变更) |
| docs | 文档更新 |
| style | 格式调整(无逻辑变更) |
| test | 测试相关 |
| perf | 性能优化 |
| chore | 维护任务 |
BREAKING CHANGE: 标记破坏性变更,使用 Fixes #123 关联 issue当 output_language 为 bilingual 时,你必须使用以下格式:
<type>(<scope>): <English subject>. <中文主旨>.
<English body — explain what and why in English>
<中文正文 — 用中文说明做了什么及为什么>
<footer>
feat(auth): Add OAuth2 Google login support. 新增 OAuth2 Google 登录支持.
Implement Google OAuth2 authentication flow for user login.
- Add Google OAuth2 SDK integration
- Create callback endpoint for OAuth flow
- Store refresh tokens securely
实现 Google OAuth2 认证流程供用户登录。
- 集成 Google OAuth2 SDK
- 建立 OAuth 流程回调端点
- 安全存储刷新令牌
Closes #123
当 output_language 为 traditional-chinese 时,使用中文类型与正文:
功能(认证): 新增 OAuth2 Google 登录支持
实现 Google OAuth2 认证流程供用户登录。
关闭 #123
/commit - 自动分析 staged 的变更并建议 commit message/commit fix login bug - 根据提供的描述产生消息/commit 完成后,AI 助手应建议:
提交完成。建议下一步:
- 执行
git push推送到远端 ⭐ 推荐 — 推送到远端- 准备发布时 → 执行
/changelog+/release— 准备发布时执行- 发现重复模式或规范摩擦 → 执行
/audit --report回报 — 检测到模式或摩擦时回报反馈
完整的 AI 行为定义请参阅对应的命令文件:
/commit
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