1.4 KiB
1.4 KiB
description, model, allowed-tools
| description | model | allowed-tools |
|---|---|---|
| Show git activity during this Claude session | claude-haiku-4-5-20251001 | mcp__plugin_git_git-intelligence__get_recent_commits, mcp__plugin_git_git-intelligence__get_diff_summary |
Session Activity Log
Show what git activity has happened during this session using the git-intelligence MCP tools.
Instructions
Display a summary of git activity during the current Claude session, including:
- Commits made
- Files changed
- Current uncommitted work
Workflow
-
Get recent commits → Use
get_recent_commitstool withlimit: 10- Shows commits with hash, message, author, and relative time
-
Get current status → Use
get_statustool- Returns branch, staged/modified/untracked counts, and file lists
-
Get diff summary → Use
get_diff_summarytool- Returns files changed with lines added/deleted
-
Check for session summary file (Bash fallback):
cat .claude-session-summary 2>/dev/null || echo "No session summary found"
Output Format
Present the information in a clear summary:
## Session Activity
### Commits Made (recent)
- abc1234 feat(auth): add login endpoint (5 minutes ago)
- def5678 fix(api): handle null case (20 minutes ago)
### Current Changes
Staged: 2 files (+45, -12)
Modified: 3 files
Untracked: 1 file
### Uncommitted Files
M src/auth.ts
M src/api.ts
?? src/new-file.ts
Now show the session activity.