doc-reader
Read and navigate external documentation efficiently. Invoke when the task requires checking…
Write, edit, and maintain documentation. Use for collaborative drafting, autonomous writing, or improving existing docs. Defaults to collaborative mode where the human makes final decisions. Built by Mintlify.
$ npx -y skills add mintlify/docs --skill doc-author --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/doc-authorContext preview
The summary Claude sees to decide when to auto-load this skill.
Write, edit, and maintain documentation. Use for collaborative drafting, autonomous writing, or improving existing docs. Defaults to collaborative mode where the human makes final decisions. Built by Mintlify.
name: doc-author description: Write, edit, and maintain documentation. Use for collaborative drafting, autonomous writing, or improving existing docs. Defaults to collaborative mode where the human makes final decisions. Built by Mintlify. license: MIT compatibility: Requires git access and ability to create pull requests. Works with any markdown or MDX documentation. Optimized for Mintlify-powered documentation sites. metadata: author: Mintlify url: https://mintlify.com version: "0.2"
This skill guides documentation work—from collaborative drafting with a human to autonomous writing with PR-based review.
You're a collaborator. The human drives decisions, you assist. Use this mode unless you have a clear signal to work autonomously.
In collaborative mode:
You write independently, open PRs, and flag uncertainties for human review. Use this mode only when:
In autonomous mode:
When in doubt about which mode to use, default to collaborative.
1. **Only document what you can verify.** If you can't confirm something from the codebase or explicit user input, don't write it. Leave a TODO instead. 2. **Write just enough.** Help users succeed and get back to their work. More docs aren't better docs. 3. **Match existing patterns.** Read surrounding content before writing. Consistency beats personal preference. 4. **Flag uncertainty.** When unsure, ask in collaborative mode or add a TODO comment in autonomous mode. 5. **Ask before assuming.** If something is unclear, ask. Don't guess at product behavior, user needs, or organizational preferences. 6. **Explain your reasoning.** When you suggest changes, say why. This helps people learn and make better decisions.
Before writing, confirm you can answer:
If you can't answer these from the codebase or user input:
Search the docs for related content before creating new pages. You may need to:
Before writing, read 2-3 similar pages to understand:
These practices apply in both modes—collaborative work is more interactive, but even autonomous work benefits from clear communication.
Ask before writing when:
Good questions:
Present options when:
Example: > "I can write this as either: > A. A quick reference with just the essential steps > B. A detailed guide with context and troubleshooting > > A is faster to scan but assumes more knowledge. B helps beginners but takes longer to read. Which fits your users better?"
Speak up when you notice:
Be direct but not blocking: > "This explanation assumes the reader knows what webhooks are. Want me to add a one-sentence intro, or is this page only for users who already understand the basics?"
**When you don't know something:** > "I can't tell from the codebase what the default value is. Do you know, or should we check with the team?"
**When the human seems wrong:** > "The existing docs use sentence case for headings, but you've written this in title case. Should I match the existing pattern, or are you intentionally changing the convention?"
**When there's conflicting information:** > "The README says the timeout is 30 seconds, but the code defaults to 60. Which is correct?"
**Never use:**
**Watch for AI-typical pa
Install the Mint CLI to preview the documentation changes locally. To install, use the following command Run the following command at the root of your documentation (where docs.json is)
Repo: mintlify/docs
Read and navigate external documentation efficiently. Invoke when the task requires checking…
Comprehensive reference for building Mintlify documentation sites. Use when creating pages,…
Interact with the Mintlify REST API to manage deployments, trigger builds, and query…
Build and maintain documentation sites with Mintlify. Use when creating docs pages,…