Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install clear-writing或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install clear-writing⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/clear-writing/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: clear-writing model: standard version: 1.0.0 description: > Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists. tags: [writing, documentation, style, technical-writing, prose] ---
Write with clarity and force. This skill covers what to do (Strunk's rules), how to structure technical documentation (Divio patterns, templates), and what not to do (AI anti-patterns, doc anti-patterns).
Use this skill whenever you write prose for humans:
If you're writing sentences for a human to read, use this skill.
When context is tight:
Loading a single reference (~1,000–4,500 tokens) instead of the full skill saves significant context.
William Strunk Jr.'s The Elements of Style (1918) teaches you to write clearly and cut ruthlessly.
Elementary Rules of Usage (Grammar/Punctuation):
Elementary Principles of Composition:
For complete explanations with examples:
| Section | File | ~Tokens | |---------|------|---------| | Grammar, punctuation, comma rules | references/elements-of-style/02-elementary-rules-of-usage.md | 2,500 | | Paragraph structure, active voice, concision | references/elements-of-style/03-elementary-principles-of-composition.md | 4,500 | | Headings, quotations, formatting | references/elements-of-style/04-a-few-matters-of-form.md | 1,000 | | Word choice, common errors | references/elements-of-style/05-words-and-expressions-commonly-misused.md | 4,000 |
Most tasks need only 03-elementary-principles-of-composition.md — it covers active voice, positive form, concrete language, and omitting needless words.
LLMs regress to statistical means, producing generic, puffy prose. Avoid:
Be specific, not grandiose. Say what it actually does.
For comprehensive research on why these patterns occur, see references/signs-of-ai-writing.md. Wikipedia editors developed this guide to detect AI-generated submissions — their patterns are well-documented and field-tested.
| Type | Purpose | Structure | |------|---------|-----------| | README | First impression, project overview | Title, description, quick start, install, usage | | Tutorial | Learning-oriented, guided experience | Numbered steps with expected outcomes | | How-to Guide | Task-oriented, solve a specific problem | Problem statement → steps → result | | Reference | Information-oriented, complete and accurate | Alphabetical or grouped, consistent format | | Explanation | Understanding-oriented, context and rationale | Narrative prose, diagrams, history | | Architecture Doc | System design, component relationships | Context → components → data flow → decisions | | API Documentation | Endpoint contracts, integration guide | Endpoint → params → request → response → errors |
Lead with the most important information. Each subsequent section adds detail.
1. What it does (one sentence)
2. How to use it (quick start)
3. Configuration options
4. Advanced usage
5. Internals / implementation details
1. Problem — what goes wrong, symptoms, error messages
2. Cause — why it happens (brief)
3. Solution — step-by-step fix
4. Prevention — how to avoid it in the future
Every step is a single action with a verifiable outcome.
1. Step — one action, one verb
Expected result: what the reader should see
2. Step — next action
Expected result: confirmation of success
| Rule | Guideline | Example | |------|-----------|---------| | Short sentences | Keep under 25 words | "The server restarts automatically after config changes." | | Active voice | Subject does the action | "The function returns a promise" not "A promise is returned" | | Present tense | Describe current behavior | "This endpoint accepts JSON" not "will accept JSON" | | One idea per paragraph | Each paragraph has one point | Split compound paragraphs at the topic shift | | Define jargon on first use | Never assume vocabulary | "The ORM (Object-Relational Mapper) translates..." | | Second person | Address the reader directly | "You can configure..." not "One can configure..." | | Consistent terminology | Pick one term and stick with it | Don't alternate between "repo" and "repository" | | Concrete over abstract | Specifics beat generalities | "Returns a 404 status code" not "Returns an error" |
Every code example must follow these rules:
# Good: complete, annotated, minimal
import httpx
# Create a client with a base URL to avoid repeating it
client = httpx.Client(base_url="https://api.example.com")
# Fetch a user by ID — returns a User dict or raises for 4xx/5xx
response = client.get("/users/42")
response.raise_for_status()
user = response.json()
print(user["name"]) # "Ada Lovelace"
# Project Name
One-line description of what this project does and who it is for.
## Quick Start
The fastest path from zero to working. Three commands or fewer.
## Installation
Prerequisites, system requirements, and step-by-step install.
## Usage
Common use cases with code examples. Cover the 80% case.
## API
Public API surface — functions, classes, CLI flags, endpoints.
## Configuration
Environment variables, config files, and their defaults.
## Contributing
How to set up the dev environment, run tests, and submit changes.
## License
License name and link to the full LICENSE file.
README rules:
...
安装 Clear Writing 后,可以对 AI 说这些话来触发它
Help me get started with Clear Writing
Explains what Clear Writing does, walks through the setup, and runs a quick demo based on your current project
Use Clear Writing to write clear, concise prose for humans — documentation, READMEs, API...
Invokes Clear Writing with the right parameters and returns the result directly in the conversation
What can I do with Clear Writing in my documents & notes workflow?
Lists the top use cases for Clear Writing, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/clear-writing/ 目录(个人级,所有项目可用),或 .claude/skills/clear-writing/(项目级)。重启 AI 客户端后,用 /clear-writing 主动调用,或让 AI 根据上下文自动发现并使用。
Clear Writing 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Clear Writing 可免费安装使用。请查阅仓库了解许可证信息。
Write clear, concise prose for humans — documentation, READMEs, API docs, commit messages, error messages, UI text, reports, and explanations. Combines Strunk's rules for clearer prose with technical documentation patterns, structure templates, and review checklists.
Clear Writing 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Clear Writing
Identifies repetitive steps in your workflow and sets up Clear Writing to handle them automatically