vercel-react-best-practices 是做什么的?
来自 Vercel 工程团队的 React 和 Next.js 性能优化指南。此技能应在编写、审查或重构 React/Next.js 代码时使用,以确保采用最佳性能模式。适用于涉及 React 组件、Next.js 页面、数据获取、包优化或性能改进的任务。
来自 Vercel 工程团队的 React 和 Next.js 性能优化指南。适用于编写、审查或重构 React/Next.js 代码以确保最佳性能模式。触发条件为涉及 React 组件、Next.js 页面、数据获取、包优化或性能改进的任务。
此技能(vercel-labs/vercel-react-best-practices)为开发者和 AI 智能体提供了一套来自 Vercel 工程团队的权威 React 和 Next.js 性能优化实践指南。其核心价值在于确保代码在编写、审查或重构过程中遵循最优性能模式,从而避免常见陷阱并提升应用加载速度、交互响应性和资源效率。该技能广泛适用于涉及 React 组件开发、Next.js 页面设计、数据获取策略选择、包体积优化以及各类性能调优任务。通过遵循这些指南,用户可以有效减少不必要的渲染、优化数据加载路径、实施代码分割与懒加载,并利用 Vercel 平台的高级特性来最大化应用性能。无论是在 Cursor、Claude Code 还是其他支持自定义技能的 AI 编程环境中,此技能都能作为关键参考,帮助生成更高效、更专业的 React/Next.js 代码。
npx skills add https://github.com/vercel-labs/agent-skills/tree/main/skills/vercel-react-best-practicesInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
来自 Vercel 工程团队的 React 和 Next.js 性能优化指南。此技能应在编写、审查或重构 React/Next.js 代码时使用,以确保采用最佳性能模式。适用于涉及 React 组件、Next.js 页面、数据获取、包优化或性能改进的任务。
This repo contains 11 individual skills — each has its own dedicated page.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g.
React composition patterns that scale. Use when refactoring components with
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.
Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel/framework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
React Native and Expo best practices for building performant mobile apps. Use
Review UI code for Web Interface Guidelines compliance. Use when asked to
Review docs/prose for Writing Guidelines compliance. Use when asked to
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.