mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 05:55:29 +00:00
1.0 KiB
1.0 KiB
name, description, disable-model-invocation, effort, model, allowed-tools
| name | description | disable-model-invocation | effort | model | allowed-tools | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| commit | Create git commits with well-formatted conventional commit messages. | true | low | haiku |
|
Commit
Create commits with well-formatted conventional commit messages.
Process
- Check for changes (
git status). If something is staged, consider only staged changes. Otherwise, review and stage appropriate files. - Determine the commit type (e.g. feat, fix, docs, refactor, ...).
- Generate a descriptive commit message using conventional commit standards. Include scope if applicable:
type(scope): description. - Add a body for complex changes explaining the why.
- Execute the commit.
Best Practices
- Keep commits atomic and focused
- Write in imperative style ("Add feature" not "Added feature")
- Explain why, not just what
- Reference issues/PRs when relevant
- Split unrelated changes into separate commits
- Do not add Claude Code as co-author to the commit