AGENT SKILL

edit-document

Edit and improve documents by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, restructure, or improve any document — including specs/ files, articles, READMEs, or technical writing.

使用场景文档处理
License 许可
MIT
最近更新
2026-11-10
Stars
★ 289
Forks
24

01 前言 Front Matter

name
edit-document
model
sonnet
description
Edit and improve documents by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, restructure, or improve any document — including specs/ files, articles, READMEs, or technical writing.

03 SKILL.md 正文

Edit Document

Distinct from write-document: Use this skill when the document already exists and needs restructuring, clarity, or prose improvements. Use write-document to create a document from scratch.

HARD GATE — Document edits must preserve intent and accuracy. Do NOT remove or contradict existing content without understanding why it was written. Check git history for context.

Process

  1. First, divide the document into sections based on its headings. Think about the main points made in each section.

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.

  1. For each section:

2a. Rewrite the section to improve clarity, coherence, and flow. Use maximum 240 characters per paragraph.

04 同仓库更多 Skills