git-summarize-weekly
Summarize weekly GitHub contributions for writing weekly reports
Security Assessment
About git-summarize-weekly
The git-summarize-weekly skill summarizes a user's weekly GitHub contributions and outputs an English summary suitable for writing a weekly report. It solves the recurring task of compiling what you worked on across GitHub over the past week into concise, report-ready text, and it triggers when a user asks to summarize this week's GitHub contributions, write a weekly report, or review this week's work. The skill is restricted to the Bash tool.
The execution steps are concrete: first it computes the date range from this Monday to today using the date command. Then it pulls recent GitHub activity events with gh api users/zc277584121/events --paginate --jq '.[]'. It filters events to those within the current week and by default excludes repositories under the user's own account (zc277584121), keeping only contributions to others' repositories, unless the user explicitly asks to include their own repos. It focuses on event types including PushEvent, PullRequestEvent, PullRequestReviewEvent, IssuesEvent, IssueCommentEvent, and CreateEvent. The output must be in English and ready to paste into a weekly report: large features or important PRs are listed individually with a brief description, while small fixes, reviews, and comments are merged into single entries, all grouped by repository in a concise format with a sample layout showing a dated heading and per-repository bullet lists.
This skill is aimed at developers who need to produce weekly status reports from their GitHub activity, particularly contributions to external or team repositories. It notes practical limitations: the GitHub Events API returns at most the most recent 90 days and 300 events, so very old activity is unavailable, and if a given week has little activity it should be reported honestly. The emphasis throughout is on concise, practical output that can be pasted directly into a weekly report.
FAQ
What does this skill do?
It summarizes the current week's GitHub contributions and outputs an English summary formatted for a weekly report. It triggers when the user asks to summarize this week's GitHub contributions, write a weekly report, or review this week's work.
How does it fetch and scope the activity?
It computes the date range from this Monday to today using the date command, then pulls events with gh api users/zc277584121/events --paginate --jq '.[]' and filters to events within the current week. By default it excludes the user's own repositories and keeps only contributions to others' repos, unless the user explicitly asks to include their own.
Which event types does it report on?
It focuses on PushEvent (code pushes), PullRequestEvent (PR creation/merge), PullRequestReviewEvent (PR reviews), IssuesEvent (issue creation/closing), IssueCommentEvent (issue comments), and CreateEvent (branch/tag creation).
What does the output look like?
Output is always in English and ready to paste into a weekly report. Large features or important PRs are listed as individual entries with a brief description, while small fixes, reviews, and comments are merged into one entry, all grouped by repository with a dated heading in a concise format.
Are there limitations on how far back it can look?
Yes. The GitHub Events API returns at most the most recent 90 days and 300 events, so older activity is not available. If a week has little activity, the skill reports that honestly.
Install git-summarize-weekly
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
zc277584121/mygitplugin