C
ClaudeMastery
MODULESPATHASK AISOURCE

Learning Modules

10 modules · 11–13 hrs

Level Legend

Beginner
Beginner+
Intermediate
Intermediate+
Advanced
Home/Slash Commands/Commit Messages
Beginner30 minLesson 4 of 9View on GitHub

allowed-tools: Bash(git add:), Bash(git status:), Bash(git commit:), Bash(git diff:) argument-hint: [message] description: Create a git commit with context

Context

  • Current git status: !git status
  • Current git diff: !git diff HEAD
  • Current branch: !git branch --show-current
  • Recent commits: !git log --oneline -10

Your task

Based on the above changes, create a single git commit.

If a message was provided via arguments, use it: $ARGUMENTS

Otherwise, analyze the changes and create an appropriate commit message following conventional commits format:

  • feat: for new features
  • fix: for bug fixes
  • docs: for documentation changes
  • refactor: for code refactoring
  • test: for adding tests
  • chore: for maintenance tasks

Last Updated: April 9, 2026

Previous
Pull Request Prep
Next
Generate API Docs