Generate an executive briefing of the last 24 hours of commits for the current project or a specified directory. Use when the user asks for a project update, daily briefing, commit summary, "what changed today," or wants to stay up-to-date with recent work.
Produce a rich Markdown executive briefing of the last 24 hours of commits touching the current working directory (or a specified directory). Group changes by workstream, not by individual commit.
git fetch originDetermine the default branch (origin/main or origin/master).
git log --since="24 hours ago" --format='%H %an <%ae> %s' origin/<default-branch>For each commit, also get the stat and body:
git show --stat --format='%an%n%s%n%b' <hash>Only include commits that touch files within the current working directory (or specified directory scope).
Use gh to fetch PR information when available:
gh pr list --state merged --search "merged:>=$(date -v-24H +%Y-%m-%d)" --json number,title,body,url,author,reviews,commentsInclude PR links inline as [#123](url) without a "PRs:" label. Pull in review comments if they add useful context.
Analyze the commits and PRs to identify logical workstreams (e.g., "Rendering Engine Refactor," "New Tower Implementation," "UI Polish"). Group related changes together even if they span multiple commits or PRs.
Use this structure:
Here's the last 24h brief for <directory>:
*Narrative walkthrough with owners; grouped by workstream.*
---
# <Workstream Title>
<Short narrative explaining the changes in plain language.>
- **Author Name** did X, Y, Z [#PR](url)
- **Author Name** followed up with A, B [#PR](url)
---
# <Next Workstream Title>
...Formatting rules:
Content rules: