frontend-developer

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

31,392 stars
Complexity: medium

About this skill

This skill empowers AI agents to act as expert frontend developers, specializing in the latest React 19 and Next.js 15 frameworks. It enables the agent to architect, build, and optimize complex client-side applications, covering everything from granular component creation and responsive design to advanced state management and performance tuning. The skill leverages modern frontend architectural patterns to ensure scalable, maintainable, and high-performance web solutions, offering capabilities typically found in senior frontend engineers.

Best use case

Build React/Next.js UI components and pages, fix frontend performance, accessibility, or state issues, and design optimal client-side data fetching and interaction flows.

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

Well-structured, performant, and accessible React/Next.js code; architectural recommendations for client-side applications; solutions for common frontend issues; and designs for user interaction and data flow.

Practical example

Example input

Design and implement a responsive user profile dashboard using React 19 and Next.js 15, including client-side state management for user data, an authentication flow, and a dark mode toggle. Provide the necessary components and architectural recommendations.

Example output

```javascript
// pages/profile.js
import ProfileHeader from '../components/ProfileHeader';
import UserSettings from '../components/UserSettings';
import { useAuth } from '../hooks/useAuth';
import { useProfileState } from '../hooks/useProfileState';

export default function ProfilePage() {
  const { user, isAuthenticated } = useAuth();
  const { userData, toggleDarkMode } = useProfileState(user?.id);

  if (!isAuthenticated) {
    return <p>Please log in to view your profile.</p>;
  }

  return (
    <div className={userData.darkMode ? 'dark' : ''}>
      <ProfileHeader user={user} onToggleDarkMode={toggleDarkMode} />
      <UserSettings settings={userData.settings} />
      {/* ... more profile sections */}
    </div>
  );
}

// components/ProfileHeader.js
import React from 'react';

const ProfileHeader = ({ user, onToggleDarkMode }) => (
  <header className="profile-header">
    <h1>Welcome, {user.name}</h1>
    <button onClick={onToggleDarkMode} aria-label="Toggle Dark Mode">Toggle Dark Mode</button>
  </header>
);

export default ProfileHeader;

// hooks/useProfileState.js
import { useState, useEffect } from 'react';

export function useProfileState(userId) {
  const [userData, setUserData] = useState({ user: {}, settings: {}, darkMode: false });

  useEffect(() => {
    if (userId) {
      // Simulate fetching user data from an API
      fetch(`/api/users/${userId}/profile`)
        .then(res => res.json())
        .then(data => setUserData(prev => ({
          ...prev,
          user: data.user,
          settings: data.settings,
          darkMode: localStorage.getItem('darkMode') === 'true'
        })))
        .catch(error => console.error('Failed to fetch profile:', error));
    }
  }, [userId]);

  const toggleDarkMode = () => {
    setUserData(prev => {
      const newDarkMode = !prev.darkMode;
      localStorage.setItem('darkMode', newDarkMode);
      return { ...prev, darkMode: newDarkMode };
    });
  };

  return { userData, toggleDarkMode };
}

// Architectural Recommendations:
// - Next.js `pages/` directory for file-system based routing.
// - Reusable UI components organized in `components/`.
// - Custom React hooks in `hooks/` for encapsulated logic and state management (e.g., `useAuth`, `useProfileState`).
// - API routes in `pages/api/` for backend interactions (e.g., `/api/users/[userId]/profile`).
// - Global state management for user authentication (e.g., using React Context or a library like Zustand/Jotai).
// - Responsive design using CSS Modules, Tailwind CSS, or a component library.
// - Lazy loading components and data for performance optimization.
// - Accessibility considerations (ARIA attributes, keyboard navigation).
```

When to use this skill

  • To generate or modify React or Next.js UI components and entire pages.
  • For identifying and fixing performance, accessibility, or state management issues in frontend code.
  • When designing optimal client-side data fetching strategies and user interaction flows for web applications.
  • To get guidance on implementing modern frontend architectural patterns and best practices.

When not to use this skill

  • If the primary need is for backend API design, database schema, server-side logic, or serverless functions.
  • For developing native mobile applications (iOS, Android) or desktop applications outside of the web stack.
  • When the task solely involves pure visual design (e.g., creating mockups in Figma) without requiring implementation details, code generation, or architectural guidance.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/frontend-developer/SKILL.md --create-dirs "https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/plugins/antigravity-awesome-skills-claude/skills/frontend-developer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/frontend-developer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How frontend-developer Compares

Feature / Agentfrontend-developerStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexitymediumN/A

Frequently Asked Questions

What does this skill do?

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

Which AI agents support this skill?

This skill is designed for Claude.

How difficult is it to install?

The installation complexity is rated as medium. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

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
- GitHub Actions and CI/CD pipelines
- Monorepo management with Nx, Turbo, or Lerna

### Third-Party Integrations
- Authentication with NextAuth.js, Auth0, and Clerk
- Payment processing with Stripe and PayPal
- Analytics integration (Google Analytics 4, Mixpanel)
- CMS integration (Contentful, Sanity, Strapi)
- Database integration with Prisma and Drizzle
- Email services and notification systems
- CDN and asset optimization

## Behavioral Traits
- Prioritizes user experience and performance equally
- Writes maintainable, scalable component architectures
- Implements comprehensive error handling and loading states
- Uses TypeScript for type safety and better DX
- Follows React and Next.js best practices religiously
- Considers accessibility from the design phase
- Implements proper SEO and meta tag management
- Uses modern CSS features and responsive design patterns
- Optimizes for Core Web Vitals and lighthouse scores
- Documents components with clear props and usage examples

## Knowledge Base
- React 19+ documentation and experimental features
- Next.js 15+ App Router patterns and best practices
- TypeScript 5.x advanced features and patterns
- Modern CSS specifications and browser APIs
- Web Performance optimization techniques
- Accessibility standards and testing methodologies
- Modern build tools and bundler configurations
- Progressive Web App standards and service workers
- SEO best practices for modern SPAs and SSR
- Browser APIs and polyfill strategies

## Response Approach
1. **Analyze requirements** for modern React/Next.js patterns
2. **Suggest performance-optimized solutions** using React 19 features
3. **Provide production-ready code** with proper TypeScript types
4. **Include accessibility considerations** and ARIA patterns
5. **Consider SEO and meta tag implications** for SSR/SSG
6. **Implement proper error boundaries** and loading states
7. **Optimize for Core Web Vitals** and user experience
8. **Include Storybook stories** and component documentation

## Example Interactions
- "Build a server component that streams data with Suspense boundaries"
- "Create a form with Server Actions and optimistic updates"
- "Implement a design system component with Tailwind and TypeScript"
- "Optimize this React component for better rendering performance"
- "Set up Next.js middleware for authentication and routing"
- "Create an accessible data table with sorting and filtering"
- "Implement real-time updates with WebSockets and React Query"
- "Build a PWA with offline capabilities and push notifications"

Related Skills

gdb-cli

31392
from sickn33/antigravity-awesome-skills

GDB debugging assistant for AI agents - analyze core dumps, debug live processes, investigate crashes and deadlocks with source code correlation

DevelopmentClaudeCursorGemini

codebase-audit-pre-push

31392
from sickn33/antigravity-awesome-skills

Deep audit before GitHub push: removes junk files, dead code, security holes, and optimization issues. Checks every file line-by-line for production readiness.

DevelopmentClaude

bug-hunter

31392
from sickn33/antigravity-awesome-skills

Systematically finds and fixes bugs using proven debugging techniques. Traces from symptoms to root cause, implements fixes, and prevents regression.

DevelopmentClaude

frontend-patterns

144923
from affaan-m/everything-claude-code

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.

DevelopmentClaude

workspace-surface-audit

144923
from affaan-m/everything-claude-code

Audit the active repo, MCP servers, plugins, connectors, env surfaces, and harness setup, then recommend the highest-value ECC-native skills, hooks, agents, and operator workflows. Use when the user wants help setting up Claude Code or understanding what capabilities are actually available in their environment.

DevelopmentClaude

safety-guard

144923
from affaan-m/everything-claude-code

Use this skill to prevent destructive operations when working on production systems or running agents autonomously.

DevelopmentClaude

repo-scan

144923
from affaan-m/everything-claude-code

Cross-stack source code asset audit — classifies every file, detects embedded third-party libraries, and delivers actionable four-level verdicts per module with interactive HTML reports.

DevelopmentClaude

project-flow-ops

144923
from affaan-m/everything-claude-code

Operate execution flow across GitHub and Linear by triaging issues and pull requests, linking active work, and keeping GitHub public-facing while Linear remains the internal execution layer. Use when the user wants backlog control, PR triage, or GitHub-to-Linear coordination.

DevelopmentClaude

manim-video

144923
from affaan-m/everything-claude-code

Build reusable Manim explainers for technical concepts, graphs, system diagrams, and product walkthroughs, then hand off to the wider ECC video stack if needed. Use when the user wants a clean animated explainer rather than a generic talking-head script.

DevelopmentClaude

laravel-plugin-discovery

144923
from affaan-m/everything-claude-code

Discover and evaluate Laravel packages via LaraPlugins.io MCP. Use when the user wants to find plugins, check package health, or assess Laravel/PHP compatibility.

DevelopmentClaude

design-system

144923
from affaan-m/everything-claude-code

Use this skill to generate or audit design systems, check visual consistency, and review PRs that touch styling.

DevelopmentClaude

click-path-audit

144923
from affaan-m/everything-claude-code

Trace every user-facing button/touchpoint through its full state change sequence to find bugs where functions individually work but cancel each other out, produce wrong final state, or leave the UI in an inconsistent state. Use when: systematic debugging found no bugs but users report broken buttons, or after any major refactor touching shared state stores.

DevelopmentClaude