Skip to content

Commit f6af8a0

Browse files
committed
feat: add Vercel react best practices skill
1 parent 4c0bea6 commit f6af8a0

7 files changed

Lines changed: 30 additions & 5 deletions

File tree

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@
4444
[submodule "ui-skills-repo"]
4545
path = ui-skills-repo
4646
url = https://github.com/ibelick/ui-skills.git
47+
[submodule "vercel-agent-skills"]
48+
path = vercel-agent-skills
49+
url = https://github.com/vercel-labs/agent-skills.git
50+
branch = react-best-practices

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727

2828
## 🚀 一键安装,智能路由 / One-Click Install, Smart Routing
2929

30-
**核心优势:一个技能触发 256+ 专业技能!自动检测意图,智能加载相关技能。**
30+
**核心优势:一个技能触发 257+ 专业技能!自动检测意图,智能加载相关技能。**
3131

32-
**Core Advantage: One skill triggers 256+ expert skills! Auto-detect intent, smart-load relevant skills.**
32+
**Core Advantage: One skill triggers 257+ expert skills! Auto-detect intent, smart-load relevant skills.**
3333

3434
### 安装方式 / Installation
3535

@@ -126,7 +126,7 @@ Claude 自动分析:
126126
| Categories / 分类 | **20** |
127127
| Scientific Skills / 科学技能 | **138+** |
128128
| Scientific Databases / 科学数据库 | **28+** |
129-
| Source Projects / 来源项目 | **11+** |
129+
| Source Projects / 来源项目 | **12+** |
130130

131131
---
132132

@@ -149,6 +149,9 @@ All skills are aggregated from reputable open-source projects. Review before imp
149149
| [Makepad Skills](https://github.com/ZhangHanDong/makepad-skills) | - | 11 | Rust UI | MIT |
150150
| [UI Skills](https://github.com/ibelick/ui-skills) | 200+ | 1 | UI/UX Constraints | MIT |
151151
| [Planning with Files](https://github.com/marovole/planning-with-files) | - | 1 | Planning | MIT |
152+
| [Vercel Agent Skills](https://github.com/vercel-labs/agent-skills) | - | 1 | React/Next.js Performance | MIT |
153+
154+
Vercel CEO 戏称该技能相当于雇佣一个 mini 版 10 年经验 React 开发者。
152155

153156
---
154157

packages/website/src/data/repo-config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ export const REPO_CONFIG: Record<string, RepoConfig> = {
4646
rawBase: 'https://raw.githubusercontent.com/ComposioHQ/composio-claudecode-skills/main',
4747
contentPath: '.'
4848
},
49+
vercel: {
50+
path: 'vercel-agent-skills',
51+
url: 'https://github.com/vercel-labs/agent-skills.git',
52+
rawBase: 'https://raw.githubusercontent.com/vercel-labs/agent-skills/react-best-practices',
53+
contentPath: 'skills'
54+
},
4955
voltagent: {
5056
path: 'voltagent-skills',
5157
url: 'https://github.com/VoltAgent/voltagent.git',

packages/website/src/data/skill-sources.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export const SKILL_TO_SOURCE: Record<string, SkillSource> = {
7777
'react-components': { source: 'community', path: 'react-components' },
7878
'skill-share': { source: 'community', path: 'skill-share' },
7979
'video-downloader': { source: 'community', path: 'video-downloader' },
80+
'react-best-practices': { source: 'vercel', path: 'react-best-practices' },
8081
// scientific skills
8182
'adaptyv': { source: 'scientific', path: 'adaptyv' },
8283
'aeon': { source: 'scientific', path: 'aeon' },

packages/website/src/data/skills.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export interface Skill {
55
name: string;
66
description: string;
77
category: Category;
8-
source: 'anthropic' | 'claudekit' | 'scientific' | 'community' | 'composio' | 'voltagent' | 'obsidian' | 'planning' | 'superpowers' | 'deep-research' | 'skill-from-masters' | 'purevibecoder' | 'ui-ux-pro-max' | 'makepad' | 'nanobanana';
8+
source: 'anthropic' | 'claudekit' | 'scientific' | 'community' | 'composio' | 'voltagent' | 'obsidian' | 'planning' | 'superpowers' | 'deep-research' | 'skill-from-masters' | 'purevibecoder' | 'ui-ux-pro-max' | 'makepad' | 'nanobanana' | 'vercel';
99
triggers: string[];
1010
priority: number;
1111
content: string;
@@ -29712,6 +29712,16 @@ const useToggle = (initialValue = false) => {
2971229712
- [TypeScript React CheatSheet](https://react-typescript-cheatsheet.netlify.app)
2971329713
`
2971429714
},
29715+
{
29716+
id: 'react-best-practices',
29717+
name: 'react-best-practices',
29718+
description: 'Vercel 工程团队沉淀的 React/Next.js 性能最佳实践(40+ 规则),适用于编写、审查或重构 React/Next.js 代码并优化瀑布、包体与渲染性能。',
29719+
category: categories[categoryIndex['frontend'] ?? 0],
29720+
source: 'vercel',
29721+
triggers: ['react', 'next.js', 'nextjs', 'performance', 'optimization', 'bundle', 'waterfall', 'rerender', 'data fetching'],
29722+
priority: 8,
29723+
content: ''
29724+
},
2971529725
{
2971629726
id: 'theme-factory',
2971729727
name: 'theme-factory',

skills/fastskills-router/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Combine matched routes' skills (dedupe). Output highest-priority matches first.
116116
|----------|----|--------------------|-------------|
117117
| 100 | market-research | 市场研究, 市场调研, 行业分析, 竞品分析, market research, competitive analysis, GTM | `market-research-reports, research-executor` |
118118
| 95 | research-report | 研究报告, 调研报告, 分析报告, research report, analysis report | `research-executor, scientific-writing` |
119-
| 90 | react-components | react, 组件, component, tsx, jsx, hooks, useState, useEffect | `react-components, frontend-designer` |
119+
| 90 | react-components | react, 组件, component, tsx, jsx, hooks, useState, useEffect | `react-components, react-best-practices, frontend-designer` |
120120
| 88 | frontend | 前端, frontend, ui, ux, 界面, tailwind, css, html | `frontend-designer, modern-frontend-design` |
121121
| 87 | pubmed-search | PubMed, 医学文献, NCBI, 文献搜索, literature search, medical paper, 论文搜索 | `pubmed-database, citation-management, biopython` |
122122
| 86 | protein-db | UniProt, 蛋白质数据库, protein database, SwissProt, TrEMBL | `uniprot-database, biopython, bioservices` |

vercel-agent-skills

Submodule vercel-agent-skills added at 6e356b4

0 commit comments

Comments
 (0)