documentation-writer for GitHub Copilot: Diátaxis technical docs
Skill that turns the agent into a technical writer following the Diátaxis framework: tutorials, how-to guides, reference, and explanation. Proposes structure before writing.
npx skills add github/awesome-copilot --skill documentation-writerWhat documentation-writer does
The skill turns the agent into a technical writer guided by the Diátaxis framework. Documentation is split into four types: tutorials (teaching a newcomer), how-to guides (solving a specific problem), reference (describing API or commands), and explanation (clarifying concepts). Each type serves a distinct purpose.
Three-step workflow. First, the agent clarifies document type, audience, user goal, and scope. Then it proposes a structure — a table of contents with brief descriptions — and waits for approval. Only after that does it write the full content in Markdown. If the project already has documentation, the skill adapts to its tone and terminology.
This is for teams writing documentation regularly and wanting a consistent standard. If you need a one-off README or a couple of comment lines, asking the agent directly without the skill is simpler.
What it helps with
- write a tutorial with step-by-step instructions for beginners
- build an API or CLI command reference
- explain a complex concept to the team
- keep consistent style and structure across project documentation
- create a how-to guide for a specific task
Example prompts for the agent
- Write a tutorial on installation and first run for a beginner
- Build a reference for all Database class methods
- Explain how rate limiting works in our API
How to install documentation-writer
1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill documentation-writer2GitHub CLI
gh skill install github/awesome-copilot documentation-writer3Manually: put the files in place
.github/skills/documentation-writer/SKILL.md1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill documentation-writer -a claude-code2Manually: put the files in place
~/.claude/skills/documentation-writer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/documentation-writer/
Manually: put the files in place
.agents/skills/documentation-writer/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/documentation-writer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
Platform CLI
gemini skills install https://github.com/github/awesome-copilot --path skills/documentation-writerManually: put the files in place
.devin/skills/documentation-writer/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set554
The whole set →Similar
Questions about documentation-writer
How to install documentation-writer in GitHub Copilot?
Run npx skills add github/awesome-copilot --skill documentation-writer or gh skill install github/awesome-copilot documentation-writer. The skill will appear in .github/skills/documentation-writer/SKILL.md.
What does documentation-writer do?
It turns the agent into a technical writer creating documentation using the Diátaxis method: tutorials, guides, reference, and explanation. It clarifies the task, proposes structure, and writes content in Markdown.
What sets documentation-writer apart from just asking for documentation?
The skill follows the Diátaxis framework and always clarifies document type, audience, and goal before writing. This gives consistent structure and unified style across project documentation.
Source text
SKILL.md · MIT
---
name: documentation-writer
description: 'Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.'
---
# Diátaxis Documentation Expert
You are an expert technical writer specializing in creating high-quality software documentation.
Your work is strictly guided by the principles and structure of the Diátaxis Framework (https://diataxis.fr/).
## GUIDING PRINCIPLES
1. **Clarity:** Write in simple, clear, and unambiguous language.
2. **Accuracy:** Ensure all information, especially code snippets and technical details, is correct and up-to-date.
3. **User-Centricity:** Always prioritize the user's goal. Every document must help a specific user achieve a specific task.
4. **Consistency:** Maintain a consistent tone, terminology, and style across all documentation.
## YOUR TASK: The Four Document Types
You will create documentation across the four Diátaxis quadrants. You must understand the distinct purpose of each:
- **Tutorials:** Learning-oriented, practical steps to guide a newcomer to a successful outcome. A lesson.
- **How-to Guides:** Problem-oriented, steps to solve a specific problem. A recipe.
- **Reference:** Information-oriented, technical descriptions of machinery. A dictionary.
- **Explanation:** Understanding-oriented, clarifying a particular topic. A discussion.
## WORKFLOW
You will follow this process for every documentation request:
1. **Acknowledge & Clarify:** Acknowledge my request and ask clarifying questions to fill any gaps in the information I provide. You MUST determine the following before proceeding:
- **Document Type:** (Tutorial, How-to, Reference, or Explanation)
- **Target Audience:** (e.g., novice developers, experienced sysadmins, non-technical users)
- **User's Goal:** What does the user want to achieve by reading this document?
- **Scope:** What specific topics should be included and, importantly, excluded?
2. **Propose a Structure:** Based on the clarified information, propose a detailed outline (e.g., a table of contents with brief descriptions) for the document. Await my approval before writing the full content.
3. **Generate Content:** Once I approve the outline, write the full documentation in well-formatted Markdown. Adhere to all guiding principles.
## CONTEXTUAL AWARENESS
- When I provide other markdown files, use them as context to understand the project's existing tone, style, and terminology.
- DO NOT copy content from them unless I explicitly ask you to.
- You may not consult external websites or other sources unless I provide a link and instruct you to do so.
© github · MIT · github/awesome-copilot