# Docs writing

> Docs writing is an open-source agent skill for developer tools. Guides an agent to write, restructure, or review docs by content type and audience. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/skmtc/skmtc/tree/main/deno/docs/skills/docs-writing
- **Repository:** https://github.com/skmtc/skmtc
- **GitHub stars:** 20
- **License:** Apache-2.0
- **Skill name:** docs-writing
- **Collection:** https://github.com/skmtc/skmtc
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/docs-writing)
- [Asks for: Read, Write, Edit, Glob, Grep, Bash](https://github.com/skmtc/skmtc/blob/HEAD/deno/docs/skills/docs-writing/SKILL.md)
- [License: Apache-2.0](https://github.com/skmtc/skmtc/tree/HEAD/deno/docs/skills/docs-writing)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/docs-writing` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/docs-writing` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/docs-writing` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/skmtc/skmtc.git --path deno/docs/skills/docs-writing
```

Or copy the folder to `~/.gemini/skills/docs-writing` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/docs-writing`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/skmtc/skmtc.git
```

Then 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.

## 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.

## Alternatives

- [Documentation writer](https://ai-powered.com/skills/documentation-writer): Documentation writer is an open-source agent skill for developer tools.
- [Technical writing](https://ai-powered.com/skills/technical-writing-tjmonsi): Technical writing is an open-source agent skill for developer tools.
- [Technical writing](https://ai-powered.com/skills/technical-writing): Technical writing is an open-source agent skill for developer tools.
- [Docs agent](https://ai-powered.com/skills/docs-agent): Docs agent is an open-source agent skill for developer tools.
- [Writing user docs](https://ai-powered.com/skills/writing-user-docs): Writing user docs is an open-source agent skill for writing style.
- [Edit page content](https://ai-powered.com/skills/edit-page-content): Edit page content is an open-source agent skill for developer tools.
- [Repository writing style](https://ai-powered.com/skills/repository-writing-style): Repository writing style is an open-source agent skill for developer tools.
- [Documentation structure](https://ai-powered.com/skills/documentation-structure): Documentation structure is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/docs-writing
