Skip to content

A visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.

1020 B
Raw Blame

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: August 4, 2026 Claude Code Version: 2.1.220 Sources: