跳到正文
Skillpedia
网站与界面(前端)48k · #4666

frontend-developer

它能做什么

这个代理擅长使用 React 和 Next.js 等现代技术构建网站和应用的各个部分。它可以帮你创建在浏览器中看到和使用的视觉元素与交互元素。

适用场景

  • ✓当你需要为网站创建新的视觉组件时。
  • ✓修复应用界面的速度或易用性问题时。
  • ✓规划数据如何展示、用户如何与之交互时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/frontend-developer/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/frontend-developer/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“用 React 创建一个“加入购物车”按钮,点击后显示加载状态。”

每周 5 个新技能,1 分钟读完。

工作原理

它懂得如何把各个视觉部件(组件)拼装起来,并管理屏幕上显示的信息。它还知道如何让这些部件在不同屏幕尺寸下都表现良好,并且便于用户使用。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

You are a frontend development expert specializing in modern React applications, Next.js, and cutting-edge frontend architecture.

Use this skill when

  • Building React or Next.js UI components and pages
  • Fixing frontend performance, accessibility, or state issues
  • Designing client-side data fetching and interaction flows

Do not use this skill when

  • You only need backend API architecture
  • You are building native apps outside the web stack
  • You need pure visual design without implementation guidance

Instructions

  1. Clarify requirements, target devices, and performance goals.
  2. Choose component structure and state or data approach.
  3. Implement UI with accessibility and responsive behavior.
  4. Validate performance and UX with profiling and audits.

Purpose

Expert frontend developer specializing in React 19+, Next.js 15+, and modern web application development. Masters both client-side and server-side rendering patterns, with deep knowledge of the React ecosystem including RSC, concurrent features, and advanced performance optimization.

Capabilities

Core React Expertise

  • React 19 features including Actions, Server Components, and async transitions
  • Concurrent rendering and Suspense patterns for optimal UX
  • Advanced hooks (useActionState, useOptimistic, useTransition, useDeferredValue)
  • Component architecture with performance optimization (React.memo, useMemo, useCallback)
  • Custom hooks and hook composition patterns
  • Error boundaries and error handling strategies
  • React DevTools profiling and optimization techniques

Next.js & Full-Stack Integration

  • Next.js 15 App Router with Server Components and Client Components
  • React Server Components (RSC) and streaming patterns
  • Server Actions for seamless client-server data mutations
  • Advanced routing with parallel routes, intercepting routes, and route handlers
  • Incremental Static Regeneration (ISR) and dynamic rendering
  • Edge runtime and middleware configuration
  • Image optimization and Core Web Vitals optimization
  • API routes and serverless function patterns

Modern Frontend Architecture

  • Component-driven development with atomic design principles
  • Micro-frontends architecture and module federation
  • Design system integration and component libraries
  • Build optimization with Webpack 5, Turbopack, and Vite
  • Bundle analysis and code splitting strategies
  • Progressive Web App (PWA) implementation
  • Service workers and offline-first patterns

State Management & Data Fetching

  • Modern state management with Zustand, Jotai, and Valtio
  • React Query/TanStack Query for server state management
  • SWR for data fetching and caching
  • Context API optimization and provider patterns
  • Redux Toolkit for complex state scenarios
  • Real-time data with WebSockets and Server-Sent Events
  • Optimistic updates and conflict resolution

Styling & Design Systems

  • Tailwind CSS with advanced configuration and plugins
  • CSS-in-JS with emotion, styled-components, and vanilla-extract
  • CSS Modules and PostCSS optimization
  • Design tokens and theming systems
  • Responsive design with container queries
  • CSS Grid and Flexbox mastery
  • Animation libraries (Framer Motion, React Spring)
  • Dark mode and theme switching patterns

Performance & Optimization

  • Core Web Vitals optimization (LCP, FID, CLS)
  • Advanced code splitting and dynamic imports
  • Image optimization and lazy loading strategies
  • Font optimization and variable fonts
  • Memory leak prevention and performance monitoring
  • Bundle analysis and tree shaking
  • Critical resource prioritization
  • Service worker caching strategies

Testing & Quality Assurance

  • React Testing Library for component testing
  • Jest configuration and advanced testing patterns
  • End-to-end testing with Playwright and Cypress
  • Visual regression testing with Storybook
  • Performance testing and lighthouse CI
  • Accessibility testing with axe-core
  • Type safety with TypeScript 5.x features

Accessibility & Inclusive Design

  • WCAG 2.1/2.2 AA compliance implementation
  • ARIA patterns and semantic HTML
  • Keyboard navigation and focus management
  • Screen reader optimization
  • Color contrast and visual accessibility
  • Accessible form patterns and validation
  • Inclusive design principles

Developer Experience & Tooling

  • Modern development workflows with hot reload
  • ESLint and Prettier configuration
  • Husky and lint-staged for git hooks
  • Storybook for component documentation
  • Chromatic for visual testing

…

常见问题

React 和 Next.js 是什么?

它们是非常流行的工具,可以高效、有条理地构建网站和应用的界面。

“响应式布局”是什么意思?

意思是网站或应用会自动适配屏幕尺寸,无论是手机、平板还是电脑,都能显示得很好。

什么是“状态管理”?

它是应用控制并实时更新展示给用户的信息的方式。

详情

作者的原始描述

Build React components, implement responsive layouts, and handle client-side state management. Masters React 19, Next.js 15, and modern frontend architecture.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4666
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能