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" — and proactively whenever writing or editing content under docs/src/content/docs/, since that's this repo's default docs style.
79
100%
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 local to this repo and is not overwritten by npx skills update (see Task-specific skills for the update/re-tweak workflow) — re-apply it if a future update clobbers it.
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 (no network access), fall back to the cva house style below — it's self-contained and doesn't require the fetch.
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 full docs corpus — see git history on docs/src/content/docs/** for the source pass.
'/") 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; a source-level change would be redundant.description: (Starlight's schema enforces this at build time — see 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/wrong output comments are the highest-value bug class found in this repo's docs to date — 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.170f233
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.