auto-weekly-report-gen

Weekly Report Generator Pro v1.1: automatically collects materials and generates weekly/monthly reports. Use when users request "write weekly report", "generate weekly report", "monthly summary", etc. Automatically gathers materials from local Git commit history (including code statistics), combines user to-do lists and spoken points, and produces results-oriented, quantifiable, structured reports. Provides templates for developer/operations/sales/manager roles and formatting for DingTalk/Feishu/email. v1.1 adds monthly mode, code add/delete statistics, and merge support. Runs entirely locally; no data is uploaded.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "auto-weekly-report-gen" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6872c49b682319fd12e16b7cbc254dfc96c0e10e9a241a9a841ac2f0ca397fac. Verify the upstream source and version against https://skillhub.cn/skills/user_e2c01589/auto-weekly-report-gen before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Weekly Report Generator Pro v1.1: automatically collects materials and generates weekly/monthly reports. Use when users request "write weekly report", "generate weekly report", "monthly summary", etc. Automatically gathers materials from local Git commit history (including code statistics), combines user to-do lists and spoken points, and produces results-oriented, quantifiable, structured reports. Provides templates for developer/operations/sales/manager roles and formatting for DingTalk/Feishu/email. v1.1 adds monthly mode, code add/delete statistics, and merge support. Runs entirely locally; no data is uploaded.

0 Downloads

Introduction source: third_party · user_e2c01589 · 1.1.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: weekly-report-pro
description: 周报生成器Pro v1.1——自动收集素材再成稿,支持周报+月报。当用户说"写周报""生成周报""周报""本周工作总结""写月报""月度总结"等需要产出工作汇报时使用本技能。自动从本机 Git 提交记录收集工作素材(含代码统计),结合用户提供的待办清单、口述要点,生成结果导向、可量化的结构化汇报。支持程序员/运营/销售/管理者四种角色模板,支持钉钉/飞书/邮件三种排版风格。v1.1新增:月报模式、代码增删统计、merge支持。全程本地运行,不上传任何数据。

周报生成器 Pro v1.1 (Weekly Report Pro)

自动收集素材 → 结构化成稿。拒绝流水账,写出让领导看得见价值的周报/月报。

使用步骤

第一步:收集素材(能自动的都自动)

  1. Git 提交记录(如用户是开发者或本机有代码仓库):
python3 {baseDir}/scripts/collect_git.py --dirs <用户的代码目录> --days 7

可选参数:

  • --days 30 或 --mode monthly — 月报模式,回溯30天
  • --include-merges — 包含 merge commits(默认排除)
  • --with-stats — 附带每个仓库的增删行数+文件数统计
  • --author <名字> — 按作者过滤
  • 输出 JSON:各仓库提交记录+可选代码统计
  1. 询问用户补充素材(一次问齐,别挤牙膏):
    • 本周/本月完成的非代码工作(会议/文档/沟通/上线)?
    • 有没有可量化的数字(处理量、增长、耗时、营收)?
    • 遇到的阻塞和需要的支持?
    • 下周期/下月计划?
    • 也接受:待办清单文件、聊天记录导出文件、口述一段话

第二步:自动检测角色与风格

根据 Git 仓库语言和提交内容自动判断:

  • 仓库语言为代码 → 默认「程序员」角色
  • 提交消息多含"运营/数据/转化" → 建议「运营」角色
  • 用户为团队 Lead/管理者 → 建议「管理者」角色

若不确定,二选一确认:

  • 角色:程序员 / 运营 / 销售 / 管理者
  • 风格:钉钉简洁版(短句+emoji) / 飞书文档版(层级标题) / 邮件正式版(无emoji)

第三步:成稿(写作铁律)

  1. 结果导向:每条以动词开头,写"做成了什么",不写"做了什么"
    • ❌ 参与了支付模块开发
    • ✅ 完成支付模块退款链路开发,联调通过,预计下周二上线
  2. 能量化就量化:提交数、代码增删行数、解决问题数、覆盖率、转化率、金额
  3. 合并同类项:同一项目多条提交合并为一条成果
  4. 诚实:素材里没有的事不编造;阻塞项如实写
  5. 篇幅:周报 200-400 字,月报 400-800 字;用户可要求调整

周报模板

# 周报 · {姓名} · {MM.DD-MM.DD}

## ✅ 本周成果
1. (成果+量化数据+状态)
2. ...

## 📊 本周数据(如有 --with-stats)
- {仓库A}: {commit_count} 提交, +{lines_added}/-{lines_deleted} 行, {files_changed} 文件

## 🚧 进行中
- (事项+当前进度+预计完成时间)

## ⚠️ 风险与求助
- (阻塞点+需要谁的什么支持;无则写"无")

## 📋 下周计划
1. (具体+可验收)

月报模板

# 月报 · {姓名} · {YYYY年MM月}

## 📈 本月关键成果
1. (重大里程碑+量化数据)
2. ...

## 📊 本月数据汇总
- 总提交: {total_commits} 次 · 代码: +{lines_added}/-{lines_deleted} 行 · 涉及 {files_changed} 文件

## 🎯 目标完成情况
(对比月初目标,逐项说明)

## 🚧 进行中
- (跨月事项+进度)

## ⚠️ 风险与求助
- (阻塞点;无则写"无")

## 📋 下月计划
1. (大目标+可验收里程碑)

隐私说明

Git 记录仅在本机读取分析;所有素材(待办/口述/聊天)仅在当前会话使用;本技能不上传任何数据。

Current listing version

1.1.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决职场高频刚需:自动生成结构化、可量化的周报/月报,显著提升汇报效率
  • 支持多角色模板(程序员/运营/销售/管理者)与多排版风格(钉钉/飞书/邮件),适配性强
  • 自动收集 Git 提交记录与代码统计,减少手动整理成本,结果导向写作铁律提升汇报质量
Trigger Precision95/100

Highlights

  • 触发词覆盖完整且边界清晰,涵盖周报/月报多种表达变体,不易误触或漏触
Structure and Standards90/100

Areas to improve

  • 缺少 When to Use 显式章节 Reported severity: Minor

    文档未设置显式的 When to Use 章节,虽在 description 中体现,但结构上可更清晰

    Recommendation: 建议在正文开头增加 When to Use 小节,明确使用场景与时机

Highlights

  • 执行流程分步清晰(收集素材→检测角色→成稿),含出口条件与端到端模板示例
  • frontmatter 完整,周报/月报模板具体可复用,篇幅控制合理
Execution Reliability88/100

Highlights

  • 工具来源明确(collect_git.py),参数说明完整,支持异常场景(如无 Git 仓库)
  • 全程本地运行,不上传数据,隐私保障到位,写作铁律确保输出质量
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.