weekly-brief
Purpose
Compiles a weekly digest from git history, merged pull requests, a markdown logbook, and optional notification delivery.
Runbook
- Set
REPO_LIST(space-separated absolute paths to git repos),LOGBOOK_PATH, andGITHUB_TOKEN. - Run
scripts/git-digest.shto collect commits from the past 7 days across all listed repositories. - Run
scripts/pr-digest.shto collect merged PRs via the GitHub CLI. - Run
scripts/logbook-digest.shto extract diary or logbook entries from the past 7 days. - Pipe or pass all three outputs to
scripts/assemble.shto produce a unified markdown brief. - Print the brief to stdout; optionally send it to Telegram if bot credentials are set.
Stop conditions
- Warn and skip any repo path that does not exist.
- Abort if
gitis missing. - Skip the PR digest gracefully if
GITHUB_TOKENis unset. - Skip the logbook digest if
LOGBOOK_PATHis unset or missing.
Output format
A markdown document with these sections:
## Git Activity## Merged PRs## Logbook## Summary
Example invocations
REPO_LIST="~/code/myapp ~/code/api" LOGBOOK_PATH=~/notes/log.md skills/weekly-brief/scripts/run.sh- "Compile my weekly brief for the past 7 days."