931 B
931 B
| name | description | menu-code |
|---|---|---|
| write-document | Author a document following documentation best practices | WD |
Write Document
Engage in multi-turn conversation until you fully understand the ask. Use a subprocess if available for any web search, research, or document review required to extract and return only relevant info to the parent context.
Process
- Discover intent — Ask clarifying questions until the document scope, audience, and purpose are clear
- Research — If the user provides references or the topic requires it, use subagents to review documents and extract relevant information
- Draft — Author the document following documentation best practices: clear structure, task-oriented approach, diagrams where helpful
- Review — Use a subprocess to review and revise for quality of content and standards compliance
Output
A complete, well-structured document ready for use.