Skip to main content
ClaudeWave
Slash Command828 repo starsupdated 13d ago

status

The status command displays the current git repository state in a formatted summary showing the active branch, staged changes, unstaged modifications, untracked files, and suggested next actions. Use this to quickly understand what changes exist in your working directory without parsing raw git output, particularly when managing multiple file changes across a project.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/huangjia2019/claude-code-engineering/HEAD/05-Commands/projects/01-basic-commands/.claude/commands/git/status.md -o ~/.claude/commands/status.md
Then start a new Claude Code session; the slash command loads automatically.

status.md

Show the current git status with helpful context.

## Steps

1. Run `git status`
2. Summarize the state in a friendly format

## Output Format

```
## Git Status

Branch: [branch name]
State: [clean / has changes / has conflicts]

### Staged Changes (ready to commit)
- [files]

### Unstaged Changes (not staged)
- [files]

### Untracked Files
- [files]

### Suggested Next Steps
- [what you might want to do next]
```

If the repo is clean, just say:
```
✓ Working tree clean on branch [name]
```