writing-documentation
Skill0 starsChanged 8 days agoMITView on GitHub
Write or restructure technical documentation of any kind, anywhere — a wiki or Obsidian note, a repository's docs/ or README, a Confluence page, a design doc. Use WHENEVER the user asks to "create proper documentation", "document this", "restructure this", "make this a real doc", "split this up", "write a guide/SOP/runbook/reference for X", or names diataxis.fr or ASD-STE100. Covers splitting a mixed-purpose document into a Diátaxis set, house writing style, generating per-item reference documents, surfacing contradictions in the source, and the verification that proves no fact was lost.
16 other projects use a version of this.
Adopted by
Most recently taken up by
- gerrymanoim/exchange_calendarstheir own version, first seen Nov 30, 2026
- pvliesdonk/markdown-vault-mcptheir own version, first seen Nov 25, 2026
- rkaliev/eng-kittheir own version, first seen Nov 22, 2026
- adelrodriguez/skillstheir own version, first seen Nov 15, 2026
- gerardbalaoro/skillstheir own version, first seen Nov 1, 2026
- pvliesdonk/paperless-mcptheir own version, first seen Nov 1, 2026
Used with
Projects with it also use authoring-issues-prs, config-contract and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pvliesdonkSkillauthoring-issues-prs
Use when filing a bug, opening or creating a GitHub issue, drafting an epic or ticket, writing up a finding or review observation worth tracking, sizing a change before coding, or opening a pull request for this repository. Routes the change to the right repo first (library / template / domain), picks the right issue form, sizes the change to one PR, links epic children as native sub-issues, and applies CONTRIBUTING.md before anything is posted.
Also in 3 projects that use this
pvliesdonkSkillconfig-contract
Use when adding a domain configuration field, env var, Dockerfile extension, mcpb install-screen entry, or release-manifest stamp: the sentinel-based config and customization contract.
Also in 3 projects that use this
zpower426Skillroadmapping
Communicate the product evolution timeline and key milestones, balancing long-term goals with short-term delivery.
Also in 3 projects that use this
quocldSkilllogging-standard
Use when writing or reviewing code that logs, when creating or changing a logger, request or job correlation, or log redaction, and when the user says "setup log", "setup logger", "thêm log", "chuẩn hoá log", "log bị lộ token", "log quá nhiều", "review log".
Also in 3 projects that use this
MicrosoftSkillwriting-release-notes
Generates release notes and changelog entries for the DocumentDB extension for Visual Studio Code, and announces releases on GitHub Discussions. Use when preparing version releases, creating patch update notes, writing changelog entries, documenting new features and fixes, or posting a release or patch release announcement to Discussions. Handles both major/minor versions (new file) and patch updates (append to existing file).
Also in 3 projects that use this
jordanhubbardSkillreleasing
Cut a NanoLang release. Defines the ordered gates, and indexes the child skills that own each one. Use before running make release, make release-minor, or make release-major, and whenever a release is being prepared by hand.
Also in 3 projects that use this
- +6 more from pvliesdonk
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- TriliumNext/Trilium★ 39ksame name
- rapidaai/voice-ai★ 762same name
- gerrymanoim/exchange_calendars★ 695same name
- PrefectHQ/fastmcp-ts★ 98same name
- pvliesdonk/markdown-vault-mcp★ 42same name
- nilecui/SkillsBase★ 27same name
- pvliesdonk/scholar-mcp★ 3same name
- theperrygroup/Follow-Up-Boss-MCP★ 2same name
- adelrodriguez/skills★ 1same name
- alexisbeaulieu97/agent-skills★ 1same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
If the project has its own documentation conventions — a CONTRIBUTING.md, a template directory, a house style guide, a skill of its own — …
- Distinctive: line 76
Read the target document in full, plus every guideline the user named.
- Distinctive: line 80
Ask the structural question (ground rule 2).
- Very specific: line 86
Verify: scripts/linkcheck.py, then scripts/factdiff.py.
- Very specific: line 87
If the work has an audience, publish it — see shaping-a-set.md, Audience.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Writing documentation
Overview
Documents rot in one specific way. A document starts as a spec, absorbs findings, grows a rollout plan, and ends up serving four purposes at once. Nobody can maintain it, because any edit serves one purpose and damages another.
So the job is usually not "write a new document". It is splitting one document by purpose, without losing a fact and without breaking a single inbound link.
The craft below is the same everywhere. Four things change with the target — link syntax, front matter, where each kind of document lives, and which checker runs. Those live in references/targets.md. Identify the target before writing, and read its section.
The model is Diátaxis: tutorial, how-to, reference and explanation are four different documents, not four sections of one.
The rest of the approach — one goal per document, be explicit, do not assume, cover the gotchas, and duplicate freely between documents — comes from Technical documentation: my personal framework for a better guide.
When to use
- Any request to document, restructure, split or rewrite something.
- Writing a new guide, SOP, runbook, reference or design document.
- Producing a summary of technical work for an audience.
If the project has its own documentation conventions — a CONTRIBUTING.md, a
template directory, a house style guide, a skill of its own — those win. This
skill fills the gaps and never overrides them.
Ground rules
- Identify the target first, then read its section of references/targets.md. Link syntax and placement are not guessable, and getting them wrong breaks links silently.
- Ask the structural question before writing anything. Splitting into a set, restructuring one document, or flat siblings are materially different deliverables, and the user is the only one who can choose. references/shaping-a-set.md.
- The original document keeps its path and becomes the hub. Inbound links
point at it. Find them (
grep -rl) before touching anything, and nevermvthe file you were pointed at. - Never number sections. No
## 1. Foo, no§4cross-references. Link to the named heading instead. Numbers cannot survive a split, and renumbering on every insertion is churn nobody reviews. - No hard line wrapping, unless the target's own tooling enforces a width. One paragraph is one physical line: it keeps diffs readable, because an edit touches one line rather than reflowing a paragraph.
- No diagram where a list will do. A sequence, a hierarchy, a mapping and a set of conditions are all lists or tables. Reserve diagrams for structure a list genuinely cannot express — expect that to be rare.
- Surface contradictions in the source; never resolve them silently. A long document usually disagrees with itself in two or three places. Write the entry that works, and flag the choice in place as unresolved.
- Verify before reporting. Links and facts, every time: references/verification.md.
Workflow
- Read the target document in full, plus every guideline the user named.
- Identify the output target and read its section of
targets.md. - Classify each section by Diátaxis mode. Note where the source contradicts itself — that list is a deliverable in its own right.
- Ask the structural question (ground rule 2).
- Shape the set and place each part (references/shaping-a-set.md).
- Draft in house style (references/house-style.md). Generate any per-item reference document from a data table with a script, never by hand.
- Verify:
scripts/linkcheck.py, thenscripts/factdiff.py. Fix, re-run. - If the work has an audience, publish it — see
shaping-a-set.md, Audience.
A full run is in references/worked-example.md.
Common mistakes
| Rationalization | Reality |
"I'll name the parts Audit findings.md — the folder gives context" | In a wiki, links resolve by basename across the whole tree, so a generic name is ambiguous the moment a second one appears. It also reads as noise in backlinks. Prefix every part. |
| "Moving the document into the new folder is tidier" | It breaks every inbound link. The original path is the hub. grep -rl for inbound links before touching anything. |
| "Section numbers help the reader navigate" | Numbers cannot survive a split: §4 means nothing once §4 is a different file. Link to named headings. |
| "Show, don't tell — add a diagram" | In the worked example, six diagrams were written and all six were removed as redundant with the list above them. Write the list first; reach for a diagram only when it fails. |
| "The style guide says compress" | Readability outranks rule compliance, and detail preservation outranks both. A rule that costs the reader a fact has been misapplied. |
| "The design says X, so I'll write X" | Writing the per-item entries is what exposes a self-contradicting source. Flag it, don't paper over it. |
| "It's a proposal, so I'll write the how-tos as if it were live" | Mark target-state procedures with a callout naming the step they depend on. Never imply an unbuilt system works. |
| "The links look fine" | Run the checker. Heading anchors break silently when you reword a heading. |
Red flags — stop
- You do not know which target the output is for.
- You are about to write a second document without having asked the structural question.
- You are about to hand-write more than about five near-identical entries. Generate them from a data table instead.
- You are about to report the work complete without having run both scripts.
- You are about to
mvor rename the document you were pointed at.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

