Token导航 LogoToken导航TokenDH.com
开发规范只读github未标认证来源可访问许可证需确认审计通过

vercel-react-best-practicesVercel React 最佳实践

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

2,023

周安装

86

GitHub Stars

11

下载量

709
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vercel-react-best-practices(Vercel React 最佳实践)
来源仓库:https://github.com/akillness/oh-my-skills
仓库路径:skills/vercel-react-best-practices
安装命令:
npx skills add https://github.com/akillness/oh-my-skills --skill vercel-react-best-practices
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-skills --skill vercel-react-best-practices

简介

作为 React 最佳实践的兼容性封装,专为 Vercel 环境下的项目提供性能优化指导。

  • 适用于需要保留旧有工作流的项目,自动路由到 react-best-practices 技能执行实际任务。
  • 不推荐作为通用 React 开发的默认选择,仅在明确要求此技能或兼容旧版名称时使用。
  • 安装命令:npx skills add https://github.com/akillness/oh-my-skills --skill vercel-react-best-practices
  • 实际功能由 react-best-practices 提供,无需单独维护,注意不要重复引入同类技能。

SKILL.md

Vercel React Best Practices

This skill is a compatibility wrapper around react-best-practices. It exists so older workflows and platform-specific setups can keep working without making the React performance lane look like two equally preferred default skills.

When to use this skill

  • A user or tool explicitly asks for vercel-react-best-practices
  • A setup or sync process expects the legacy folder/name to exist
  • You need to preserve backward compatibility while routing the real work to react-best-practices

Do not choose this skill as the default for general React or Next.js performance help.

Instructions

Step 1: Confirm alias intent

Check whether the request truly depends on the exact alias name.

Use this alias only when:

  • the user names it directly
  • a script/tooling surface references it literally
  • a migration or compatibility concern is part of the task

Otherwise, switch to ../react-best-practices/SKILL.md.

Step 2: Redirect to the canonical skill

Use the alias-side packet first, then jump to the canonical React performance guidance:

  • Alias routing notes: ./references/alias-routing.md
  • Measurement + route-out notes: ./references/measurement-route-outs.md
  • Canonical skill: ../react-best-practices/SKILL.md
  • Deep reference: ../react-best-practices/AGENTS.md
  • Nearby boundaries:

- ../state-management/SKILL.md for global state architecture - ../web-accessibility/SKILL.md for accessibility remediation - ../performance-optimization/SKILL.md for non-React-wide performance problems

Step 3: Preserve compatibility in outputs

If you were activated via the alias name, mention that the canonical guidance now lives in react-best-practices so future maintenance converges on one primary entry.

Examples

Example 1: explicit legacy-name request

Input: "Use vercel-react-best-practices to audit our slow Next.js dashboard." Output: Acknowledge the alias, then apply the canonical react-best-practices guidance for waterfalls, bundle size, and RSC boundaries.

Example 2: general React performance question

Input: "Our React app rerenders too much and the Next.js page is slow." Output: Do not stay in the alias. Route to react-best-practices directly.

Best practices

  1. Treat this as a redirect layer, not an independent knowledge base.
  2. Keep trigger wording narrow so the canonical skill wins ordinary React/Next.js requests.
  3. When updating the underlying guidance, update react-best-practices first.
  4. Keep docs/setup surfaces explicit about canonical-vs-compatibility status.

References

  • ./references/alias-routing.md
  • ./references/measurement-route-outs.md
  • ../react-best-practices/SKILL.md
  • ../react-best-practices/AGENTS.md
  • ../state-management/SKILL.md
  • ../web-accessibility/SKILL.md
  • ../performance-optimization/SKILL.md

适合场景

01

Next.js 项目开发

02

React 组件生成

03

前端性能优化

04

代码审查和重构

能力概览

能力 1

提供 React / Next.js 性能规则

能力 2

覆盖数据获取、渲染、bundle 和缓存

能力 3

辅助代码生成、重构和性能审查

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.29%
按下载量换算243

Claude

31.98%
按下载量换算227

Cursor

20.39%
按下载量换算145

Gemini CLI

10.63%
按下载量换算75

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills