Skip to main content
ClaudeWave
ES, Spanish
Slash Command3.9k estrellas del repoactualizado 7mo ago

git_status

The git_status command examines the current state of a Git repository by executing status checks, comparing the HEAD branch against origin/main, identifying the active branch, and reviewing the README.md file. Use this command when needing a quick overview of uncommitted changes, branch information, and how local work diverges from the remote main branch.

Instalar en Claude Code
Copiar
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/HEAD/.claude/commands/git_status.md -o ~/.claude/commands/git_status.md
Después abre una sesión nueva de Claude Code; el slash command carga automáticamente.

git_status.md

# Git Status

Read the `Files` and run the `Commands` and summarize the current state of the git repository.

## Commands

- Current Status: !`git status`
- Current diff: !`git diff HEAD origin/main`
- Current branch: !`git branch --show-current`

## Files
@README.md