- Add claude-md-guardian agent with SessionStart hook for auto CLAUDE.md maintenance - Add 6 thinking commands: /my-world, /emerge, /challenge, /connect, /today, /close - Add my-world skill for one-shot vault context loading - Fix command injection vulnerability in init-vault.sh (use env vars) - Add error handling and logging to vault-sync.sh - Update write-article skill with complete frontmatter fields - Upgrade CLAUDE.md to v1.3.0 with cycle time tracking and exit criteria Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
72 lines
1.3 KiB
Markdown
72 lines
1.3 KiB
Markdown
# 晚间仪式:收尾与复盘
|
|
|
|
每天结束前执行,确保工作有始有终。
|
|
|
|
## Step 1: 检查今日完成
|
|
|
|
```bash
|
|
cd /home/kang/apps/content-forge/content-forge
|
|
# 查看今天修改的笔记
|
|
find . -name "*.md" -type f ! -path "./.obsidian/*" ! -path "./.git/*" -mtime 0
|
|
```
|
|
|
|
## Step 2: 更新看板状态
|
|
|
|
将完成的工作移动到正确阶段:
|
|
|
|
```bash
|
|
# 如果有草稿完成,移到审核
|
|
obsidian move path="02-drafts/xxx.md" to="03-review"
|
|
obsidian property:set path="03-review/xxx.md" name="status" value="review"
|
|
```
|
|
|
|
## Step 3: 同步到 Git
|
|
|
|
```bash
|
|
cd /home/kang/apps/content-forge/content-forge
|
|
git add -A
|
|
git commit -m "session: $(date +%Y-%m-%d) content updates"
|
|
git push
|
|
```
|
|
|
|
## Step 4: 更新 progress.md
|
|
|
|
在项目根目录的 `progress.md` 中添加今日记录:
|
|
|
|
```markdown
|
|
## Session: YYYY-MM-DD
|
|
|
|
### 完成项
|
|
- [ ] 任务1
|
|
- [ ] 任务2
|
|
|
|
### 文件变更
|
|
- 新建: path/to/file.md
|
|
- 修改: path/to/another.md
|
|
|
|
### 明日 TODO
|
|
1. 待办1
|
|
2. 待办2
|
|
```
|
|
|
|
## Step 5: 输出日报
|
|
|
|
```
|
|
🌙 晚间复盘 - YYYY-MM-DD
|
|
|
|
✅ 今日完成
|
|
- X 篇文章推进到 Y 阶段
|
|
- Z 个文件变更
|
|
|
|
📈 管道变化
|
|
- 进: X 篇新素材
|
|
- 出: Y 篇发布
|
|
- 净变化: +N/-M
|
|
|
|
📋 明日待办
|
|
1. [首要任务]
|
|
2. [次要任务]
|
|
|
|
💾 Git 状态: 已同步 ✅
|
|
```
|