
Vercel React Best Practices
作者 vercel882e66c26986MIT300 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新
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.
僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。
| 路徑 | 大小 | 類型 |
|---|---|---|
| AGENTS.md | 92.3 KB | text/markdown |
| rules/advanced-event-handler-refs.md | 1.4 KB | text/markdown |
| rules/advanced-init-once.md | 958 B | text/markdown |
| rules/advanced-use-latest.md | 1 KB | text/markdown |
| rules/async-api-routes.md | 1.1 KB | text/markdown |
| rules/async-defer-await.md | 2 KB | text/markdown |
| rules/async-dependencies.md | 1.3 KB | text/markdown |
| rules/async-parallel.md | 654 B | text/markdown |
| rules/async-suspense-boundaries.md | 2.5 KB | text/markdown |
| rules/bundle-barrel-imports.md | 2.3 KB | text/markdown |
| rules/bundle-conditional.md | 949 B | text/markdown |
| rules/bundle-defer-third-party.md | 920 B | text/markdown |
| rules/bundle-dynamic-imports.md | 791 B | text/markdown |
| rules/bundle-preload.md | 1.1 KB | text/markdown |
| rules/client-event-listeners.md | 1.9 KB | text/markdown |
| rules/client-localstorage-schema.md | 1.9 KB | text/markdown |
| rules/client-passive-event-listeners.md | 1.6 KB | text/markdown |
| rules/client-swr-dedup.md | 1.1 KB | text/markdown |
| rules/js-batch-dom-css.md | 3.2 KB | text/markdown |
| rules/js-cache-function-results.md | 1.9 KB | text/markdown |
| rules/js-cache-property-access.md | 532 B | text/markdown |
| rules/js-cache-storage.md | 1.6 KB | text/markdown |
| rules/js-combine-iterations.md | 753 B | text/markdown |
| rules/js-early-exit.md | 1.1 KB | text/markdown |
| rules/js-flatmap-filter.md | 1.4 KB | text/markdown |
| rules/js-hoist-regexp.md | 1 KB | text/markdown |
| rules/js-index-maps.md | 837 B | text/markdown |
| rules/js-length-check-first.md | 1.7 KB | text/markdown |
| rules/js-min-max-loop.md | 2.2 KB | text/markdown |
| rules/js-set-map-lookups.md | 532 B | text/markdown |
| rules/js-tosorted-immutable.md | 1.7 KB | text/markdown |
| rules/rendering-activity.md | 564 B | text/markdown |
| rules/rendering-animate-svg-wrapper.md | 1.2 KB | text/markdown |
| rules/rendering-conditional-render.md | 980 B | text/markdown |
| rules/rendering-content-visibility.md | 815 B | text/markdown |
| rules/rendering-hoist-jsx.md | 1 KB | text/markdown |
| rules/rendering-hydration-no-flicker.md | 2.3 KB | text/markdown |
| rules/rendering-hydration-suppress-warning.md | 872 B | text/markdown |
| rules/rendering-resource-hints.md | 2.5 KB | text/markdown |
| rules/rendering-script-defer-async.md | 1.8 KB | text/markdown |
| rules/rendering-svg-precision.md | 588 B | text/markdown |
| rules/rendering-usetransition-loading.md | 2 KB | text/markdown |
| rules/rerender-defer-reads.md | 973 B | text/markdown |
| rules/rerender-dependencies.md | 824 B | text/markdown |
| rules/rerender-derived-state.md | 728 B | text/markdown |
| rules/rerender-derived-state-no-effect.md | 1.2 KB | text/markdown |
| rules/rerender-functional-setstate.md | 2.9 KB | text/markdown |
| rules/rerender-lazy-state-init.md | 2 KB | text/markdown |
| rules/rerender-memo.md | 1.1 KB | text/markdown |
| rules/rerender-memo-with-default-value.md | 1.1 KB | text/markdown |
| rules/rerender-move-effect-to-event.md | 1.2 KB | text/markdown |
| rules/rerender-no-inline-components.md | 2.1 KB | text/markdown |
| rules/rerender-simple-expression-in-memo.md | 1018 B | text/markdown |
| rules/rerender-split-combined-hooks.md | 1.8 KB | text/markdown |
| rules/rerender-transitions.md | 1 KB | text/markdown |
| rules/rerender-use-deferred-value.md | 1.8 KB | text/markdown |
| rules/rerender-use-ref-transient-values.md | 1.7 KB | text/markdown |
| rules/_sections.md | 1.5 KB | text/markdown |
| rules/server-after-nonblocking.md | 2 KB | text/markdown |
| rules/server-auth-actions.md | 2.6 KB | text/markdown |
| rules/server-cache-lru.md | 1.3 KB | text/markdown |
| rules/server-cache-react.md | 2.2 KB | text/markdown |
| rules/server-dedup-props.md | 2 KB | text/markdown |
| rules/server-hoist-static-io.md | 4.3 KB | text/markdown |
| rules/server-parallel-fetching.md | 1.5 KB | text/markdown |
| rules/server-serialization.md | 996 B | text/markdown |
| rules/_template.md | 631 B | text/markdown |
| SKILL.md | 6.5 KB | text/markdown |
來源與署名
來源:vercel/vercel-plugin位於skills/react-best-practices/upstream提交882e66c
授權條款: MIT
內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。
更多來自 vercel/vercel-plugin 的技能

React Best Practices
vercel
一套 React 與 Next.js 最佳實務清單,包含 64 條規則,用於審查與最佳化 TSX 元件。

Vercel Agent
vercel
關於 Vercel Agent 的指引,涵蓋聊天、程式碼審查、問題調查與產品安裝。

Shadcn
vercel
指導 shadcn/ui 的 CLI 使用、元件安裝、主題設定、自訂登錄檔與介面組合。

Queues
vercel
關於使用 Vercel Queues 持久主題發佈與消費背景訊息的指引。

Next Upgrade
vercel
指導依照官方遷移指南與 codemod 將 Next.js 專案升級到最新版本。

Next Cache Components
vercel
說明 Next.js 16 快取元件:PPR、use cache 指令、cacheLife、cacheTag,以及從 unstable_cache 移轉。
更多Software Development技能

Playground
anthropics
建立自成一體的互動式 HTML 遊樂場,包含控制項、即時預覽與可複製的提示詞輸出。

M5 Onboard
anthropics
透過 USB 偵測 M5Stack ESP32 開發板,燒錄 UIFlow 2.0 韌體並安裝 MicroPython 應用程式套件。

Cardputer Buddy
anthropics
指導迭代 Cardputer-Adv 的 MicroPython 應用程式套件:新增應用程式、透過 USB 序列埠推送檔案、查看日誌並執行 REPL 指令。

Web Design Guidelines
vercel-labs
依據從遠端來源取得的 Web Interface Guidelines 審查 UI 程式碼,並以 file:line 形式回報問題。

Vercel React Native Skills
vercel-labs
React Native 與 Expo 最佳實務規則,涵蓋清單效能、動畫、導覽、UI 模式、狀態與 monorepo 設定。

Vercel React Best Practices
vercel-labs
Vercel 的 React 與 Next.js 效能指南,以 70 條規則的形式用於撰寫、審查與重構程式碼。