.gemini/skills/commit-standards/SKILL.md
[UDS] 根據 Conventional Commits 規範產生格式正確的 commit message
npx skillsauth add asiaostrich/universal-dev-standards commitInstall 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。
git status 和 git diff --staged 了解變更內容git commit 前詢問使用者確認<type>(<scope>): <subject>
<body>
<footer>
| 類型 | 使用時機 | When to Use |
|------|---------|-------------|
| feat | 新功能 | New feature |
| fix | 修復錯誤 | Bug fix |
| refactor | 重構(無功能變更) | Code refactoring |
| docs | 文件更新 | Documentation |
| style | 格式調整(無邏輯變更) | Formatting |
| test | 測試相關 | Tests |
| perf | 效能優化 | Performance |
| chore | 維護任務 | Maintenance |
BREAKING CHANGE: 標記破壞性變更,使用 Fixes #123 關聯 issue/commit - 自動分析 staged 的變更並建議 commit message/commit fix login bug - 根據提供的描述產生訊息/commit 完成後,AI 助手應建議:
提交完成。建議下一步:
- 執行
git push推送到遠端- 準備發布時 → 執行
/changelog+/release- 發現重複模式或規範摩擦 → 執行
/audit --report回報
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