zc277584121 avatar

Git Summarize Weekly

Pulls your GitHub activity via the gh CLI and formats it into a clean English summary for weekly reports. It defaults to filtering out commits to your own repos so you're only seeing contributions to other projects, which is a smart choice for standups and status updates. The output groups by repository and splits major features from minor reviews or comments, so you get something you can actually paste into a report without rewriting it. Works by querying the GitHub Events API for the current week, then categorizing PushEvents, PRs, reviews, and issues. One caveat is you're limited to the last 300 events or 90 days, but that's a GitHub API constraint, not the skill's fault.

skills.sh installs
3.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add zc277584121/mygitplugin --skill git-summarize-weekly --agent claude-code

Installs into .claude/skills of the current project.

Files

Git Summarize Weekly

总结本周的 GitHub 贡献,输出适合写入周报的英文摘要。

触发条件

当用户要求总结本周 GitHub 贡献、写周报或查看本周工作时使用此 skill。

执行步骤

  1. 计算日期范围:计算本周一的日期到今天。使用 date 命令计算。

  2. 拉取 GitHub events:

    gh api users/zc277584121/events --paginate --jq '.[]'
    

    获取用户近期的 GitHub 活动事件。

  3. 过滤和分析:

    • 过滤出本周时间范围内的事件。
    • 默认排除 zc277584121 自己账号下的仓库,只保留对他人仓库的贡献。
    • 如果用户明确要求包含自己的仓库,则不排除。
    • 关注以下事件类型:
      • PushEvent:代码推送
      • PullRequestEvent:PR 创建/合并
      • PullRequestReviewEvent:PR Review
      • IssuesEvent:Issue 创建/关闭
      • IssueCommentEvent:Issue 评论
      • CreateEvent:分支/标签创建
  4. 输出格式:

    • 必须用英文输出,适合直接抄写到周报中。
    • 大的 feature 或重要 PR 单独一条列出,简要说明做了什么。
    • 小的修复、review、评论等可以合并为一条。
    • 按仓库分组,格式简洁清晰。
    • 示例格式:
      ## Weekly Contributions (2025-01-20 ~ 2025-01-24)
      
      ### milvus-io/pymilvus
      - Implemented hybrid search API with support for multiple vector fields (#xxx)
      - Fixed connection pool timeout issue (#xxx)
      - Reviewed 3 PRs related to batch insert optimization
      
      ### milvus-io/milvus
      - Minor: commented on 2 issues about memory management
      

注意事项

Sponsors

Details

Repository
github.com/zc277584121/mygitplugin
Categories
Git & Pull Requests, Documentation
First seen
Jun 3, 2026

More from zc277584121/mygitplugin

All 7
1zc277584121 avatargit-sync-mainzc277584121/mygitpluginSync local main branch with the latest code from official upstream or origin remote3.4Kskills.sh installs
2getsentry avatarsentry-code-reviewgetsentry/sentry-for-aiAnalyze and resolve Sentry comments on GitHub Pull Requests. Use this when asked to review or fix issues identified by Sentry in PR comments. Can review specifi2.5Kskills.sh installs
3modem-dev avatarhunk-reviewmodem-dev/hunkInteracts with live Hunk diff review sessions via CLI. Inspects review focus, navigates files and hunks, reloads session contents, and adds inline review commen2.4Kskills.sh installs
4cursor avatarget-pr-commentscursor/pluginsFetch and summarize review comments from the active pull request2.3Kskills.sh installs
5langgenius avatarbackend-code-reviewlanggenius/difyUse only when the user explicitly requests a review or audit of backend code under `api/`. Supports pending-change, file-focused, and pasted-diff reviews. Do no2.1Kskills.sh installs
6vince-winkintel avatargitlab-cli-skillsvince-winkintel/gitlab-cli-skillsComprehensive GitLab CLI (glab) command reference and workflows for all GitLab operations via terminal. Use when user mentions GitLab CLI, glab commands, GitLab1.9Kskills.sh installs