Catalog
vercel/edit-package-readme

vercel

edit-package-readme

Create or edit package README.md files in the AI SDK monorepo.

NewUpdated Oct 28, 2026

Package READMEs

Keep README.md files minimal; they must not contain documentation beyond simple starting points. Detailed documentation belongs exclusively in content/ and lives under https://ai-sdk.dev/docs.

Every package README.md file must contain the following, in the given order:

  1. An H1 on the first line that starts with # AI SDK - , followed by a descriptive package title rather than its npm identifier.
  2. A 1–2 sentence description.
  3. Optional note about compatibility, AI Gateway, or experimental nature. Consult similar packages and match their formatting; if in doubt, do not add one.
  4. ## Setup: only one fenced, one-line npm i command, including necessary related packages.
  5. Optional ## Skill for Coding Agents section between ## Setup and ## Usage, with a short recommendation and one fenced shell command to add the AI SDK skill to the repository.
  6. ## Usage: only one fenced, basic getting-started code example (TypeScript or a framework component with TypeScript).
  7. A suitable docs link using See the [<package title> documentation](<url>) for more information. If none clearly fits, use 1–2 related docs links with custom phrasing.

You must not include anything else in the readme. Any additional documentation belongs in content/.

Template

Omit the optional note and ## Skill for Coding Agents section when they do not apply.

# AI SDK - <Package Title>

A brief description of the package.

-> **Note**: <Optional compatibility or experimental notice.>

## Setup

```bash
npm i <npm-package>
```

## Skill for Coding Agents

If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:

```shell
npx skills add vercel/ai
```

## Usage

```ts
import { example } from '<npm-package>';

await example();
```

See the [<package title> documentation](https://ai-sdk.dev/...) for more information.

Exceptions

These packages have special-case README.md files and do not follow this format:

  • ai
  • codemod
  • provider-utils
  • provider

Never consult these files for which README.md conventions to follow.

Verification

Run the verification script to ensure all README.md files adhere to the conventions:

./tools/verify-package-readme-files.mjs

If this script shows errors, you must address them, then rerun the verification script until it passes.

Files1
1 files · 552 B

Select a file to preview

Overall Score

82/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

85

Quality

82

Clarity

85

Completeness

75

Summary

This skill guides agents to create or edit README.md files for packages in the AI SDK monorepo, enforcing a strict template structure with minimal content (description, setup, usage, docs link). The skill documents clear formatting conventions, exemptions for special-case packages, and includes a verification script to ensure compliance.

Detected Capabilities

file readfile writemarkdown generationshell execution (verification script)

Trigger Keywords

Phrases that agents use to match this skill to user intent.

package readmecreate readmeedit package readmereadme templatemonorepo readmeai sdk readme

Risk Signals

INFO

Verification script execution (./tools/verify-package-readme-files.mjs)

Verification section, bottom of SKILL.md
INFO

Project-scoped file writes to README.md files in packages/

Core skill purpose

Referenced Domains

External domains referenced in skill content, detected by static analysis.

ai-sdk.devwww.apache.org

Use Cases

  • Create a new package README.md following AI SDK conventions
  • Edit an existing package README to match the required format
  • Add or update Setup, Usage, or documentation link sections
  • Verify all package READMEs conform to the template structure
  • Maintain consistency across the monorepo README files

Quality Notes

  • Clear, structured template with explicit formatting rules (H1, sections, order)
  • Specific exceptions documented (ai, codemod, provider-utils, provider) — helps avoid misapplication
  • Verification script mentioned with instructions on when to run and iterate
  • Well-organized sections with examples, though example shows placeholder values
  • Minimalist philosophy clearly stated at the top (no detailed docs in README)
  • Strong boundary enforcement: what must be included, what must not be
Model: claude-haiku-4-5-20251001Analyzed: Oct 28, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

  1. v1.1

    Content updated

    ✦ AIPackage README H1 now requires prefix AI SDK -; adds optional Skill for Coding Agents section with agent setup command; introduces mandatory verification script.

    2026-10-28

    LATEST
  2. v1.0

    2026-10-24

    View This VersionInitial version

Use vercel/edit-package-readme in your dev environment

Command Palette

Search for a command to run...