better-writing
它能做什么
这个技能撰写并审阅应用内的文字,例如标签、错误信息和确认提示。适合希望文字清楚、并与现有语气一致的产品团队。
适用场景
- ✓当按钮标签、错误信息或空状态需要更清楚的措辞时。
- ✓当产品中同一件事物被称为不同名称的时候。
- ✓当你希望文案能告诉人们下一步该做什么的时候。
技能链接
https://github.com/jakubkrehel/skills/blob/main/skills/better-writing/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请审阅我们注册流程中的错误信息,并重写任何会让人卡住的内容。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会找到文案所在的位置,阅读周围的文字,然后列出每个对象和操作所使用的术语。新文案会使用相同的术语,并且每条信息都给出清楚的下一步。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Writing
This skill writes and reviews interface copy such as labels, errors, empty states and confirmations, along with the terms that run through them. It matches the product's existing voice and flags copy that misleads people or leaves them without a way forward.
A deliberate brand voice is not a defect. Raise a departure from plain language only when it creates inconsistency, ambiguity, translation risk or a tone the stakes don't support. Rewording that merely suits your taste is not a finding.
How copy renders, including text-transform, truncation and smart punctuation, belongs to better-typography. Error markup, announcements and the attributes that carry accessible names belong to better-accessibility. Room for translated strings belongs to better-layout.
Inventory the existing strings first
Before writing or reviewing, find where the copy lives and read the copy around the change:
- Search for the translation call (
t(,i18n.,<FormattedMessage,$t() and the locale files it reads, such aslocales/**/*.json,messages/*.json,*.poand*.strings. Copy may also come from a CMS or the API. - List the noun used for each object and the verb used for each action, as in "project" or "workspace" and "Delete" or "Remove".
- Note the case used per element type and any voice or content style guide.
New copy uses the terms on that list. A synonym is a finding only where the same thing is named two ways.
One voice, one vocabulary
The product has one voice and its existing copy establishes it. A local edit does not get to invent a new one. If it's "Archive" in the menu, it isn't "Move to storage" in the toast.
A multi-step flow uses one vocabulary throughout: "Get started" to enter, either "Continue" or "Next" to advance, "Done" to finish. Tone flexes with the stakes:
| Context | Tone |
|---|---|
| Success, onboarding, empty states | Warm, can be light |
| Routine actions, settings | Neutral, minimal |
| Errors, destructive confirmations | Calm, plain, zero playfulness |
| Data loss, security | Serious, explicit |
Address the reader directly
In instructional copy, write "you", not "the user". In errors, "we" reads as deflection, so prefer "Unable to load content. Check your connection and try again." An established first-person voice can stay in low-stakes copy where it still reads clearly.
Use possessives sparingly: "Favorites" beats "Your favorites". Never mix perspectives in one flow, such as "My account" beside "Your settings".
Plain words over clever ones
Choose words a tired reader gets on the first pass, and delete every word that does no work. No idioms, no colloquialisms and no humor that won't translate.
Skip unnecessary gender: "Subscribers can post recipes", not "each subscriber can post his or her recipes". Match the input device: "tap" on touch, "click" with a pointer, "select" when both are possible.
Build strings whole
Never assemble a sentence from fragments around a variable ("You have " + n + " new messages"), because word order changes per language. Write one message with placeholders, and use the locale's plural rules rather than n === 1 ? "" : "s". Many languages have more than two plural forms. Format numbers, dates and lists through Intl. Recipes are in patterns.md.
Verb-first buttons
A button label starts with a verb naming the action: "Send", "Save draft", "Delete project". Never "OK!" or "Let's go!".
An icon-only button's accessible name follows the same rule. It names the action, "Delete project", never the glyph, "Trash icon". The attribute that carries it is better-accessibility's.
Links describe their destination
Link text makes sense out of context, because screen-reader users navigate by a list of the page's links. Write "Read the billing docs", never "Click here".
A bare "Learn more" breaks down as soon as two appear on one page. Suffix each one: "Learn more about exports".
One capitalization policy
Pick title case or sentence case per element type, then apply it to every instance of that type. Sentence case is the default where the project has no policy. "Save Changes" beside "Discard changes" reads as sloppiness.
Settings describe the ON state
Label a toggle for what happens when it is on. "Send read receipts" lets users infer the off state; "Don't send read receipts" turns the toggle into a double negative.
Link straight to a referenced setting rather th
常见问题
它会改变我们的品牌语气吗?
不会。刻意设定的品牌语气会被保留,除非它造成混淆或误导人。
它会考虑翻译吗?
会。它会考虑翻译风险,并保持各字符串之间的措辞一致。
它会处理无障碍标签吗?
无障碍名称和播报属于无障碍技能的职责范围,而措辞本身由本技能处理。
详情
作者的原始描述
Writes and reviews interface copy, from labels and errors to empty states and confirmations, so it matches the product's voice and tells people what to do next.
repo: jakubkrehel/skills
热度
- GitHub 星标
- 10k
- 排名
- #11890
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …