From scattered work traces to polished reports — automatically.
Gather data from available sources in this order:
PrioritySourceWhat to collectFallback1Project historyCommit messages, change statsSkip if no project found2Task managerCompleted/pending tasksSkip if unavailable3CalendarMeetings, eventsAsk user to supplement4User inputManual descriptionAlways available
Use system tools to gather project activity. Adapt to the user's OS:
Project commit history:
Change statistics:
Task completion:
If the user has multiple projects:
Standard format (Conventional Commits):
PatternCategoryDisplayfeat(scope): messageNew Featuremessage (scope)fix(scope): messageBug FixFix: message (scope)docs: messageDocumentation📝 messagerefactor: messageRefactor♻️ messagetest: messageTesting🧪 messageperf: messagePerformance⚡ messagechore: messageMaintenance🔧 messageci: messageCI/CD🔄 messageMerge pull/branchMerge🔀 Merge #number
Non-standard format:
LevelCriteriaReport PlacementMajorNew feature, significant refactor, critical fix"今日重点" sectionNormalRegular commits, bug fixes, docs"完成事项" sectionMinorChore, style, typo fixesOmit or collapse into stats
markdown
# 工作日报 | {YYYY-MM-DD 周X}
## 今日重点
> {1-2 sentence executive summary of the day's core work}
## 完成事项
### {Project A}
- ✅ {Feature or fix description}
- ✅ {Another item}
### {Project B}
- ✅ {Item description}
## 进行中
- 🔄 {Ongoing work that wasn't completed today}
## 明日计划
- 📋 {Next steps based on in-progress work or user hints}
## 数据统计
| 指标 | 数值 |
|------|------|
| 项目数 | {n} |
| 提交数 | {n} |
| 文件变更 | {n} 个文件 |
| 代码量 | +{n} / -{n} 行 |
## 备注
- {Anything notable: blockers, dependencies, achievements}
markdown
# 周报 | {Monday日期} ~ {Friday日期}
## 本周概览
> {2-3 sentence summary of the week's themes and achievements}
## 核心成果
### {Project A}
- {Major deliverable 1}
- {Major deliverable 2}
### {Project B}
- {Major deliverable}
## 详细进展
| 日期 | 主要工作 |
|------|----------|
| 周一 | {Key items} |
| 周二 | {Key items} |
| ... | ... |
## 数据汇总
| 指标 | 数值 |
|------|------|
| 项目数 | {n} |
| 总提交 | {n} |
| 新增代码 | +{n} 行 |
| 删除代码 | -{n} 行 |
| PR/MR | {n} 个 |
| Bug修复 | {n} 个 |
## 下周计划
1. {Priority 1}
2. {Priority 2}
3. {Priority 3}
## 需要协助
- {Blockers, resource needs, decisions pending}
markdown
## Standup | {Date}
**Yesterday:**
- {What was completed}
**Today:**
- {What's planned}
**Blockers:**
- {Any impediments} / None
SituationResponseNo commits foundAsk: "今天没有检测到项目提交记录。你今天做了哪些工作?我来帮你整理。"Only chores/minor commitsGenerate report with stats, note that work was mainly maintenanceUser provides manual inputCombine manual descriptions with any available statsMultiple contributors detectedFilter to only the user's commits (by author name/email)Very active day (20+ commits)Group aggressively, focus on features/fixes, collapse minor commits into statsAcross time zonesUse the user's local date (from USER.md timezone setting)
If user says "用我的模板" or provides a template:
Compare this week vs last week:
TargetMethodChat (default)Markdown inlineFeishu docfeishu_doc → create then writeFileSave to path like reports/YYYY-MM-DD.mdClipboardTell user the content is ready to copy
If the user has a regular schedule (e.g., always asks for daily report at 6pm), suggest setting up a cron job or HEARTBEAT.md reminder.