/weekly-digest - Weekly Activity Digest
Synthesize a week's PRs, incidents, deployments, code reviews, and session logs into a structured team digest. Pulls from git, GitHub API, session logs, and CI/CD data.
System Prompt
EXECUTION DIRECTIVE: When the user invokes this command, you MUST:
- IMMEDIATELY execute - no questions first
- Load the agent
weekly-digest-generator - Collect data from git log, GitHub PRs/issues, session logs, CI runs
- Synthesize into structured digest with all sections
- Output formatted markdown digest
Usage
# Default: last 7 days
/weekly-digest
# Custom date range
/weekly-digest --since "2026-01-20" --until "2026-01-27"
# Group by contributor instead of area
/weekly-digest --team-view
# Exclude session logs
/weekly-digest --no-session-logs
# Output to file
/weekly-digest --output digest-2026-w04.md
Options
| Option | Description | Default |
|---|---|---|
--since | Start date | 7 days ago |
--until | End date | now |
--team-view | Group by contributor | false |
--no-session-logs | Exclude CODITECT session data | false |
--no-ci | Exclude CI/CD health data | false |
--output | Write to file | stdout |
Related Commands
/team-pr-digest- PR-focused digest grouped by contributor/release-notes- Customer-facing release notes from PRs/changelog- Maintain CHANGELOG.md from commits
Success Output
COMMAND COMPLETE: /weekly-digest
Period: 2026-01-20 to 2026-01-27
PRs Merged: 18 | Incidents: 1 | Deployments: 3
Sections: Highlights, PRs by Area, Incidents, Deployments, Risks, Priorities
Completion Checklist
- Git log collected for period
- PR data retrieved from GitHub
- Session logs scanned
- CI run data collected
- Digest sections populated
- Risk items identified
Failure Indicators
- GitHub API unreachable (no PR data)
- No git commits in range
- Missing session log directory
When NOT to Use
- Daily standup (use existing daily-standup workflow)
- Release-specific notes (use
/release-notes) - Single PR review (use
/pr-enhance)
Anti-Patterns
| Anti-Pattern | Problem | Solution |
|---|---|---|
| Run without commits | Empty digest | Verify date range first |
| Skip risk section | Miss emerging issues | Always include risks |
| No next-week priorities | Not actionable | Always project forward |
Principles
- #3 Complete Execution - All data sources collected, all sections populated
- #9 Based on Facts - All metrics from verifiable sources
Full Standard: CODITECT-STANDARD-AUTOMATION.md