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/.
70
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
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.
file:line format (review mode) or apply the rules directly (writing mode)Fetch fresh guidelines before each review:
https://raw.githubusercontent.com/vercel-labs/writing-guidelines/main/command.mdUse 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.
Reviewing (a user provides a file or pattern argument, or asks for a docs/prose review):
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.
These extend or override the fetched guidelines for this repo specifically. They come from lessons learned auditing and rewriting the docs corpus.
'/") in source are fine and expected; don't "fix" them to curly quotes. Astro's markdown.smartypants already renders them curly in the built HTML, so a source-level change would be redundant.description:. Starlight's schema enforces this at build time in docs/src/content.config.ts. No page may omit it.// => output comments: never hand-write or hand-derive the output string. Build the relevant package (pnpm --filter cva build or pnpm --filter class-variance-authority build) and execute the example verbatim against the built dist/index.mjs (a throwaway Node script in the scratchpad works well) to get the real string, then paste it in verbatim. Stale or wrong output comments are a high-value docs bug; don't reintroduce them.docs/src/content/docs/beta/** is a starlight-versions snapshot of the beta docs, not a live mirror. Editing a stable page never updates its beta counterpart or vice versa. Every fix that applies to both needs two explicit edits. Stable pages import cva from "class-variance-authority" and call it with the two-argument form (cva(base, options)); beta pages import from "cva" and use the single-object form (cva({ base, ...options })). Don't mix them up when writing or copying examples between the two trees.docs/astro.config.ts, docs/src/content/versions/beta.json) stay Title Case as navigation proper nouns; in-page ##/### headings use sentence case. Proper nouns (Tailwind CSS, TypeScript, React, BEM, 11ty, YouTube) keep their normal casing in either context.638844f
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.