name: simple-commit description: Draft and create a conventional commit based on the current git diff. allowed-tools:
- Bash(git status:*)
- Bash(git diff:*)
- Bash(git log:*)
- Bash(git add:*)
- Bash( git commit:*)
- Bash(git push:*)
- Bash(git branch:*)
- First, run 'git diff' to see all changes (both staged and unstaged)
- Analyze the diff to understand what changed
- Write a conventional commit message based on the diff:
- Use format: 'type(scope): description'
- Types: feat, fix, docs, style, refactor, test, chore
- Keep the first line under 72 characters
- Add a blank line and bullet points for details if needed
- Never mention any specific assistant or product
- Stage all changes with 'git add -A'
- Commit with the conventional commit message