locales/zh-TW/skills/commit-standards/SKILL.md
[UDS] 根據 Conventional Commits 規範產生格式正確的 commit message
npx skillsauth add asiaostrich/universal-dev-standards 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
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, 推送, 保护分支, 质量门禁.