| name | doc-coauthoring |
| description | Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. |
| version | 1.0.0 |
| author | Anthropic |
| license | Apache 2.0 |
| triggers | ["write documentation","draft a doc","technical spec","proposal","decision doc","RFC"] |
| tools | ["file_read","file_write"] |
| models | ["qwen3-coder","qwen3-32b"] |
Doc Co-Authoring Workflow
Three Stages
Stage 1: Context Gathering
- Ask meta-questions (doc type, audience, impact)
- Encourage info dump
- Ask clarifying questions (5-10)
- Exit when understanding achieved
Stage 2: Refinement & Structure
- Propose document structure
- For each section:
- Ask clarifying questions
- Brainstorm 5-20 options
- User curates options
- Draft section
- Iterate based on feedback
- Final review for flow
Stage 3: Reader Testing
- Predict reader questions (5-10)
- Test with fresh perspective
- Check for ambiguity, assumptions, contradictions
- Fix identified gaps
Qwen SubAgent Integration
For Reader Testing, create a subagent:
---
name: doc-tester
description: Tests documentation with fresh context
tools:
- read_file
---
You are a documentation tester. Read the document and identify:
- Gaps (questions you can't answer)
- Ambiguities (unclear terms)
- Assumptions (unstated knowledge)
Qwen Code Integration
Use /skills doc-coauthoring to invoke.