Writing guidelines

From joe-bell/cva · View interactive version

Writing guidelines is an AI agent skill from the GitHub repository joe-bell/cva. Review or write docs/prose for Writing Guidelines compliance. Use when asked to "review my docs", "check writing style", "audit prose", "review docs voice and tone", "check this page against the writing handbook", or when writing/editing content under docs/src/content/docs/.

How to use this skill

Skill file

Writing Guidelines

Review or write files for compliance with Writing Guidelines: the upstream Vercel ruleset, plus this repo's house style additions below. The house style section is a local repo patch that npx skills update can overwrite; re-apply it after updates and recompute the skill hash.

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, plus the cva house style below
  4. Output findings in the terse file:line format (review mode) or apply the rules directly (writing mode)

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. If the fetch fails, fall back to the cva house style below.

Usage

Reviewing (a user provides a file or pattern argument, or asks for a docs/prose review):

  1. Fetch guidelines from the source URL above
  2. Read the specified files
  3. Apply all rules from the fetched guidelines, then the house style rules below (house style wins on conflict)
  4. Output findings using the fetched guidelines' format

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

Writing (creating or editing content under docs/src/content/docs/): apply both rule sets as you write, don't wait to be asked for a review pass afterwards.

cva house style

These extend or override the fetched guidelines for this repo specifically. They come from lessons learned auditing and rewriting the docs corpus.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.