spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / plugins / commit-commands / commands / commit.md
17 lines · 624 BPreviewCodeRaw
1---
2allowed-tools: Bash(git add:*), Bash(git status:*), Bash(git commit:*)
3description: Create a git commit
4---
5
6## Context
7
8- Current git status: !`git status`
9- Current git diff (staged and unstaged changes): !`git diff HEAD`
10- Current branch: !`git branch --show-current`
11- Recent commits: !`git log --oneline -10`
12
13## Your task
14
15Based on the above changes, create a single git commit.
16
17You have the capability to call multiple tools in a single response. Stage and create the commit using a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.