git-summarize-weekly
Summarize weekly GitHub contributions for writing weekly reports
Install
npx skills add https://github.com/zc277584121/mygitplugin --skill git-summarize-weeklySKILL.md
Git Summarize Weekly
总结本周的 GitHub 贡献,输出适合写入周报的英文摘要。
触发条件
当用户要求总结本周 GitHub 贡献、写周报或查看本周工作时使用此 skill。
执行步骤
计算日期范围:计算本周一的日期到今天。使用
date命令计算。拉取 GitHub events:
gh api users/zc277584121/events --paginate --jq '.[]'获取用户近期的 GitHub 活动事件。
过滤和分析:
- 过滤出本周时间范围内的事件。
- 默认排除
zc277584121自己账号下的仓库,只保留对他人仓库的贡献。 - 如果用户明确要求包含自己的仓库,则不排除。
- 关注以下事件类型:
PushEvent:代码推送PullRequestEvent:PR 创建/合并PullRequestReviewEvent:PR ReviewIssuesEvent:Issue 创建/关闭IssueCommentEvent:Issue 评论CreateEvent:分支/标签创建
输出格式:
- 必须用英文输出,适合直接抄写到周报中。
- 大的 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
注意事项
- GitHub Events API 最多返回最近 90 天、300 个事件的数据。
- 如果某一周活动特别少,如实报告即可。
- 输出要简洁实用,直接可以粘贴到周报中。
Related skills
setup-matt-pocock-skillsmattpocock905KConfigure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.hyperframes-cliheygen-com714KUse the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers loimplementmattpocock627KImplement a piece of work based on a spec or set of tickets.ask-mattmattpocock626KAsk which skill or flow fits your situation. A router over the skills in this repo.