Generate a concise standup summary and append it to a daily file.
-
Determine today's date and the current user:
date +%Y-%m-%dfor the dategit config user.namefor the author name
-
Set the standup file path:
~/standup/{date}.md- Create the directory if it doesn't exist
-
Read the existing file (if any) to avoid duplicating items already listed.
-
Find all git repos to scan:
- Start from the current working directory and its parent
- Find all directories containing a
.gitfolder (search 2-3 levels deep) - Also check common workspace roots: parent directory, grandparent directory
-
For each repo found, scan for today's work by the current user:
git log --all --oneline --since="midnight" --author="{user}"for commitsgh pr list --state merged --search "merged:>={date}" --limit 10 --json number,titlefor merged PRs- Run these in parallel across repos for speed
- Skip repos with no activity
-
Compare findings against what's already in the file. Only add NEW items not already covered.
-
Format new items as short bullet points:
- Keep each item to 1 line — what was done + PR/repo reference if applicable
- Group related items (e.g. "Switched to host networking — PRs: backend#61, plc-go#1, pulse#65")
- No deep technical details — just what and where
- Think "5 minutes of talking time" level of detail
-
Append new items to the file using this format:
# Standup — {date}
- Item one
- Item two
- Item three
If the file already has a header and items, only append new bullets under the existing list. Do NOT rewrite or duplicate existing items.
- Show the user the final file contents so they can review.
Keep it brief. This is for a 5-minute verbal update, not a detailed report.