前端

前端框架、UI 组件、CSS 和 Web 应用

489 个 Skills 可用

Skills 列表

i18n-localization

i18n-localization

44Kfrontend

国际化和本地化模式。检测硬编码字符串,管理翻译、语言环境文件和 RTL 支持。

sickn33 avatarsickn33
获取
web-performance-optimization

web-performance-optimization

44Kfrontend

优化网站和 Web 应用的性能,包括加载速度、Core Web Vitals、打包体积、缓存策略和运行时性能

sickn33 avatarsickn33
获取
ui-ux-pro-max

ui-ux-pro-max

44Kfrontend

适用于网页和移动应用的全面设计指南。在设计新的UI组件或页面、选择配色方案和字体、或审查代码中的UX问题时使用。

sickn33 avatarsickn33
获取
nextjs-supabase-auth

nextjs-supabase-auth

43Kfrontend

Next.js App Router 与 Supabase Auth 深度集成最佳实践指南

sickn33 avatarsickn33
获取
nextjs-best-practices

nextjs-best-practices

43Kfrontend

Next.js App Router 原则。服务端组件、数据获取、路由模式。

sickn33 avatarsickn33
获取
daisyui-install

daisyui-install

42Kfrontend

daisyUI 5 的安装说明

saadeghi avatarsaadeghi
获取
chakra-ui-migrate

chakra-ui-migrate

41Kfrontend

将 Chakra UI 项目从 v2 迁移到 v3,涵盖包更改、codemod、Provider 设置、颜色模式、属性重命名、复合组件、主题、recipes 和 Next.js 更新。每当用户升级 Chakra UI 版本、升级后遇到破坏性更改、转换旧的 v2 模式(ColorModeScript、useColorModeValue、styleConfig、extendTheme、isDisabled、colorScheme、@chakra-ui/icons、framer-motion 依赖)、修复复合组件模式,或询问 Chakra UI v2 和 v3 之间的差异时,使用此技能——即使他们没有明确说“迁移”或“升级”。

chakra-ui avatarchakra-ui
获取
chakra-ui-refactor

chakra-ui-refactor

41Kfrontend

Review, convert, and improve UI code using Chakra UI v3. Use this skill whenever a user wants to review Chakra UI code for issues, convert plain HTML/CSS, Tailwind, CSS Modules, or styled-components to Chakra UI, clean up messy Chakra components, fix layout structure or token usage, or asks anything like "is this correct", "what's wrong with this", "review my component", "refactor this", "clean up", "convert", or "chakra-ify this" — even without the words "review" or "refactor". Trigger on any request to check, improve, or convert Chakra UI code, however casually phrased.

chakra-ui avatarchakra-ui
获取
chakra-ui-builder

chakra-ui-builder

41Kfrontend

使用 Chakra UI v3 构建响应式且具备无障碍访问(a11y)能力的 UI 组件与布局,在全新或现有项目中安装及配置 Chakra UI,并利用 token、语义化 token、recipe 和 slot recipe 设计可扩展的主题风格。当用户提出以下需求时请调用此 Skill:使用 Chakra UI 构建、创建或生成任意 UI 组件、页面、表单、仪表盘、导航栏、卡片、落地页区域、价格表或布局;向项目中添加 Chakra UI、配置 ChakraProvider、运行 CLI 代码片段(snippets)、配置颜色模式或修复 Provider 包裹问题;或者询问关于主题化(theming)的内容——如定义品牌色、设计 token、语义化 token、深色模式数值、组件 recipe、slot recipe、类型生成(typegen)或导出/解耦默认主题(ejecting default theme)。只要涉及任何 Chakra UI 组件构建、项目配置、主题定制或图表(charts)开发相关的请求,无论表达多么随意(如“帮我加个品牌色”、“做个可复用的卡片样式”、“画个柱状图”、“显示折线图”、“写个登录表单”、“搞个侧边栏”、“把 Chakra 加到我的 App 里”),均需触发此 Skill。

chakra-ui avatarchakra-ui
获取
react19-source-patterns

react19-source-patterns

39Kfrontend

Reference for React 19 source-file migration patterns, including API changes, ref handling, and context updates.

github avatargithub
获取
react19-concurrent-patterns

react19-concurrent-patterns

39Kfrontend

Preserve React 18 concurrent patterns and adopt React 19 APIs (useTransition, useDeferredValue, Suspense, use(), useOptimistic, Actions) during migration.

github avatargithub
获取
react19-test-patterns

react19-test-patterns

39Kfrontend

Provides before/after patterns for migrating test files to React 19 compatibility, including act() imports, Simulate removal, and StrictMode call count changes.

github avatargithub
获取
mobile-native

mobile-native

38Kfrontend

Make a web app feel native on a phone — the small CSS and meta-tag fixes that separate "a website in a browser" from something that feels installed. Covers sticky hover states, tap highlight flashes, the 100vh bug, inputs that zoom the page, laggy taps, pull-to-refresh hijacking scroll, content under the notch, long-press selecting button text, carousels that scroll the wrong way, mismatched status bars, and the rule that you test on real hardware. Use when a web app is being built for or reviewed on mobile, when something "works in Chrome but feels wrong on my phone", when building a PWA, a bottom sheet, a carousel, a full-screen layout, or any touch interaction. For motion itself use animate; for React Native use animate-expo.

emilkowalski avataremilkowalski
获取
javascript-testing-patterns

javascript-testing-patterns

38Kfrontend

使用 Jest、Vitest 和 Testing Library 实现全面的测试策略,涵盖单元测试、集成测试和端到端测试,包括模拟、测试夹具和测试驱动开发。适用于编写 JavaScript/TypeScript 测试、搭建测试基础设施或实施 TDD/BDD 工作流。

wshobson avatarwshobson
获取
implementing-agent-modes

implementing-agent-modes

37Kfrontend

PostHog AI Agent 模式(Mode)创建与更新指南。模式(Mode)用于限定在何种条件下加载指定的工具、Prompt 以及 Prompt 注入逻辑。建议搭配 Plan 模式使用以获得更佳效果。

posthog avatarposthog
获取
web-coder

web-coder

37Kfrontend

精通 Web 开发、网络协议和 Web 标准的 10x 全栈专家。当涉及 HTML、CSS、JavaScript、Web API、HTTP/HTTPS、Web 安全、性能优化、无障碍设计(Accessibility)或任何 Web/互联网相关概念时使用此 Skill。擅长精准解读 Web 专业术语,并在前后端开发中落地现代 Web 标准。

github avatargithub
获取
gsap-framer-scroll-animation

gsap-framer-scroll-animation

37Kfrontend

当用户想要构建滚动动画、滚动效果、视差、滚动触发的元素显现、固定区域、水平滚动、文本动画或任何与滚动位置相关的动效时,请使用此技能——适用于原生JS、React或Next.js。涵盖GSAP ScrollTrigger(固定、跟随滚动、吸附、时间线、水平滚动、ScrollSmoother、matchMedia)和Framer Motion / Motion v12(useScroll、useTransform、useSpring、whileInView、variants)。即使用户只说“滚动时动画”、“滚动时淡入”、“像苹果官网那样滚动”、“视差效果”、“粘性区域”、“滚动进度条”或“入场动画”,也应使用此技能。同时适用于Copilot中生成GSAP或Framer Motion代码的提示模式。与premium-frontend-ui技能配合使用,以获得创意理念和设计层面的精良效果。

github avatargithub
获取
premium-frontend-ui

premium-frontend-ui

37Kfrontend

一份全面的指南,帮助 GitHub Copilot 打造沉浸式、高性能的网页体验,融合高级动效、排版与架构工艺。

github avatargithub
获取
react-core

react-core

37Kfrontend

@copilotkit/react-core — mount the CopilotKit provider (from @copilotkit/react-core/v2) in a Next.js App Router / React Router v7 / TanStack Start / SPA app, drop in CopilotChat/CopilotPopup/CopilotSidebar (v2 chat components ship from react-core/v2 — NOT react-ui, which is CSS-only in v2), access and subscribe to agents with useAgent / useAgentContext / useCapabilities, switch between multiple agents, manage durable Intelligence threads with useThreads, register browser-side tools via useFrontendTool, render tool calls with useRenderTool / useComponent / useDefaultRenderTool, gate execution with useHumanInTheLoop, wire file attachments with useAttachments, configure suggestion pills, and register activity- and custom-message renderers. publicLicenseKey is canonical (publicApiKey is deprecated alias). Load the reference under references/ that matches your task.

copilotkit avatarcopilotkit
获取
copilotkit-agui

copilotkit-agui

37Kfrontend

Use when building custom agent backends, implementing the AG-UI protocol, debugging streaming issues, or understanding how agents communicate with frontends. Covers event types, SSE transport, AbstractAgent/HttpAgent patterns, state synchronization, tool calls, and human-in-the-loop flows.

copilotkit avatarcopilotkit
获取
a2ui-renderer

a2ui-renderer

37Kfrontend

Render A2UI (Agent-to-UI declarative surfaces) in CopilotKit v2. Enable the runtime via CopilotRuntime({ a2ui: {...} }), then enable the provider via <CopilotKit a2ui={{ theme }}>. Auto-activates via /info — do NOT manually pass renderActivityMessages. createA2UIMessageRenderer ships from @copilotkit/react-core/v2; low-level primitives (A2UIProvider, A2UIRenderer, createCatalog) ship from @copilotkit/a2ui-renderer. Covers theme customization, createSurface dedup, action-bridge try/finally cleanup. Load when an agent emits A2UI operations (createSurface / updateComponents / updateDataModel), when wiring a2ui on CopilotRuntime, or when styling A2UI surfaces.

copilotkit avatarcopilotkit
获取
folder-structure-blueprint-generator

folder-structure-blueprint-generator

36Kfrontend

技术无关的综合性提示词,用于分析和记录项目文件夹结构。自动检测项目类型(.NET、Java、React、Angular、Python、Node.js、Flutter),生成详细的蓝图,包含可视化选项、命名约定、文件放置模式以及扩展模板,帮助在不同技术栈中保持一致的代码组织。

github avatargithub
获取
next-intl-add-language

next-intl-add-language

36Kfrontend

向 Next.js + next-intl 应用添加新语言

github avatargithub
获取
breakdown-feature-implementation

breakdown-feature-implementation

36Kfrontend

用于根据 Feature PRD 生成详细功能技术实施方案(Implementation Plan)的提示词,遵循 Epoch 的 Monorepo 项目结构。

github avatargithub
获取