edit-article
- 信任分
- 88/100
- 兼容 Agent
- 1
- 领域
- 文档
- 兼容 Agent
- Claude Code
- 信任分
- 88 / 100 · 社区维护
- 作者 / 版本 / 许可
- @mattpocock · 未声明 license
- 安装命令数
- 1 条
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
想读作者英文原文? ↓ 滚到正文区切换 · 在 GitHub 查看 ↗
设计思路
edit-article 是 mattpocock 的「文章重写」skill,工作流极简但有立场:信息是一张有向无环图(DAG)——某些点要先建立才能引用,所以章节顺序必须遵守这套依赖关系;段落字数严格限制,强迫作者把每段思想压缩到一颗珠子。
工作流(按作者原文)
- 按文章现有标题切章节,列出每节要讲的主点。
- 用 DAG 的视角排序——前置概念在前、依赖它的在后;和用户确认完章节顺序再动笔。
- 每节单独重写:
- 改善 clarity / coherence / flow
- 每段最多 240 字符
为什么是 240 字符
不是任意数字——这个长度强制你拆复杂句、消嵌套从句,让段落对扫读读者友好;超过这个长度通常意味着段里塞了不止一颗珠子。
适合谁
- 写完初稿在自我润色阶段的作者
- 翻译 / 改写后想压缩到「西式短段」的中文作者
- 写技术博客想让段落更易扫读的工程师
何时不该用
- 起草阶段——这是 polishing skill,不是写作 skill
- 文学体(散文、小说)——240 字符上限会切碎作者节奏
配套
doc-coauthoring(更系统的协作 SOP)、writing-process 系列(写作母法)、brainstorming(前期脑暴)。
- First, divide the article into sections based on its headings. Think about the main points you want to make during those sections.
Consider that information is a directed acyclic graph, and that pieces of information can depend on other pieces of information. Make sure that the order of the sections and their contents respects these dependencies.
Confirm the sections with the user.
- For each section:
2a. Rewrite the section to improve clarity, coherence, and flow. Use maximum 240 characters per paragraph.