Internal Docs
ASecurityDocumentation written for colleagues rather than customers — runbooks and operational procedures, SOPs and process docs, incident postmortems, onboarding, internal reference and policy pages, and decision records. Covers why internal docs fail (no owner, no review date, undiscoverable, quietly wrong), the skeleton for each type, confidentiality rules, and retiring content. Use on "runbook", "postmortem", "incident review", "SOP", "process doc", "internal wiki", "onboarding doc", "knowledge ba...
- 3 stars
- 0 votes
- 0 copies
- 0 views
- Added November 23, 2026
Works with
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add Timonwa/writing-skills --skill internal-docs --agent claude-codeAre you the author of Internal Docs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/timonwa-internal-docs)---
name: internal-docs
description: >-
Documentation written for colleagues rather than customers — runbooks and operational procedures, SOPs and process docs, incident postmortems, onboarding, internal reference and policy pages, and decision records. Covers why internal docs fail (no owner, no review date, undiscoverable, quietly wrong), the skeleton for each type, confidentiality rules, and retiring content. Use on "runbook", "postmortem", "incident review", "SOP", "process doc", "internal wiki", "onboarding doc", "knowledge base", "decision record".
---
# Internal documentation
Documentation for colleagues rather than customers. The writing discipline is the same; four things about the situation are different, and they decide almost everything:
- **The reader can ask someone instead.** Internal docs compete with a message to a colleague, and lose unless they're faster. A doc that's slower to use than asking will not be used.
- **Nobody is accountable by default.** Customer docs have an owner because they're a product surface. Internal docs are written by whoever was closest and then belong to no one.
- **Wrong is worse than missing.** A stale customer doc produces a support ticket. A stale runbook produces an incident, and a stale process doc produces work done incorrectly by someone who did exactly what they were told.
- **Confidentiality is a live constraint.** What can be written down, and where, is a real question with real answers.
## Voice and audience come from the writing's own guide
Before writing an internal doc, find the project's style guide and conventions and read them:
- **In a codebase:** the style guide and conventions the project's `AGENTS.md` names, or its contributing docs.
- **In a chat app:** the style guide in the project's files (a Claude Project's knowledge, or the equivalent elsewhere), or attached to the conversation.
- **Otherwise:** ask whether one exists before concluding there isn't one.
Voice, person, tone, terminology and formatting come from that guide. Where it settles something this skill also covers, the guide wins; where it's silent or there isn't one, `tw:docs-standards` applies without asking.
## Ask first
Read the answers from the request, the existing doc and the project first; ask only what's missing. Ask with the app's question tool where it has one, so the choices can be picked; otherwise as a numbered list answered by number. Offer choices where the answers are known and a short typed answer otherwise.
1. **Which type?** Runbook · postmortem · SOP or process doc · onboarding · decision record · internal reference or policy.
2. **Who uses it, and in what situation?** A short answer — the on-call engineer at night, a new joiner on day one.
3. **What starts it?** The alert or symptom (runbook) · the incident (postmortem) · the trigger (SOP) · the role and start date (onboarding) · the decision and the next record number (decision record).
4. **Where does the knowledge come from?** A person to capture it from · a task or incident just done · an existing doc to restructure · notes in hand.
5. **Who owns it, and how often is it reviewed?** A role or team; quarterly · yearly · after every use. Default: quarterly for runbooks, yearly for policy and reference.
6. **Where does it live, and who may read it?** The tool or path; the organisation's classification level.
## Every internal document carries its metadata
This is the difference between a knowledge base and a graveyard. Every document states, where a reader sees it immediately:
- **Owner** — a named role or person accountable for it being right. A team name is acceptable; blank is not.
- **Last reviewed** — the date someone last confirmed it's still true, which is not the date it was last edited.
- **Review cadence** — how often that has to happen, chosen from how fast the underlying thing changes. Common practice: quarterly for runbooks and on-call docs, with a scheduled dry run; yearly for policy and reference pages; and immediately after any incident the document was used in.
- **Status** — current, draft, or superseded, with a link to whatever replaced it.
Where the platform can surface stale docs automatically, recommend setting that up; where it can't, a periodic sweep of last-reviewed dates is the minimum.
## Make it findable
An internal doc that can't be found is worse than none, because the effort was spent and the person still asks.
- **Title it the way someone would search for it under pressure** — the problem or the task, in the words used out loud. "Database failover" beats "Postgres HA procedures v2".
- **One home per topic.** Internal docs sprawl across every tool an organization has bought. Decide where each kind lives and link from everywhere else rather than copying.
- **Link it from where the work happens** — the alert that fires, the ticket template, the repository, the channel topic, the calendar invite. The document has to meet people where they already are.
- **Answer the frequent question once, publicly, then link the answer.** A question that keeps being answered in messages belongs in a document.
## The types and their skeletons
Each type below has a fill-in template, with the metadata block on top, in [references/templates.md](references/templates.md). Start every new document from its template.
### Runbook — an operational procedure
Written for someone who is not the expert, executing under pressure, possibly at night. Prose is a defect in a runbook.
- **When to use this runbook** — the symptom or trigger, stated as the reader sees it.
- **Before you start** — the access, credentials, tools and permissions needed, each checkable. Someone discovering mid-incident that they lack access is the most common runbook failure.
- **Numbered steps**, one action each, with the exact command or click, and **what you should see after it** so the reader knows whether to continue.
- **Decision points** as explicit branches: "if X, go to step 7; otherwise continue."
- **How to verify it worked**, concretely.
- **How to roll back**, or the statement that you can't.
- **When to escalate, and to whom** — a role and a channel, not a person who may have left.
- **Known failure modes** and what each means.
### Postmortem — what happened in an incident, and what changes
Written after an incident, for the people who'll prevent the next one. **Blameless**: it identifies "the contributing causes of the incident without indicting any individual or team", on the understanding that people acted in good faith with what they knew ([Google SRE](https://sre.google/sre-book/postmortem-culture/)).
- **When to write one** — agree the triggers in advance: user-visible downtime or degradation past a threshold, any data loss, an on-call intervention such as a rollback, resolution taking longer than a threshold, or monitoring that failed to catch it (same source).
- **Summary and impact** — what happened, who was affected, for how long, in numbers.
- **Timeline** — detection, response, mitigation and resolution, with times and the time zone.
- **Contributing causes** — the conditions in the system and process that let it happen, rarely just one.
- **What went well, what went badly, where we got lucky.**
- **Action items** — each with an owner, a priority and a due date, filed in the team's tracker so they can't quietly lapse.
- **Review** — "An unreviewed postmortem might as well never have existed" (same source). Hold the review, close the discussion, then publish it where others can learn from it.
### Process doc or SOP — how work gets done
- **What triggers it** and who is responsible for starting it.
- **Who does what** — roles, and where approval is needed.
- **The steps in order**, with what goes in and what comes out of each.
- **Timing** — how long steps take and any deadlines.
- **Exceptions** — the cases this doesn't cover and who decides those.
- **Who to ask** when it doesn't fit.
### Onboarding — getting someone productive
- **Sequenced, not a pile of links.** Day one, first week, first month, with each stage building on the last.
- **Access and accounts first**, as a checklist, because everything is blocked on them.
- **"You're done when…"** for each stage — something observable, like a change shipped or a task completed.
- **Distinguish read-this-now from read-this-eventually.** A new joiner handed forty links reads none.
- **Name the people** — who to ask about what, and who to go to when they don't know who to ask.
### Decision record — why something is the way it is
The document that saves the most future time, and the one most often skipped. It has an established form — the Nygard template, collected with variants at [adr.github.io](https://adr.github.io/) — so follow that rather than inventing one. For records kept as Markdown files beside the code, MADR (Markdown Architectural Decision Records) is the widely used template: Context and Problem Statement, Decision Drivers, Considered Options, Decision Outcome and Consequences ([MADR](https://adr.github.io/madr/)). ISO/IEC/IEEE 42010 suggests a fuller set of items if you need one.
- **A number and a title** — sequential (`0001`, `0002`), so a record can be cited by number and the log reads in decision order.
- **Status** — proposed, accepted, rejected, deprecated, or superseded by a named record. This is the field most often dropped, and without it nobody can tell a decision that was taken from one that was merely considered.
- **Context** — the situation and constraints at the time.
- **The decision**, stated plainly.
- **Consequences** — what this commits to, and what it costs, good and bad.
- **Alternatives considered** and why each was rejected. Nygard folds this into context; keep it separate, as MADR's Considered Options does, because the rejected option is the thing someone will propose again.
- **Date and who decided.**
Keep it to one or two pages. A record nobody can read in five minutes doesn't get read at the moment it's needed.
**Decision records are immutable.** When a decision changes, write a new record that supersedes the old one and link them. Editing the original destroys the reason it existed.
### Internal reference and policy
- Structured for lookup, not reading — tables for anything that's a matrix.
- **Complete**, not selective. A reference with gaps sends people back to asking.
- **State the effective date** for anything that changed, and what the previous rule was, so past work can be understood.
## Write it while you're doing it
- **Capture from whoever just did the thing**, while they still remember the step that wasn't obvious. A week later, it's gone.
- **After an incident or a first-time task, write the procedure** — that's the moment the knowledge exists and the moment it's cheapest to record.
- **Recommend that the next person to do the task follows it and fixes what breaks.** A runbook nobody has executed from the document is a draft. Dry-running procedures on a schedule is the only reliable way to know they still work.
- **A rough document that exists beats a polished one that's planned.** Publish it with gaps marked and improve it in place.
## Confidentiality
Decide the rules once, write them down, and apply them per document:
- **Never put secrets in documentation** — credentials, tokens, keys, connection strings. Reference where they're stored and who grants access. A runbook that contains a password is a security incident waiting for an audit.
- **Classify each document** by who may read it, using whatever levels your organization already has, and make the classification visible.
- **Keep personal and customer data out** — use roles rather than names where the individual isn't the point, and don't paste real customer records into an example. Assume anything written internally may be read more widely than intended.
- **Check before writing down** anything under legal, contractual or regulatory constraint.
## Retire aggressively
- **Delete or archive rather than leaving it to rot.** An internal doc has no external inbound links to protect, so the cost of removal is low and the cost of keeping a wrong one is high.
- **Mark superseded documents clearly** at the top, linking the replacement, rather than deleting where the history matters — decision records especially.
- **When a document fails a review, fix it or retire it in that session.** "Needs updating" written at the top of a page is a note that will be there in two years.
- **Cut length.** Internal docs bloat because everyone adds and nobody removes. A procedure that has grown a paragraph of caveats per incident is due for a rewrite.
## Boundaries
- **Documentation for customers and end users** → `tw:user-guides`. Much of the plain-language discipline is shared; the reader, the confidentiality rules, and the ownership problem are not.
- **Developer documentation for a public or shared technical surface** → `tw:developer-docs` and `tw:api-reference`, even when the audience is internal — an internal API still gets an API reference.
- **A repository's own README and contributor docs** → `tw:readmes`.
- **The voice rules every document obeys** — sentences, claims, concrete over vague, formatting, never hard-wrap → `write:writing-standards`; the documentation voice, prose before code and the four document types → `tw:docs-standards`.
- **Capturing the knowledge from the person who has it** → `tw:sme-interviews`.
- **Deciding which internal docs are needed and auditing what exists** → `tw:docs-planning`.
- **The tool it lives in** — wiki, drive, repo, knowledge base — is the organization's decision, not this skill's. Every rule here works in any of them.
Files in this skill
- SKILL.md
- evals/evals.json
- references/templates.md
Attribution
Related skills
View all in documentation →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.