用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Objective-Arts/lens-dist --skill brevity命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | brevity |
| description | Elements of Style - omit needless words, use active voice |
Apply the timeless rules from Strunk & White's compact masterpiece to make technical writing clear and forceful.
"Vigorous writing is concise. A sentence should contain no unnecessary words, a paragraph no unnecessary sentences, for the same reason that a drawing should have no unnecessary lines and a machine no unnecessary parts."
The single most important rule. Every word must earn its place.
| Wordy | Concise |
|---|---|
| "He is a man who" | "He" |
| "This is a subject that" | "This subject" |
| "The reason why is that" | "Because" |
| "The fact that he had arrived" | "His arrival" |
| "In a hasty manner" | "Hastily" |
| "Used for fuel purposes" | "Used for fuel" |
| "Whether or not" | "Whether" |
The active voice is direct and vigorous. The passive is weak and evasive.
Passive (avoid):
The configuration file is read by the parser.
The exception was thrown by the validation module.
It was decided that the feature would be deprecated.
Active (prefer):
The parser reads the configuration file.
The validation module threw the exception.
We deprecated the feature.
When passive is acceptable:
Say what something IS, not what it ISN'T.
| Negative | Positive |
|---|---|
| "He was not very often on time" | "He usually came late" |
| "Did not remember" | "Forgot" |
| "Did not have much confidence in" | "Distrusted" |
| "Not allowed" | "Prohibited" |
| "Does not have" | "Lacks" |
| "Not the same" | "Different" |
Vague:
A period of unfavorable weather set in.
Specific:
It rained every day for a week.
In code documentation:
Vague:
// Handle the error appropriately
Specific:
// Retry 3 times with exponential backoff, then throw
The end of a sentence carries weight. Put important information there.
Weak:
Humanity has hardly advanced in fortitude since that time, though in many other ways it has made great progress.
Strong:
Since that time, humanity has advanced in many ways, but not in fortitude.
Before:
/**
* This function is responsible for the process of
* taking a string as input and returning a version
* of that string that has been converted to uppercase.
*/
function toUpperCase(str) { ... }
After:
/**
* Convert string to uppercase.
*/
function toUpperCase(str) { ... }
Before:
It is not possible for the operation to be completed
at the present time due to the fact that insufficient
permissions have been granted.
After:
Permission denied.
Before:
This endpoint can be used for the purpose of retrieving
a list of all users that are currently registered in
the system's database.
After:
Returns all registered users.
Bad: "User authentication token validation failure" Good: "Failed to validate the user's authentication token"
Bad: "Perform an implementation of" Good: "Implement"
Bad: "Make a modification to" Good: "Modify"
Bad: "There are three parameters that must be passed" Good: "Pass three parameters"
Bad: "It is necessary to restart the server" Good: "Restart the server"
| Instead of | Write |
|---|---|
| "The question as to whether" | "Whether" |
| "There is no doubt but that" | "Doubtless" |
| "Used for X purposes" | "Used for X" |
| "He is a man who" | "He" |
| "In a careful manner" | "Carefully" |
| "This is a topic that" | "This topic" |
| "The reason is because" | "Because" |
| "Owing to the fact that" | "Since" |
| "In spite of the fact that" | "Although" |
| "Call your attention to the fact that" | "Remind you" |