Skip to main content

/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:

  1. IMMEDIATELY execute - no questions first
  2. Load the agent weekly-digest-generator
  3. Collect data from git log, GitHub PRs/issues, session logs, CI runs
  4. Synthesize into structured digest with all sections
  5. 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

OptionDescriptionDefault
--sinceStart date7 days ago
--untilEnd datenow
--team-viewGroup by contributorfalse
--no-session-logsExclude CODITECT session datafalse
--no-ciExclude CI/CD health datafalse
--outputWrite to filestdout
  • /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-PatternProblemSolution
Run without commitsEmpty digestVerify date range first
Skip risk sectionMiss emerging issuesAlways include risks
No next-week prioritiesNot actionableAlways 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