
Docs writing
Guides an agent to write, restructure, or review docs by content type and audience
Docs writing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 20
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Docs writing
This skill gives the agent a documentation-writing method built around the reader's goal. Before drafting, it has the agent pick one content type (tutorial, how-to, reference, or explanation) and one primary audience, then follow the matching page skeleton and quality bar from a companion template file.
The guidance covers style and word-level rules, such as active voice, present tense for product behavior, banning filler words and time-bound wording, and sentence-style headings. It also includes procedure writing, code-example standards that require runnable snippets with expected output, API documentation components, and maintenance practices like docs-as-code and deprecating before deleting. A pre-publish checklist and task cards for new features, page audits, and new projects round it out.
A second companion file covers mechanical enforcement with tools such as Vale, markdownlint and link checkers, plus the llms.txt format for exposing a docs site to AI tools. The skill expects the agent to read the code or run the feature before documenting it, and it works with ordinary Markdown files and the agent's read, write and search tools.
When your agent uses it
Write, restructure, or review documentation — tutorials, how-to guides, reference pages, concept/explanation docs, API references, READMEs, changelogs, release notes, and troubleshooting guides. Distills documentation craft from Mintlify's guides (compiled from technical writers at Stripe, GitHub, Amplitude, and Anaconda), the Diátaxis framework (including the compass and per-type voice), the Google and Microsoft style guides, Every Page Is Page One, Write the Docs, and Docs for Developers: audience analysis, content-type selection, style and word-level rules, procedure writing, structure for humans and AI agents, code-example standards, page templates (templates.md), mechanical enforcement and llms.txt (mechanics.md), maintenance, and success metrics. Use this skill when the user asks to "write docs", "document this feature", "improve this page", "review these docs", "write a tutorial / how-to / reference page", "structure the docs", "write API documentation", "write a README / changelog", or when authoring
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Write, Edit, Glob, Grep, Bash(see the files on GitHub)
- License: Apache-2.0(see the files on GitHub)
From a static check of its 4 files (68 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/docs-writing to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/docs-writing &&
cp -R "$tmp/deno/docs/skills/docs-writing" ~/.claude/skills/docs-writing &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/docs-writing inside it instead.
Copy the skill folder to ~/.agents/skills/docs-writing to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/docs-writing &&
cp -R "$tmp/deno/docs/skills/docs-writing" ~/.agents/skills/docs-writing &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/docs-writing inside it instead.
Copy the skill folder to ~/.cursor/skills/docs-writing to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/docs-writing &&
cp -R "$tmp/deno/docs/skills/docs-writing" ~/.cursor/skills/docs-writing &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/docs-writing inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/skmtc/skmtc.git --path deno/docs/skills/docs-writingOr copy the folder to ~/.gemini/skills/docs-writing yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/docs-writing:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/skmtc/skmtc.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/docs-writing &&
cp -R "$tmp/deno/docs/skills/docs-writing" ~/.copilot/skills/docs-writing &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/docs-writing inside it instead.
Get the folder:
git clone --depth 1 https://github.com/skmtc/skmtc.gitThen copy skmtc/deno/docs/skills/docs-writing into your agent's skills folder as docs-writing. Agents that support SKILL.md read one folder per skill.
What it does
- Content type selection
- Helps the agent classify a page as tutorial, how-to, reference, or explanation before drafting.
- Word-level style rules
- Flags filler words, time-bound phrases, anthropomorphism and unclear modal verbs to tighten prose.
- Procedure writing guidance
- Sets rules for numbered steps, menu paths, optional steps and ending procedures with a completing action.
- Code example standards
- Requires complete, runnable examples with realistic data, placeholders and expected output.
- API documentation structure
- Outlines required parts of API docs such as getting started, authentication, error catalog and changelog.
- Page templates and checklist
- Provides skeletons for common page types and a pre-publish checklist for reviewing docs.
Good for
- Write a how-to guide for configuring a feature
- Review an existing docs page for filler words and unclear steps
- Restructure a docs folder into tutorials, guides and reference
- Draft a README with a usage example and clear funnel
- Write API reference documentation with error codes
- Set up llms.txt and automated doc linting for a project
Docs writing FAQ
What does the skill need to work?
It reads Markdown and documentation files using the agent's Read, Write, Edit, Glob, Grep and Bash tools. It has no scripts of its own.
Does Docs writing change anything in my project?
It guides how the agent writes documentation. The agent edits files only when asked to write or review docs in the project.
When does the skill trigger?
When the user asks to write docs, document a feature, improve or review a page, write a tutorial, how-to or reference page, write API docs, a README or changelog, or when the agent edits files under a docs folder.
Which clients can use Docs writing?
It follows the shared agent skills format, so it applies to all listed clients.
How do I install Docs writing in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/docs-writing to use it in all your projects, or to .claude/skills/docs-writing in one project.
Does Docs writing run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Docs writing?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Docs writing?
The closest alternatives to Docs writing are Documentation writer, Technical writing, Technical writing, Docs agent and Writing user docs.
Where this comes from
- Description: from the skill's own SKILL.md.
More from skmtc/skmtc

Explains Skmtc's codegen engine so agents can build infrastructure around it
- Open source
- 20 GitHub stars
- Developer tools

Lets an agent run the Skmtc CLI to generate code from OpenAPI documents
- Open source
- 20 GitHub stars
- Developer tools

Walks an agent through diagnosing failed Skmtc generation runs using manifest and parse
- Open source
- 20 GitHub stars
- Developer tools

Guides writing and editing Skmtc generators that turn OpenAPI documents into code
- Open source
- 20 GitHub stars
- Developer tools

Guides an agent writing C# code in Skmtc generators via @skmtc/lang-csharp
- Open source
- 20 GitHub stars
- Developer tools

Guides agents writing Erlang code for Skmtc generators targeting OTP 27
- Open source
- 20 GitHub stars
- Developer tools





