doc-standards

Solid

Documentation writing-quality standards — controlled language (ASD-STE100), Google/Microsoft style guide rules, ISO 24495 plain language, AI/agent readability (llms.txt, self-contained sections), and a machine-checkable lint gate. Use whenever writing or reviewing ANY documentation prose — README, API reference, tutorial, how-to, changelog, error message, code comment blocks, llms.txt — even if the user only says "write docs", "document this", "improve the README", "docs smell like AI", or "make the docs clearer". Structure/coverage questions (which doc types exist) belong to a Diátaxis-structure skill if one is installed; THIS skill governs how each sentence and section is written, and provides the lint gate to verify it.

AI & Automation 8 stars 1 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
32
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# doc-standards — write documentation that survives translation, retrieval, and skepticism Documentation written by an LLM has a smell: elegant-variation synonyms, subordinate clauses, filler, hedging. The fix is not "write better" — it is adopting the constraints professional documentation systems already use. This skill stacks five criteria layers, from structure down to the word, and ends in a machine gate. ## The five layers | Layer | Question it answers | Source standard | |-------|--------------------|-----------------| | 1. Structure | Which document am I writing, for whom? | Diátaxis + ISO 24495 | | 2. Controlled language | Is each sentence unambiguous? | ASD-STE100 | | 3. House style | Is it consistent with developer-docs convention? | Google / Microsoft style guides | | 4. AI readability | Can an agent retrieve and use each section alone? | llms.txt + retrieval practice | | 5. Verification | Can a machine confirm 2–4? | Vale / bundled checker | ## Workflow ### 1. Structure first (delegate, don't duplicate) Classify the document before writing a word: **tutorial, how-to, reference, or explanation** (Diátaxis). Each has a different contract with the reader — a tutorial promises safe success, a reference promises completeness, a how-to promises a working result, an explanation promises understanding. Mixing them is the #1 structural defect. - Generating new docs or auditing coverage → if a Diátaxis-structure skill is installed (for example gstack's `document-g...

Details

Author
JuanMarchetto
Repository
JuanMarchetto/doc-standards-skill
Created
4 days ago
Last Updated
4 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

writing-docs

Use when writing, restructuring, or reviewing any prose documentation — a tutorial, how-to guide, reference page, or explanation/conceptual doc — for a public docs site (e.g. Mintlify MDX, docs/, README material), a getting-started guide, an API/CLI reference page, or a "why we built it this way" conceptual page. Applies the Diátaxis framework (see https://diataxis.fr/) — every document belongs to exactly one of the four quadrants (tutorial / how-to guide / reference / explanation), and mixing quadrants inside one document is the single most common documentation failure. Covers the four-quadrant compass for picking the right form, per-quadrant structure templates, an anti-pattern list for quadrant drift, and generic voice/craft rules — repo-specific voice and target output format (e.g. Mintlify MDX) are resolved from the repo's docs-manifest (falling back to project-context), never hardcoded here.

3 Updated today
whimzyLive
AI & Automation Solid

knowledge-doc-writing

把自學或研究一個技術主題的成果,整理成一份包含四個清楚分離 Diátaxis 區塊的知識文件——tutorial(帶著上手)、 how-to(照著完成任務)、reference(查參數與結構)、explanation(What/Why 論述與取捨決策);用 compass 兩問把每段素材路由到對應區塊,素材撐得起才寫,撐不起的型(研究過但未實作常缺 tutorial/how-to)明列為缺口, 不捏造、不搭空殼(繁體中文為主、術語保留英文)。觸發:使用者要把對話紀錄、官方文件或原始資料、或從零研究的主題 (強制查一手來源並標 as-of 時效)消化成可長期參考的技術文件;或改寫一份既有技術文件——依意圖分流: 更新時效/��入新素材→定點修補保留原形,重整/重構→依 compass 重建四型區塊。可接在 learn-loop 之後: learn 管互動學習迴圈與親手 distillation(鐵律:distillation 是學習本身,不代寫), 本 skill 只接手 distill 完成後重新組織、補讀者上下文、套完稿檢查。不要用於:公司內部簽呈/會議紀錄/ 評估報告等行政文件(用 formal-doc-structure,即使輸入是既有文件也不因此轉入本 skill)、RFP/招標規格 (用 rfp-writing)、部落格文章(用 blog-writing-zh)、只做語言層去 AI 味不動結構(用 avoid-ai-writing-zh)、 只要口頭白話解釋不產文件(用 plain-speak)、learn 的互動學習迴圈本身(用 learn-loop)。

0 Updated 6 days ago
leoluyi
AI & Automation Listed

docs-writing

Writes and audits technical documentation using Diataxis, Stripe-style clarity, and the Eight Rules. 52 rules across 9 categories covering voice, structure, clarity, code examples, formatting, navigation, scanability, content hygiene, and review. Use when writing docs, creating READMEs, documenting APIs, writing tutorials, building a docs site, auditing documentation quality, or asking "review my docs", "improve this documentation", or "write docs for this".

1 Updated 3 days ago
NafisRayan