agent-skills README

The project's README from github.com/vercel-labs/agent-skills. As one markdown file: README.md.

Agent Skills

A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities.

Skills follow the Agent Skills format.

skills.sh

Available Skills

vercel-optimize

Audits a Vercel project for cost, performance, reliability, caching, function usage, and billing opportunities. It collects Vercel metrics first, then investigates only the routes and files those metrics point to.

Use when:

react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. Contains 40+ rules across 8 categories, prioritized by impact.

Use when:

Categories covered:

web-design-guidelines

Review UI code for compliance with web interface best practices. Audits your code for 100+ rules covering accessibility, performance, and UX.

Use when:

Categories covered:

writing-guidelines

Review docs and prose for compliance with the Vercel writing handbook. Audits your pages for 80+ rules covering voice, structure, content types, code samples, typography, and AI workflow.

Use when:

Categories covered:

react-native-guidelines

React Native best practices optimized for AI agents. Contains 16 rules across 7 sections covering performance, architecture, and platform-specific patterns.

Use when:

Categories covered:

react-view-transitions

Implement smooth, native-feeling animations using React's View Transition API. Covers the <ViewTransition> component, addTransitionType, transition types, and Next.js integration including the transitionTypes prop on next/link.

Use when:

Topics covered:

composition-patterns

React composition patterns that scale. Helps avoid boolean prop proliferation through compound components, state lifting, and internal composition.

Use when:

Patterns covered:

vercel-deploy-claimable

Deploy applications and websites to Vercel instantly. Designed for use with claude.ai and Claude Desktop to enable deployments directly from conversations. Deployments are "claimable" - users can transfer ownership to their own Vercel account.

Use when:

Features:

How it works:

  1. Packages your project into a tarball
  2. Detects framework (Next.js, Vite, Astro, etc.)
  3. Uploads to deployment service
  4. Returns preview URL and claim URL

Output:

Deployment successful!

Preview URL: https://skill-deploy-abc123.vercel.app
Claim URL:   https://vercel.com/claim-deployment?code=...

Installation

npx skills add vercel-labs/agent-skills

Usage

Skills are automatically available once installed. The agent will use them when relevant tasks are detected.

Examples:

Deploy my app
Review this React component for performance issues
Help me optimize this Next.js page

Discovery index

Every change to a skill on main publishes an immutable GitHub release with an Agent Skills discovery index and one artifact per skill. Build the same artifacts locally with:

npm ci --ignore-scripts
node scripts/build-discovery-index.mjs https://example.com/skills

Skill Structure

Each skill contains:

License

MIT

agent-skills (vercel-labs/agent-skills)

Searching Database…

这是什么?这是 Vercel 官方提供的一套可复用的“技能”(skills)集合,即打包好的说明和脚本,用于让 AI 编程智能体掌握特定任务的专业能力,例如 Vercel 成本与性能审计、React 和 Next.js 最佳实践、UI 设计审查、写作风格审查,以及可认领的 Vercel 部署。
这是我要运行的插件,还是只是供智能体读取的文件?它不是需要你自己执行的代码。每个技能都是一个文件夹,内含 SKILL.md 说明文件,以及可选的辅助脚本和参考文档,由 AI 智能体读取并遵循执行。
我该如何把这些技能添加到我的智能体中?按照仓库的安装步骤完成安装后,技能即可自动生效:每当智能体检测到匹配的任务时,就会自行调用相关技能,无需手动触发。
哪些 AI 智能体真正能使用这些技能?任何支持 Agent Skills 格式的智能体都可以使用其中大多数技能,但 vercel-deploy-claimable 技能是专门为 claude.ai 和 Claude Desktop 打造的,以便用户认领部署。
vercel-optimize 能用于任何代码库吗?不能。vercel-optimize 需要项目已经部署在 Vercel 上,因为它会先拉取 Vercel 的实时指标,然后只深入检查这些指标所标记的特定路由和文件。
react-best-practices 技能涵盖哪些内容?它汇集了 8 大类、40 多条 React 和 Next.js 性能规则,包括消除请求瀑布、打包体积、服务端性能、客户端数据获取、重新渲染优化等,并按影响程度排序。
web-design-guidelines 检查什么?它依据 100 多条规则审查 UI 代码,涵盖无障碍访问、焦点状态、表单、动画、排版、深色模式,以及触控和语言区域(locale)处理。
vercel-deploy-claimable 技能实际如何部署项目?它会把项目打包成 tar 压缩包(tarball),排除 node_modules 和 .git,并从 package.json 中自动识别所用框架(支持 40 多种框架),然后上传项目,返回一个在线预览链接和一个认领链接,用户可借此将项目所有权转移到自己的 Vercel 账户。
技能更新是如何分发的?每当主分支上的技能有任何变更,都会发布一个不可变的 GitHub 发行版(release),其中包含一份 Agent Skills 发现索引以及每个技能各自的构件文件;这些构件也可以在本地自行构建。
Size
11.4 MB
Stars
32.5K
Age
10mo
Commits · 90 Days