draft-docs
Installation
SKILL.md
Draft Docs
Generate Tutorial, How-To, Reference, or Explanation documentation drafts to docs/drafts/ for review before publishing. These are the four Diataxis types — see docs-style/references/diataxis-compass.md for the full type-selection procedure.
Arguments
- Topic prompt: Description of what to document (e.g., "Document the WebSocket API")
- --publish [file]: Move reviewed draft to final location and update navigation
Mode 1: Generate Draft
Invoke the draft-docs skill with a topic prompt, e.g. draft-docs "Document the authentication middleware".
Step 0: Gather Context
Before parsing input, gather project context: