Description
Generates comprehensive weekly work summaries by analyzing git history, pull requests, tickets, and journal snapshots. Supports both single-project and cross-project summaries. Aliases:w, weekly
Usage
Options
Generate summary for last week instead of current week
Custom start date in YYYY-MM-DD format
Start date for custom range (YYYY-MM-DD)
End date for custom range (YYYY-MM-DD)
Number of weeks ago (e.g., 2 = two weeks back)
Include all tracked projects from journal (cross-project summary)
Filter by specific project identifier
Skip fetching closed tickets/issues
Skip fetching PR context
Skip journal data (use only live git data)
Skip auto-saving a snapshot to the journal
Do not copy to clipboard
Save the generated summary to the journal as an AI summary
Show the full context and prompt sent to Copilot
Output only the raw context block (no AI generation)
Output stats as JSON (no AI generation)
Examples
Current week summary
Last week
Custom date range
Two weeks ago
Cross-project summary
Save to journal
JSON output for processing
Specific project only
Output Sections
Single-Project Mode
- Accomplishments - Key work completed
- In Progress - Active work and open PRs
- Key Metrics - Lines changed, files touched, PRs merged
- Notable Items - Breaking changes, features, refactors
Cross-Project Mode
- Week Overview - High-level themes across projects
- Per-Project Highlights - Summary for each project
- Cross-Cutting Themes - Patterns across projects
- This Week in Numbers - Aggregate statistics
Journal Integration
The week command combines:- Live Git Data - Current commits, PRs, and tickets
- Journal History - Saved snapshots from previous days
Configuration
Relevant config settings:git.defaultBranch- Base branch for comparisonsweek.startDay- Week start day (monday/sunday)output.copyToClipboard- Auto-copy behavioroutput.showStats- Display statistics
Requirements
- Git repository (unless using
--all-projects) - GitHub Copilot CLI (unless using
--jsonor--raw-context) - Journal snapshots for historical context (optional)