Git Built-in Beginner
Commit
Creates git commits following best practices with conventional commit messages
By Anthropic
Trigger Command
/commit Trigger Condition
User types /commit or asks to commit changes
Overview
Analyzes staged and unstaged changes, drafts commit messages following conventional commit format, and handles the full git workflow including staging files and verifying success. Reads recent commit history to match the repository's style.
Available Tools
Bash Read Glob Grep
Usage Example
/commit -m 'Fix auth middleware' Tips
- Works best when changes are already staged
- Follows conventional commit format automatically
- Reads recent git log to match your project's commit style