skills/daily-report/SKILL.md
根据今日 Claude Code 历史对话生成日报。输出两个版本:详细版(供个人阅读复盘)和简洁版(可直接提交)。日报追加写入桌面"日报"文件夹,每周一个 md 文件。当用户说"生成日报"、"写日报"、"今日总结"、"daily report"、"做日报"时触发此技能。
npx skillsauth add jasong98/code-skills daily-reportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
运行解析脚本,提取今日所有项目的 Claude Code 对话内容:
python3 ./scripts/parse_transcripts.py
基于脚本输出,按项目逐一提炼以下维度:
| 维度 | 提炼方法 | |------|---------| | 主要任务 | 用户发起了什么工作,完成到什么程度 | | 技术决策 | 选择了什么方案,为什么 | | 产出物 | 创建/修改了哪些文件、写了哪些代码 | | 问题与解法 | 遇到了什么阻碍,如何解决的 | | 待办 | 明确提到但未完成的事项 |
# 确保日报目录存在
mkdir -p ~/Desktop/日报
# 计算本周文件名(ISO 周次)
python3 -c "
from datetime import date
d = date.today()
year, week, _ = d.isocalendar()
weekday = ['一','二','三','四','五','六','日'][d.weekday()]
print(f'文件名: {year}-W{week:02d}.md')
print(f'日期: {d.strftime(\"%Y-%m-%d\")}(周{weekday})')
"
按以下模板生成内容,两版都必须生成:
## 📋 详细日报 — {YYYY-MM-DD}(周{X})
### 工作概览
(1-3 句话总结今日整体工作方向和进展)
### 各项目记录
#### 🗂 {项目名}
**主要任务**
- {任务描述,说明完成状态}
**技术决策**
- {决策内容}:{原因或背景}
**产出物**
- {文件/功能/文档名称}
**问题与解法**
- 问题:{描述}
解法:{描述}
**待跟进**
- {未完成项或下一步}
(如有多个项目,重复上述结构)
### 今日复盘
(2-3 句话,说明今日亮点、不足、或值得记录的经验)
### 明日计划
- {根据今日待办推断的下一步行动}
## 📝 简洁日报 — {YYYY-MM-DD}
**完成**
- {关键事项,动词开头,一句话}
**决策**
- {重要决定,一句话}
**待办**
- {下一步具体行动}
将生成的内容追加到周文件末尾。
判断逻辑:
# 日报 {YYYY-WXX},再写入今日两版报告追加格式:
(已有内容)
---
{详细版内容}
---
{简洁版内容}
---
写入后,告知用户文件路径,例如:
✅ 日报已写入:
~/Desktop/日报/2025-W13.md
development
A full project lifecycle methodology covering two phases: fast exploration (vibe coding) followed by systematic rebuild (clean architecture). Use this skill whenever the user mentions starting a new project, wants to explore an idea without committing to architecture, says "MVP is done" or "validation complete" and is thinking about a refactor or rebuild, asks how to approach a large-scale refactor, wants to transition from messy prototype to clean system, mentions "vibe coding" or exploratory development, or asks about system design after building a working prototype. This skill applies even when the user doesn't explicitly ask for it — if they're showing signs of being between exploration and architecture, step in.
development
使用 uv 工具管理 Python 项目的依赖、环境和工作流。适用于项目初始化、依赖管理、环境配置和 CI/CD 设置场景。
development
Python 代码编写规范和最佳实践。适用于代码生成、代码审查、代码重构场景。
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.