扫描并补齐缺失的每日工作日志。对比 logs/daily/ 已有日志与 git 有提交的日期(按 07:00 边界归属),列出「昨天及之前、有 commit 但无日志」的日期,逐日调用 generate_log.py 生成骨架,再按 SKILL_10b 补写微信通知和改动意义。不执行 git add/commit,不补齐今天。
64
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.claude/skills/daily/SKILL.md/daily <今天日期>YYYY-MM-DD.md 覆盖 YYYY-MM-DD 07:00 ~ YYYY-MM-DD+1 07:00 的 commit(凌晨 0-7 点归前一天)/daily:扫描所有缺口并逐一补齐/daily YYYY-MM-DD:只补齐指定日期(允许补今天)/daily 执行步骤ls logs/daily/*.md | grep -oE '[0-9]{4}-[0-9]{2}-[0-9]{2}' | sort -u# 取出每个 commit 的 ISO 时间戳,再用 awk 按 07:00 归属到日期
git log --all --date=iso --pretty=format:"%cd" \
| awk '{ date=$1; time=$2; if (time < "07:00:00") { cmd="date -d \"" date " -1 day\" +%Y-%m-%d"; cmd | getline date; close(cmd); } print date }' \
| sort -u集合差:{有提交的日期} − {已有日志的日期} − {今天},得到要补齐的日期列表。
向用户展示:
以下日期有 commit 但无日志,将逐一补齐:
- 2026-04-20(N 次提交)
- 2026-04-21(M 次提交)
共 2 天需补齐。是否继续?等待用户确认后再执行第 5 步(除非用户已开启自动确认)。
对每个缺失日期 D:
python logs/daily/generate_log.py Dlogs/daily/D.mdgit log --since="D 07:00" --until="D+1 07:00" 统计章节数、新增文件、新增 SKILL· 提交N次代码https://baojie.github.io/shiji-kb/;纯脚本/文档/小修不列 URL## 微信群通知 代码块✅ D 已补齐(N 次提交)补齐完成:
- 2026-04-20 ✅
- 2026-04-21 ✅
共 2 天,未执行 git add/commit。/daily YYYY-MM-DD 执行步骤跳过扫描和清单确认,直接对该日期执行「第 5 步:逐日补齐」流程。允许指定今天。
# 章节数
git log --since="D 07:00" --until="D+1 07:00" \
--name-only --format="" | grep "chapter_md.*tagged.md" | sort -u | wc -l
# 总文件数
git log --since="D 07:00" --until="D+1 07:00" \
--name-only --format="" | sort -u | wc -l
# 新增 SKILL/README/SPEC
git log --since="D 07:00" --until="D+1 07:00" \
--diff-filter=A --name-only | grep -E "SKILL|README|SPEC"在日志第一行标题后追加:
# 工作日志 D
## 微信群通知
```
【史记知识库 D】
· 核心工作1(含数字)
→ https://baojie.github.io/shiji-kb/path/to/page.html (可选:最多3个)
· 核心工作2
...
· 提交N次代码
为什么做这些事?
(动机和背景,1-3句)
要解决什么问题?
(痛点和目标,1-3句)
会影响什么最终交付物?
(成果和价值,1-3句)
```
---
(原有自动生成内容)logs/daily/generate_log.pyskills/SKILL_10b_每日工作日志维护.mdlabs/sima-qian-style/SKILL.md79c272f
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.