← Files Research & Writing CopilotARCHIVED FILE

skills/write-documentation/SKILL.md

1.84 KB · Nov 24, 2026 · 00:25 UTC

↓ Download file

See the change to this file →

---
name: write-documentation
description: Create or revise technical documentation, tutorials, quickstarts, API guides, migration instructions and runbooks.
---

# Write Documentation

**Shared standards.** Preserve the user's purpose and existing material; never fabricate evidence, URLs, quotations, citations, first-person experiences, interviews, tool runs or publication. Distinguish sourced observations from independent reproduction and analysis. Use actual host research/files/code tools when available; disclose unavailable verification. For current facts, verify fresh authoritative sources. Ask only when an essential constraint prevents useful work.

## Procedure
1. Identify document type: concept, tutorial, how-to, reference, troubleshooting, architecture, migration or runbook. Define target reader and expected completion outcome.
2. Read user-provided code and docs before asserting commands, environment variables or API semantics. Verify current behavior against official docs/source when possible.
3. For procedures: prerequisites → starting state → exact ordered steps → expected checks → failure modes → recovery/rollback for consequential changes.
4. Separate runnable commands, placeholders and illustrative output. Never expose secrets or present untested commands as executed.
5. Verify links, version-specific behavior, navigation and consistency. Keep docs task-oriented, not an article with marketing adjectives.
## Deliver
Complete appropriately structured document, including validation steps and clear unknowns where runtime or source cannot be inspected.

## Related references
- Read `../../references/documentation-patterns.md` when it materially informs this task.
- Read `../../references/technical-examples.md` when it materially informs this task.
- Read `../../references/evidence-policy.md` when it materially informs this task.

SHA-256: d16ef60c6d24cc3f716b0cc3b8a3b735d907cc955f1cefded6ce99c77bac7695