Claude Official Skill: doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar struc...
What it is
Doc-coauthoring is an official Claude Code skill from Anthropic that provides a structured three-stage workflow for collaborative document creation. It guides users through Context Gathering, Refinement and Structure, and Reader Testing to produce high-quality documentation, proposals, technical specs, and decision documents.
The skill activates when a user mentions writing documentation ('write a doc', 'draft a proposal', 'create a spec', 'PRD', 'design doc', 'RFC'). It transforms the typically unstructured writing process into a repeatable, quality-assured workflow.
How it saves time or tokens
Without this skill, writing technical documents with an AI assistant often results in incomplete first drafts that require extensive revision. The three-stage workflow front-loads context gathering so the AI produces better first drafts. The Reader Testing stage catches blind spots by testing the document with a fresh context (no prior conversation knowledge), which simulates how a real reader would experience the document. This reduces revision cycles and produces clearer, more complete documents.
How to use
- Install the skill via Claude Code:
claude skill install anthropics/skills/doc-coauthoring
- Or manually copy the SKILL.md content to your skills directory:
mkdir -p .claude/skills/doc-coauthoring
# Copy SKILL.md content to .claude/skills/doc-coauthoring/SKILL.md
- Start writing by telling Claude what document you need: 'Write a technical spec for the authentication module' or 'Draft a PRD for the new search feature'.
Example
The three-stage workflow in practice:
# Stage 1: Context Gathering
Claude asks clarifying questions:
- Who is the audience for this document?
- What decision does this document support?
- What prior art or existing docs should I reference?
- What constraints or non-negotiables exist?
# Stage 2: Refinement and Structure
Claude builds each section iteratively:
- Brainstorm section content together
- Draft the section
- Review and refine with feedback
- Move to next section
# Stage 3: Reader Testing
Claude reads the doc with fresh context:
- Does the introduction explain the problem clearly?
- Are there gaps in the argument or logic?
- Would a reader new to this topic understand the proposal?
- What questions would a reviewer ask?
Related on TokRepo
- Prompt library — Browse more prompts and skills for AI-assisted workflows.
- AI tools for documentation — More documentation and writing tools on TokRepo.
Common pitfalls
- Skipping the Context Gathering stage to save time results in weaker documents. The upfront questions prevent major rewrites later.
- Not providing enough context about the audience leads to documents pitched at the wrong technical level. Be explicit about who will read the document.
- Skipping Reader Testing removes the most valuable quality check. The fresh-context test catches assumptions and jargon that the author takes for granted.
Frequently Asked Questions
The skill handles PRDs (product requirement documents), technical specs, design docs, decision documents, RFCs, proposals, and any substantial structured writing task. It adapts the workflow to the document type.
In the Reader Testing stage, Claude reads the completed document as if it has no prior context from the conversation. This simulates a real reader's experience and catches blind spots, unclear sections, and missing context that the author assumed was obvious.
The skill is designed for Claude Code but the SKILL.md format is a standard markdown file. Other agents that support skills can load it, though the three-stage workflow is optimized for Claude's capabilities.
The stages are designed to work together for the best results. However, you can skip stages for simpler documents. For quick drafts, you might skip Reader Testing. For documents where context is already clear, you can abbreviate Context Gathering.
Yes. Doc-coauthoring is part of Anthropic's official skills repository maintained by the Claude Code team. It receives updates alongside Claude Code releases.
Citations (3)
- Anthropic Skills GitHub— Official Claude Code skill for document co-authoring
- Anthropic Documentation— Claude Code skill installation protocol
- Google Developer Documentation Style Guide— Technical writing best practices for AI-assisted documentation
Related on TokRepo
Source & Thanks
Created by Anthropic. Licensed under MIT. anthropics/skills
Discussion
Related Assets
Claude-Flow — Multi-Agent Orchestration for Claude Code
Layers swarm and hive-mind multi-agent orchestration on top of Claude Code with 64 specialized agents, SQLite memory, and parallel execution.
ccusage — Real-Time Token Cost Tracker for Claude Code
CLI that reads ~/.claude logs and breaks down Claude Code token spend by day, session, and project — pluggable into your statusline.
SuperClaude — Workflow Framework for Claude Code
Adds 16+ slash commands, 9 cognitive personas, and a smart flag system to Claude Code in one pipx install.