Personal productivity · Writing
weekly-report
/weekly-report
从 git 提交记录自动生成结构化中文周报/日报。当用户要求写周报、日报、工作总结、工作汇报、weekly report,或要求汇总近期 git 提交时使用。
- Author
- xg75693 ↗
- Repository
- zcode-plugins ↗
- Licence
- MIT
- Last repository change
- 02.11.2026
Assessment and security
96/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability21 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
Deprecation
No signals detected. Repository changed on 02.11.2026, without references to retired models or APIs.
Licence
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
从 git 提交记录自动生成结构化中文周报/日报。当用户要求写周报、日报、工作总结、工作汇报、weekly report,或要求汇总近期 git 提交时使用。
Original author description
从 git 提交记录自动生成结构化中文周报/日报。当用户要求写周报、日报、工作总结、工作汇报、weekly report,或要求汇总近期 git 提交时使用。
How it works
- 工作流程
Original SKILL.md headings · 90 lines, 220 words
SKILL.md preview
--- name: weekly-report description: 从 git 提交记录自动生成结构化中文周报/日报。当用户要求写周报、日报、工作总结、工作汇报、weekly report,或要求汇总近期 git 提交时使用。 --- # 周报生成器 从 git 提交历史生成一份可以直接发送的中文工作周报。核心价值:把零散的 commit 原文提炼成"领导视角的价值描述"。 ## 工作流程 ### 1. 确定时间范围 - 默认:本周周一 00:00 至现在 - 用户说"上周":取上一个完整的自然周(周一 00:00 至周日 23:59) - 用户说"日报":取当天 00:00 至现在 - 用户给出具体日期:按用户指定的起止执行 - 将范围换算为 `--since="YYYY-MM-DD 00:00"` 和 `--until="YYYY-MM-DD 23:59"` 参数 ### 2. 确定仓库范围 - 当前目录是 git 仓库:直接使用 - 当前目录不是 git 仓库:检查用户提到的路径;没有任何线索时询问用户仓库在哪 - 多个仓库:对每个仓库分别执行第 3 步,最后合并成一份周报(按仓库或按主题组织均可,取更清晰者) ### 3. 收集提交记录 对每个仓库执行: ```bash # 获取当前作者名(用于多人仓库过滤) git config user.name # 提交列表:哈希、日期、说明 git log --since="<开始>" --until="<结束>" \ --author="<user.name>" \ --pretty=format:"%h%x09%ad%x09%s" --date=short # 代码量统计(用于"关键数据"段) git log --since="<开始>" --until="<结束>" \ --author="<user.name>" \ --shortstat --oneline ``` - `git config user.name` 为空,或该时间范围内按作者过滤后为空但仓库有提交:去掉 `--author` 参数重跑(单人文档仓库常见) - 过滤掉 merge commit(说明以 `Merge` 开头的) - 纯 `chore` 类提交(如"更新依赖版本")默认忽略,除非占当期提交的一半以上 ### 4. 归类与提炼(核心步骤,决定周报质量) - 按前缀分组:`feat`(功能)→ `fix`(修复)→ `perf`/`refactor`(优化)→ `docs`/`test`(其他);无前缀的 commit 按语义判断归组 - **把 commit 原文改写成价值描述**,这是本技能存在的意义: - ❌ `fix: 修复空指针` → ✅ 修复了订单导出在无数据时直接报错的问题,保障导出功能稳定可用 - ❌ `feat: add login api` → ✅ 完成用户登录接口开发,支持账号密码与验证码两种方式 - 同一需求的多个琐碎 commit 合并为一条(如 5 个 commit 都在调登录页样式,只写一条) - 技术名词适度保留(让领导知道你干了技术活),但避免堆砌术语 - 每组最多保留 5 条,按重要性排序;条目总数控制在 10 条以内 - 不夸大、不编造:只写提交记录里真实存在的工作 ### 5. 按以下模板输出 ```markdown # 工作周报(YYYY-MM-DD ~ YYYY-MM-DD) ## 一、本周完成 ### 功能开发 - ... ### 问题修复 - ... ### 优化与其他 - ... ## 二、关键数据 - 提交 N 次,覆盖 X 个模块,代码新增约 +A 行 / 删除 -B 行 ## 三、下周计划 - (可根据仓库 TODO / issue 推断 1-3 条;无法推断时明确标注"待补充"并提醒用户) ## 四、风险与需要的支持 - 无 / 列出阻塞项和需要协调的资源 ``` - 某个分组没有内容时,整段省略,不要保留空标题 - "关键数据"的行数统计取 --shortstat 汇总的近似值即可 ### 6. 保存并交付 - 保存为 `<工作区>/周报-YYYY-MM-DD.md`(YYYY-MM-DD 取周报结束日期) - 在对话中完整展示全文 - 结尾提醒:检查有无遗漏(未提交的工作、协助他人的事项通常不在 git 里),并补全"下周计划"
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · xg75693/zcode-plugins | 96 | MIT |
| corgicorner/bisibility | 100 | AGPL-3.0 |
| hayat-nextoriainfotech/social-media-skills | 100 | MIT |
| logly/mureo | 100 | Apache-2.0 |
| calven-ai/marketing-as-code | 100 | MIT |
| Jackmeson1/semis-weekly | 100 | MIT |
| lingegrace/claude-research-skills | 100 | MIT |
| fabiozagaria/learning-ledger | 100 | MIT |
| zhbehx/weekly-report | 100 | MIT |
Database snapshot: 13.11.2026 · package version e9bdbe93a50e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100git-weekly-report
Use when summarizing git commit history into a structured daily or weekly work report. - 86report-writer
Write a weekly progress report from the repository's recent activity. Use when the user asks for a progress report, a weekly report, or a status write-up. - 92git-weekly-report-cn
当用户需要把 Git 提交记录整理成结构化日报、周报或工作汇总时使用。 - 100week-report-system
Material-based AI weekly report system. Use when the user mentions 周报, week report, weekly report, 本周总结, 工作总结, 写周报, 生成周报, 帮我写周报, 本周工作, 上周周报, 查看周报, 周报系统, 记录工作, 纳入周报素材, 周报素材, plan, experiment, 方案文档, 复盘文档, or asks to summarize recent repo activity into weekly report materials. This… - 86cmd-weekly-report
Worklog vault commands /cmd-weekly-report and /cmd-weekly-report sync. Use when the user runs either, or asks to update the weekly report: rebuilds or updates LLM/WEEKLY_REPORT.md (Traditional Chinese) from DEV_STATUS.md or the chat. - 86report-writer
Write a weekly progress report from the repository's recent activity. Use when the user asks for a progress report, a weekly report, or a status write-up.