一键导入
daily-work-summary
根据指定 Git 仓库和日期,从 commit、提交正文、文件变更及必要的 diff 中提炼每日工作内容。用于用户要求按项目和日期生成日报、每日工作总结、根据 Git commit 总结工作,或要求用 1、2、3 编号列出某天或某段日期完成事项的场景。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
根据指定 Git 仓库和日期,从 commit、提交正文、文件变更及必要的 diff 中提炼每日工作内容。用于用户要求按项目和日期生成日报、每日工作总结、根据 Git commit 总结工作,或要求用 1、2、3 编号列出某天或某段日期完成事项的场景。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
获取公开网页的正文或 Markdown 内容。当用户要求抓取链接、读取文章、提取网页正文、将页面转为 Markdown,或获取 X/Twitter、微信、知乎、Medium 等公开页面的文字内容时使用。支持在直接抓取失败或内容不完整时,通过内容提取代理和网页搜索逐级回退;不适用于需要登录的页面、付费墙绕过、媒体下载或结构化数据抓取。
Git Rebase 分支同步流程,用于将当前功能分支 rebase 到最新的目标分支(如 master/main),保持提交历史整洁。适用于功能分支落后于目标分支时,需要同步最新代码的场景。
Review a completed or nearly completed non-trivial task and maintain durable lessons across project docs, memory, existing skills, or new skills. Use after complex debugging, deployment, live verification, repo documentation work, repeated workflow discovery, creating or updating a skill, or when the user asks whether anything is worth remembering, updating, or deleting.
Use when Codex is about to use, is using, or has just used browser automation MCP tools such as chrome-devtools-mcp, Chrome DevTools MCP, Playwright MCP, @playwright/mcp, browser MCP, or browser/computer automation helpers; when the user mentions high CPU, high energy usage, battery drain, fans, heat, lag, duplicate browser MCP processes, stale Chrome Helper processes, or MCP cleanup; or when long-running Codex sessions may leave browser automation MCP helper processes behind.
Create one or more Git commits grouped by coherent change topic, then push the current branch. Use when the user asks to commit and push, submit by topic, split current changes into topical commits, or do "按照主题提交 commit 并 push"; especially when a worktree has mixed staged, unstaged, or untracked changes that need honest commit boundaries before `git push`. Commit messages must be written in Chinese unless the user explicitly requests another language.
Create copy-ready, verifiable run contracts for long-horizon agent work. Use when the user asks to write, improve, or review Codex `/goal` prompts, Claude Code `/goal` conditions, Claude `/loop` prompts, `.claude/loop.md`, `goal.md`, loop engineering prompts, autonomous run instructions, stop/pause conditions, verification criteria, bounded iteration policy, or persistent Markdown instructions for agents.
| name | daily-work-summary |
| description | 根据指定 Git 仓库和日期,从 commit、提交正文、文件变更及必要的 diff 中提炼每日工作内容。用于用户要求按项目和日期生成日报、每日工作总结、根据 Git commit 总结工作,或要求用 1、2、3 编号列出某天或某段日期完成事项的场景。 |
以 Git 历史为唯一事实来源,把相关提交合并成完成事项,输出简洁的中文编号清单。
git rev-parse --show-toplevel 确认仓库根目录。路径不存在或不是 Git 仓库时,直接说明问题。对每个目标日期建立本地时间的半开区间:当日 00:00:00 到次日 00:00:00。使用提交时间筛选,结束边界不得包含在当前日期内。
先读取提交元数据:
git log --all --since="<开始时间>" --until="<结束时间>" --date=iso-local --pretty=format:"%H`t%cI`t%an`t%ae`t%s%n%b"
--author="<作者>"。%cI 和提交时间,不用作者时间推断工作日期。git fetch、git pull 或切换分支。对筛出的每个提交检查改动范围:
git show --stat --summary --name-status <commit>
提交标题和正文不能说明实际工作时,再读取必要 diff:
git show --format= --unified=2 <commit> -- <相关文件>
优先检查实现代码、测试、迁移、部署配置和直接相关文档。不要仅凭 commit 标题总结,也不要无差别展开所有大型 diff。
默认只输出工作内容,不输出取证过程、命令、表格、commit 数量或总结说明。
单日格式:
### 7 月 16 日
1. 完成事项……
2. 完成事项……
多日或日期区间按日期分别使用同样结构,每天重新编号。事项使用适合日报的完成式表述,保留必要的项目术语,但控制技术细节。
该日期没有已提交工作内容。仅基于当前可见 Git 历史。用户:使用 $daily-work-summary 总结 E:\Code\Project\Demo 2026-07-16 的工作内容。
输出:只列出 7 月 16 日的编号工作事项。
用户:使用 $daily-work-summary 总结当前项目 7 月 16 日和 7 月 17 日的工作内容。
输出:按两个日期分组,每天独立编号。
用户:使用 $daily-work-summary 总结 D:\work\app 2026-07-01 至 2026-07-05 的每日工作。
输出:覆盖区间内每个日期,包括没有提交的日期。
用户:使用 $daily-work-summary 总结当前项目 2026-01-01 的工作内容。
输出:该日期没有已提交工作内容。