| name | shipflow-status |
| description | Quick cross-project git dashboard โ branches, uncommitted changes, sync status, last commits |
| disable-model-invocation | true |
| argument-hint | (no arguments needed) |
Context
- Current directory: !
pwd
- PROJECTS.md: !
cat /home/claude/shipflow_data/PROJECTS.md 2>/dev/null | head -20
Flow
Step 1: Read project registry
Read /home/claude/shipflow_data/PROJECTS.md to get the list of all projects with their paths. Also include ShipFlow itself (/home/claude/ShipFlow).
Step 2: Gather git status for each project
For each project path, run these git commands (skip if path doesn't exist or isn't a git repo):
git -C [path] rev-parse --abbrev-ref HEAD 2>/dev/null
git -C [path] status --porcelain 2>/dev/null | wc -l
git -C [path] rev-list --count @{upstream}..HEAD 2>/dev/null
git -C [path] rev-list --count HEAD..@{upstream} 2>/dev/null
git -C [path] log -1 --format="%ar โ %s" 2>/dev/null
git -C [path] stash list 2>/dev/null | wc -l
Run all projects in parallel using the Task tool with multiple agents, or sequentially with Bash if fast enough (<10s total).
Step 3: Compile dashboard
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
GIT STATUS DASHBOARD โ [date]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Project | Branch | Uncommitted | Ahead | Behind | Last Commit |
|------------------|----------|-------------|-------|--------|-----------------------|
| my-robots | main | 0 | 0 | 0 | 2d ago โ Add SEO crew |
| tubeflow | feat/ui | 3 | 2 | 0 | 1h ago โ Fix layout |
| GoCharbon | main | 0 | 0 | 5 | 3d ago โ New post |
| ... | | | | | |
| ShipFlow | main | 1 | 1 | 0 | 10m ago โ Update tasks|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Step 4: Highlight issues
NEEDS ATTENTION
โ ๏ธ tubeflow โ 3 uncommitted changes on feat/ui
โ ๏ธ GoCharbon โ 5 commits behind remote
โ ๏ธ ShipFlow โ 1 uncommitted change (TASKS.md?)
QUICK ACTIONS
โ tubeflow: /shipflow-ship to commit and push
โ GoCharbon: git -C /home/claude/GoCharbon pull
Only show NEEDS ATTENTION if there are issues. Issues to flag:
- Uncommitted changes (>0)
- Behind remote (>0)
- Ahead of remote (>0, may need push)
- Detached HEAD
- No remote configured
- Stashed changes (>0)
Important
- READ-ONLY โ never modify any files or run git commands that change state.
- Include ShipFlow repo itself in the dashboard.
- Skip projects whose paths don't exist on disk.
- Skip SocialFlowz if it has no git repo.
- Target execution time: under 10 seconds total.
- If a project has no remote tracking branch, show "no remote" instead of ahead/behind counts.