infinite-agents-public/.claude/commands/sync.md

41 lines
810 B
Markdown

# Agent Synchronization Report
## Instructions
Run these commands IN PARALLEL to gather sync data:
### Recent Activity (Last Hour)
1. **Recent commits with details:**
```bash
git log --since="1 hour ago" --pretty=format:"%h|%ar|%an|%s" --stat
```
2. **If no recent commits, show last 3:**
```bash
git log -3 --pretty=format:"%h|%ar|%an|%s" --stat
```
3. **Current branch and status:**
```bash
git branch --show-current && echo "---" && git status --short
```
### Development Velocity
4. **Commits this week:**
```bash
git log --since="1 week ago" --oneline | wc -l
```
5. **Commits today:**
```bash
git log --since="midnight" --oneline | wc -l
```
6. **Files changed today:**
```bash
git log --since="midnight" --numstat --pretty="" | wc -l
```