documentation skillA
documentation is agent-read markdown (skill) from drafthq/draft: Technical documentation writing and maintenance. Modes — readme, runbook, api, onboarding. Uses writer agent principles for audience-appropriate, maintainable docs..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Documentation You are generating or updating technical documentation for this project using structured writing principles. ## Red Flags — STOP if you're - Writing docs without reading the code first - Duplicating information that exists elsewhere (link instead) - Writing docs for internal implementation details (only public interfaces) - Ignoring the target audience (developer vs operator vs new hire) - Generating a wall of text without structure or examples **Write for the reader. Link don't duplicate. Show don't tell.** --- ## Pre-Check 1. Check for Draft context: ```bash ls draft/ 2>/dev/null ``` If `draft/` doesn't exist, this skill works standalone — generate docs from code analysis. 2. Follow the base procedure in `core/shared/draft-context-loading.md`. ## Step 1: Parse Arguments - `/draft:documentation readme` — Generate or update project README - `/draft:documentation runbook <service>` — Operations runbook for a service - `/draft:documentation api <module>` — API documentation for a module - `/draft:documentation onboarding` — New developer onboarding guide - `/draft:documentation` (no args) — Interactive: ask what type of documentation …
Read the whole file at its exact version.
How to install
mdr add drafthq/draft/documentation@git:20260819.fda278emdr add drafthq/draft/documentation@sha256:52b6534825c547c6Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_4smelpzxszgxmvdt)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260819.fda278e latest | 2026-08-19 | fda278e | 6,196 B | A | view · diff |
| git:20260518.f790212 | 2026-05-18 | f790212 | 6,186 B | A | view · diff |
| git:20260517.6abc798 | 2026-05-17 | 6abc798 | 5,899 B | A | view · diff |
| git:20260510.83cfec7 | 2026-05-10 | 83cfec7 | 6,018 B | A | view · diff |
| git:20260510.63773a1 | 2026-05-10 | 63773a1 | 5,875 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6196 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
drafthq/draft · 40 stars · license MIT · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4smelpzxszgxmvdt GET https://markdownregistry.com/api/v1/resolve?ref=drafthq/draft/documentation GET https://markdownregistry.com/api/v1/blob/52b6534825c547c6406db80998320743eadcd731f7c5fc6d74a971396e414bcc
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.