Repo health summary
repo_health_summaryCapture a one-call Git working-tree snapshot: branch, upstream ahead/behind, staged/unstaged/untracked counts, recent commits, and uncommitted diffstat for quick repository health checks.
Instructions
One-call snapshot of a git working tree: branch, ahead/behind vs upstream, staged/unstaged/untracked counts, recent commits, and the uncommitted diffstat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Repository path | |
| commits | No | Number of recent commits to include (default 5) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ahead | Yes | ||
| clean | Yes | ||
| behind | Yes | ||
| branch | Yes | ||
| staged | Yes | ||
| changes | Yes | ||
| retained | No | ||
| unstaged | Yes | ||
| untracked | Yes | ||
| recentCommits | Yes |