Generate well-formatted commit messages following the Conventional Commits standard.
Generates conventional commit messages by analyzing staged git changes.
/plugin marketplace add asiaostrich/universal-dev-standards/plugin install universal-dev-standards@asia-ostrichGenerate well-formatted commit messages following the Conventional Commits standard.
根據 staged 的變更,產生符合 Conventional Commits 格式的 commit message。
git status and git diff --staged to understand changes<type>(<scope>): <subject>
<body>
<footer>
git commit| Type | When to Use | 使用時機 |
|---|---|---|
feat | New feature | 新功能 |
fix | Bug fix | 修復錯誤 |
refactor | Code refactoring | 重構 |
docs | Documentation | 文件更新 |
style | Formatting | 格式調整 |
test | Tests | 測試相關 |
perf | Performance | 效能優化 |
chore | Maintenance | 維護任務 |
/commit - Auto-analyze changes and suggest commit message/commit fix login bug - Generate message based on provided description