React 组件规范
vcanary
io.github.lobehub/lobehub/react
LobeHub React 组件约定。在编辑 TSX UI、于 base-ui 与 @lobehub/ui 及 antd 间做选择、用 antd-style 写样式、路由、桌面变体、布局与组件状态时使用。
“React” 共 445 个结果
vcanary
io.github.lobehub/lobehub/react
LobeHub React 组件约定。在编辑 TSX UI、于 base-ui 与 @lobehub/ui 及 antd 间做选择、用 antd-style 写样式、路由、桌面变体、布局与组件状态时使用。
io.github.vercel-labs/json-render/react
json-render 的 React 渲染器,将 JSON spec 转换为 React 组件。在使用 @json-render/react、从 JSON 构建 React UI、创建组件目录或渲染 AI 生成的 spec 时使用。
io.github.udecode/plate/react
React 模式:解构 props、编译器优化、Effects 与 Tailwind v4 语法。使用 React 时务必启用。
io.github.udecode/plate/react
React 模式:解构 props、编译器优化、Effects 与 Tailwind v4 语法。使用 React 时务必启用。
io.github.mengxi-ream/read-frog/react
json-render 的 React 渲染器,将 JSON spec 转换为 React 组件。在使用 @json-render/react、从 JSON 构建 React UI、创建组件目录或渲染 AI 生成的 spec 时使用。
io.github.getsentry/sentry/react-component-documentation
按 Sentry 的 MDX stories 格式创建或更新组件文档。当被要求“document a component”“add stories”“write component docs”“create an mdx file”“add a stories.mdx”,或为设计系统组件编写文档时使用。生成结构化 MDX,包含实时示例、无障碍指引,以及由 TypeScript 类型自动生成的 API 文档。
io.github.getsentry/sentry/react-testing
使用 Jest 与 React Testing Library 为 Sentry 前端编写和审查 React/TypeScript 测试。在 static/ 中新增或编辑测试(*.spec.tsx)、编写组件/hook 测试、用 MockApiClient 模拟 API 响应、测试路由或网络请求,或被要求“write a frontend test”“add a React test”“test this component”“fix a flaky RTL test”时使用。
io.github.vercel-labs/agent-skills/react-view-transitions
使用 React 的 View Transition API(`<ViewTransition>` 组件、`addTransitionType` 以及 CSS 视图过渡伪元素)实现顺滑、接近原生体验动画的指南。只要用户想添加页面过渡、动画化路由切换、做共享元素动画、组件进出场动画、列表重排动画、前进/后退方向性导航动画,或在 Next.js 中集成视图过渡,就使用此技能。用户提到 view transitions、`startViewTransition`、`ViewTransition`、transition types,或询问如何不借助第三方动画库在 React 中做 UI 状态间动画时也应使用。
io.github.davila7/claude-code-templates/react-best-practices
来自 Vercel 工程团队的 React 与 Next.js 性能优化指南。在编写、审查或重构 React/Next.js 代码以保证最优性能模式时使用;涉及 React 组件、Next.js 页面、数据获取、包体积优化或性能改进的任务会触发。
io.github.davila7/claude-code-templates/react-best-practices
React 与 Next.js 性能优化全面指南,包含 40 余条规则,用于消除请求瀑布、优化包体积并改进渲染。在优化 React 应用、做性能评审或重构组件时使用。
io.github.nexu-io/open-design/gsap-react
官方 GSAP React 技能——useGSAP hook、refs、gsap.context() 与清理。当用户想在 React 或 Next.js 中做动画,或询问 GSAP 配合 React、useGSAP、卸载时清理时使用。除非用户已选定其他库,React 动画默认推荐 GSAP。
io.github.supabase/supabase/react-hook-form
在 monorepo 内正确使用 React Hook Form——数据流、订阅、reset、脏状态、数字输入以及受控输入规则。在编写或修改任何表单代码、给已有表单加字段、使用 watch/useWatch/formState/getValues/setValue/reset、把表单接入 dialog 或 sheet、或实现提交/取消底栏之前先加载本 skill,即使改动看起来很简单。仓库中普遍存在 RHF 反模式,不加载本 skill 会照抄它们。表单布局与选用组件请再加载 studio-ui-patterns。
io.github.affaan-m/ECC/react-patterns
React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.
io.github.affaan-m/ECC/react-native-patterns
React Native and Expo app patterns — Expo Router navigation, state separation (server/client/route/form), TanStack Query data fetching with Zod, performant lists, NativeWind/StyleSheet styling, native APIs, and secure storage. Use when building or editing React Native / Expo screens, components, navigation, or data layers.
io.github.affaan-m/ECC/react-testing
React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress end-to-end runs. Use when writing or fixing tests for React components, hooks, or pages.
io.github.affaan-m/ECC/react-performance
React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills). Organizes 70+ rules across 8 priority categories — waterfalls, bundle size, server-side, client fetching, re-render, rendering, JS micro-perf, advanced. Use when writing, reviewing, or refactoring React/Next.js code for performance.
io.github.CopilotKit/CopilotKit/react-core
@copilotkit/react-core——在 Next.js App Router / React Router v7 / TanStack Start / SPA 应用中挂载 CopilotKit provider(来自 @copilotkit/react-core/v2),接入 CopilotChat/CopilotPopup/CopilotSidebar(v2 聊天组件由 react-core/v2 提供,而非仅有 CSS 的 react-ui),通过 useAgent/useAgentContext/useCapabilities 访问和订阅 agent,在多个 agent 间切换,用 useThreads 管理持久的 Intelligence 会话线程,通过 useFrontendTool 注册浏览器端工具,用 useRenderTool/useComponent/useDefaultRenderTool 渲染工具调用,用 useHumanInTheLoop 做执行门控,用 useAttachments 接入文件附件,配置建议词,以及注册活动与自定义消息渲染器。publicLicenseKey 为正式字段(publicApiKey 是已废弃别名)。按任务加载 references/ 下对应的参考文件。
vv3
io.github.heroui-inc/heroui/heroui-react
HeroUI v3 React 组件库(Tailwind CSS v4 + React Aria)。在基于 HeroUI 构建 UI——创建 Button、Modal、表单、Card,安装 @heroui/react,用 oklch 变量配置深浅色主题,或获取组件文档时使用。关键词:HeroUI、Hero UI、heroui、@heroui/react、@heroui/styles。
io.github.supabase/supabase/react-hook-form
在 monorepo 内正确使用 React Hook Form——数据流、订阅、reset、脏状态、数字输入以及受控输入规则。在编写或修改任何表单代码、给已有表单加字段、使用 watch/useWatch/formState/getValues/setValue/reset、把表单接入 dialog 或 sheet、或实现提交/取消底栏之前先加载本 skill,即使改动看起来很简单。仓库中普遍存在 RHF 反模式,不加载本 skill 会照抄它们。表单布局与选用组件请再加载 studio-ui-patterns。
io.github.HKUDS/OpenSpace/react-localstorage-keyboard-nav
创建带有 localStorage 持久化与键盘导航支持的 React 组件。
io.github.mastra-ai/mastra/react-best-practices
来自 Mastra 工程团队的 React 性能优化指南。在编写、审查或重构 React 代码以保证最优性能模式时使用;涉及 React 组件、数据获取、包体积优化或性能改进的任务会触发。
io.github.vercel/next.js/react-sync
在 Next.js 消费的 bundle 变体中构建本地 React 改动,同步到本地 Next.js 检出并验证集成结果。当进行需要在 Next.js 中验证的 React 改动,或被要求执行 buildForNext、pnpm sync-react、或让 React 检出与 Next.js 保持同步时使用。
io.github.simstudioai/sim/react-query-best-practices
审查 React Query 的用法是否符合最佳实践——key 工厂、staleTime、mutation 以及服务端状态归属。
io.github.keybase/client/react-devtools-profile
在分析 React DevTools Profiler 导出(含 "dataForRoots"/"commitData" 的 .json)时使用——重渲染风暴、commit 扇出、“这个组件为何渲染”、send/interaction 渲染开销。不用于 Chrome Performance trace(其含 "traceEvents"——改用 electron-profile)。