technical-writing
Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for /technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.
1How It Works & Mechanism
Stasks four writing standards with one question per layer: Document type (Diátaxis) → Audience-oriented sentences (Google developer style) → Single-sentence payload (STE) → Disambiguation (Global English), progressively narrowing down to 'instantly clear at first read'.
The goal is writing a tired engineer understands on the first read. Four layers get you there, one question each: what kind of document is this, how do sentences address the reader, how much does each sentence carry, and can any sentence be read two ways. Apply all four.
Establishes three overriding general rules atop the layers: delete functionless words, use short and common words, and when a rule degrades a sentence, rewrite the sentence rather than stubbornly enforcing the rule—rules serve the reader rather than sounding machine-written.
- **Cut every word that does no work.** If the sentence survives without a word, the word goes. "In order to" is "to". "It is important to note that" is nothing.
Diátaxis mode triage: Classify every document into one of tutorial/how-to/reference/explanation using two questions: 'Guiding action or building understanding × Serving learning or working'; mixing modes is forbidden, and cross-mode content must be split via links.
One document, one mode. Two questions pick it: does the content inform action (doing) or understanding (thinking), and does it serve learning or work?
The sentence-level rules directly incorporate three external standards with their sources and fetch dates recorded in the body: Google developer style (developers.google.com/style), STE controlled language (asd-ste100.org Issue 9 2025), and Global English (Kohl, SAS Press—transcribed via Internet Archive and SAS sample chapters); all fetched at writing time, not via runtime calls.
Source: diataxis.fr, fetched 2026-07-18.
Repository vocabulary discipline: 'The codebase is the vocabulary'—write actual symbol/file/command names and forbid invented jargon or metaphors; when a new prohibited word is identified, do not directly edit unslop, but instead propose the 'prohibited word → replacement' alongside a diff in the response.
The codebase is the word list. Write the real symbol, file, flag, or command name, not a synonym or a description of it.
Hard-binds with unslop and expands coverage: any document touched by this skill must pass through unslop (a catalog of AI tone, filler words, and formatting tells); PR descriptions and commit messages are also writing targets (all layers apply except Diátaxis).
- Apply the **unslop** skill to every doc this skill touches. That skill owns the slop-pattern catalog: AI vocabulary, filler, hedging, formatting tells.
Provides worked examples (Before/After rewriting demonstrations) and an 8-item review checklist to operationalize abstract standards into directly actionable acceptance questions; declarative rules require that 'numbers, paths, and counts must be true against the landing commit, accompanied by reproducible commands.'
Make every count or tree claim true at the commit that lands it, and include the command that regenerates it.
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| network | 内容来源引用(撰写期抓取的知识来源,非运行时调用):diataxis.fr |
| network | 内容来源引用(非运行时调用):developers.google.com/style |
| network | 内容来源引用(非运行时调用):asd-ste100.org(STE 规范 Issue 9, 2025) |
| network | 内容来源引用(非运行时调用):Kohl《The Global English Style Guide》(SAS Press,经 Internet Archive/SAS 样章转写) |
4Recommended Governance & Evidence
- SKILL.md: Pure prompt instructions and rule text, without script execution or external impact
5Second-Pass Verification
- [ok] 单文件零资产 — 技能目录仅 SKILL.md(含隐藏文件 glob 确认),无 references/scripts/data。
- [ok] 四层标准与 description 对应 — 正文标题/内容与 description 四层(Diátaxis structure / Google developer style sentences / STE instruction rules / Global English syntax)一一对应;每层均给独立规则块与来源行。
- [ok] 来源引用为静态文字、非运行时调用 — 4 处 'Source: … fetched 2026-07-18.' 均为引用标注;无 urlopen/curl/requests 等运行时拉取代码。
- [ok] 规则内容与所引规范一致(抽样) — Google style 段 'Talk to the reader as "you", in the present tense.'、STE 段 'Split instructions longer than about 20 words and other sentences longer than about 25.'、Global English 段 'Break up long noun strings' 等与规范主旨相符;并如实声明 STE 只转写可迁移核心、完整规则在 PDF。
- [ok] unslop 联动指向真实资产 — pstack/skills/unslop/SKILL.md 存在(glob 确认);SKILL.md 明确 'That skill owns the slop-pattern catalog'——职责划分与仓库结构一致。
- [ok] 无运行时 IO/凭证/写入 — token 扫描仅命中来源标注行;全文无 shell/网络/文件命令。
- [ok] 夸大检查 — 'writing a tired engineer understands on the first read' 是质量标准陈述而非可测功能承诺;worked example 与 checklist 均可直接执行,无越界承诺。
- [ok] license/stars/commit 元数据 — GitHub API:cursor/plugins stars 7221、pushed_at 2026-09-09T08:18:30Z、license null(仓库根);pstack/LICENSE 为 MIT(Copyright (c) 2026 Lauren Tan);本地 git HEAD == pin df3fb154fb982fb83f649de8646d4af6a0cb16b3。
6Verdict & Scenarios
bf0a9d23048af4b7…