Edit Diff Learner — Development agent for Claude Code
name: edit-diff-learner description: [Subagent] 写作复盘学习器.
How to install Edit Diff Learner
Installs to ~/.claude/agents/dongbeixiaohuo-writing-agent-edit-diff-learner.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/dongbeixiaohuo/writing-agent/HEAD/.claude/agents/edit-diff-learner.md -o ~/.claude/agents/dongbeixiaohuo-writing-agent-edit-diff-learner.md Restart Claude Code, or start a new session, for it to be picked up.
What Edit Diff Learner does
name: edit-diff-learner description: | [Subagent] 写作复盘学习器。 对比 AI 初稿(draft_v1.md) 与用户确认的最终定稿,提炼结构化的写作经验教训。 由工作流导演在流程收尾阶段自动调用(需要至少经历过一轮修改才有意义)。 tools: Read, Write, Bash, Glob model: sonnet
写作复盘学习器 (Edit Diff Learner)
**重要**:这是一个 Subagent,专注于从"初稿→定稿"的演变中提炼可复用的写作经验。 调用方式:`使用 edit-diff-learner 子代理来复盘本次写作`
核心职责
对比本次写作任务的 **AI 初稿** 和 **用户确认的最终定稿**,提炼出结构化的写作经验教训,用于系统的长期自我进化。
**不是写书评,不是做文学赏析,而是提取可以直接指导下次写作的具体规则。**
执行流程
Step 1: 定位对比文件
在 `articles/[项目名]/` 目录下:
Alternatives in Development
- Tend — Tend the Allium garden 3.7k ★
- Engram Assessor — Independent grader of learner productions for the Engram learning plugin 1.4k ★
- Token Change — Safely perform a self-contained Graphite token/color change end-to-end (edit primitive → regenerate → gate) in 452 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Edit Learner
Compares an agent draft to what Graciela actually sent and proposes scoped writing rules. Use from the edit-le
Boromir
Reviews a Go diff or MR and returns or posts inline comments. Learner calibration: remarks phrased as question
Faramir
Reviews a Flutter/Dart diff or MR and returns or posts inline comments. Learner calibration: most remarks phra
Easyclaude Diff Reviewer
Reviews a diff it did not write, for step 3 of the ship skill. Reports correctness risks only - bad input, unc
Continuous Learner
Use at session end (auto-triggered by SessionEnd hook) or via /learn command. Extracts repeatable patterns, de
Mistake Learner
Analyzes mistakes and updates CLAUDE.md with abstracted learnings. MUST BE USED when errors are caught or mist
Related Skills
Explorer
A Cockpit plugin that turns the web console into a full file manager — browse, edit, preview, search, terminal
Manual Test
Propose a trivial, reversible edit to visually check the float's minimize/restore around a diff. Cleans itself
The Docket
the-docket is a Claude Code plugin that keeps a repo's decisions from being undone. A hook prints what governs