Skip to content
Writing Guidelines

Writing Guidelines Skill

Vercel's official skill for reviewing documentation and prose against its writing handbook — voice, structure, code samples and typography, reported as file:line findings.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from vercel-labs/agent-skills.

$ npx skills add vercel-labs/agent-skills --skill writing-guidelines

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/writing-guidelines/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/vercel-labs/agent-skills.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/writing-guidelines ~/.claude/skills/writing-guidelines

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/writing-guidelines/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • Reviews docs and prose against Vercel's writing handbook
  • Rules for voice, tone, structure and content type
  • Conventions for code samples and typography
  • Guidance for prose consumed by AI agents
  • Outputs terse file:line findings
  • Always fetches the current ruleset before reviewing

Writing Guidelines is an official agent skill from Vercel that applies the company's internal writing handbook to your documentation the same way a linter applies rules to code.

Point it at a docs page, a README or a changelog entry — "review my docs", "check writing style", "audit prose" — and it fetches the current ruleset from the vercel-labs/writing-guidelines repository, reads the files you name, and returns violations as terse file:line findings.

What it checks. The handbook covers voice and tone, document structure and heading hierarchy, the conventions that differ by content type (a tutorial is not a reference page is not a release note), how code samples should be written and introduced, typography and punctuation, and guidance for prose that will be read by AI agents as well as by people.

Why a skill rather than a style guide in a wiki. A style guide only works if someone remembers to apply it. As a skill it runs on demand against the actual file, catches the drift that accumulates when a dozen people write docs, and gives a reviewer something concrete to point at instead of "this doesn't sound like our docs".

Who it is for. Developer-experience and documentation teams, open-source maintainers who want consistent READMEs across repositories, and engineers who write docs but would rather not memorise a handbook to do it.

Like the rest of the collection the ruleset is fetched fresh on each run rather than vendored, so reviews track upstream automatically. MIT-licensed, part of vercel-labs/agent-skills, installable with npx skills add vercel-labs/agent-skills, and compatible with any agent that reads SKILL.md.

SKILL.md

The instructions your agent loads, as published by Vercel.

SKILL.md
name
writing-guidelines
description
Review docs/prose for Writing Guidelines compliance. Use when asked to "review my docs", "check writing style", "audit prose", "review docs voice and tone", or "check this page against the writing handbook".
metadata
author: vercel version: "1.0.0" argument-hint: <file-or-pattern>

Writing Guidelines

Review files for compliance with Writing Guidelines.

How It Works
  1. Fetch the latest guidelines from the source URL below
  2. Read the specified files (or prompt user for files/pattern)
  3. Check against all rules in the fetched guidelines
  4. Output findings in the terse file:line format
Guidelines Source

Fetch fresh guidelines before each review:

https://raw.githubusercontent.com/vercel-labs/writing-guidelines/main/command.md

Use WebFetch to retrieve the latest rules. The fetched content contains all the rules and output format instructions.

Usage

When a user provides a file or pattern argument:

  1. Fetch guidelines from the source URL above
  2. Read the specified files
  3. Apply all rules from the fetched guidelines
  4. Output findings using the format specified in the guidelines

If no files specified, ask the user which files to review.

Install

Vercel Engineering's React and Next.js performance playbook as an agent skill — 70 rules across 8 categories, ordered by impact, for writing and refactoring fast components.

Browse all skills →