senior-frontend
Skill0 starsChanged 12 months agoMITView on GitHub
Comprehensive frontend development skill for building modern, performant web applications using React, Next.js, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.
- Reads credentials
- Installs packages
16 other projects use a version of this.
Adopted by
Most recently taken up by
- jakubsuplicki/codumenttheir own version, first seen Oct 4, 2026
- roedyrustam/vibes-plugtheir own version, first seen Oct 3, 2026
- Obitorinne22/claude-skills-mcptheir own version, first seen Sep 24, 2026
- MortuisVMain/ai-agent-superpowerstheir own version, first seen Sep 15, 2026
- weininghui/skillstheir own version, first seen Aug 23, 2026
- Hassaan146/claude-skillstheir own version, first seen Jul 25, 2026
Used with
Projects with it also use frontend-design and skill-creator.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 5 projects that use this
MicrosoftSkillskill-creator
Guide for creating effective GitHub Copilot skills (.github/skills/) in this repository. Use when creating a new skill, updating an existing skill, or when asked about skill structure, format, or best practices for the vscode-documentdb project.
Also in 3 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- roedyrustam/vibes-plug★ 73same name
- tranhieutt/software_development_department★ 72same name
- jakubsuplicki/codument★ 48same name
- nilecui/SkillsBase★ 27same name
- leadgenjay/claude-skills★ 19same name
- Hassaan146/claude-skills★ 18same name
- codeApe-7/ai-agent-workflowGroup★ 17same name
- EmersonBraun/skills★ 4same name
- csiddhant796-blip/claude-skills-collection★ 2same name
- Hussain-Elfalah/Agentic-Skills★ 2same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository37 other files it gives its agents.
- agents/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- commands/CLAUDE.mdCLAUDE.md
- skills/delivery-team/CLAUDE.mdCLAUDE.md
- skills/engineering-team/CLAUDE.mdCLAUDE.md
- skills/marketing-team/CLAUDE.mdCLAUDE.md
- skills/product-team/CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- confluence-expertSkill
- jira-expertSkill
- scrum-masterSkill
- senior-pmSkill
- code-reviewerSkill
- cto-advisorSkill
- senior-architectSkill
- senior-backendSkill
- senior-computer-visionSkill
- senior-data-engineerSkill
- senior-data-scientistSkill
- senior-devopsSkill
- senior-fullstackSkill
- senior-ml-engineerSkill
- senior-prompt-engineerSkill
- senior-qaSkill
- senior-secopsSkill
- senior-securitySkill
- technical-writerSkill
- content-creatorSkill
- marketing-demand-acquisitionSkill
- marketing-strategy-pmmSkill
- agile-product-ownerSkill
- business-analyst-toolkitSkill
- competitive-analysisSkill
- product-manager-toolkitSkill
- product-strategistSkill
- ui-design-systemSkill
- ux-researcher-designerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 21 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
21
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 184
Add tests for each component
- Distinctive: line 185
Document with Storybook stories
- Distinctive: line 205
Use lodash-es for tree-shaking
- Distinctive: line 221
Use Zustand for lightweight global state
- Distinctive: line 237
Create pages with server components
- Distinctive: line 238
Add client components for interactivity
- Distinctive: line 241
Add authentication (JWT or NextAuth)
- Distinctive: line 263
Test user behavior, not implementation
- Distinctive: line 264
Use semantic queries (getByRole, getByLabelText)
- Distinctive: line 280
Test generation with Testing Library
- Distinctive: line 402
Use TypeScript for type safety
- Distinctive: line 403
Follow Atomic Design principles
- Distinctive: line 404
Keep components small and focused
- Distinctive: line 405
Use composition over inheritance
- Distinctive: line 411
Use React.memo for pure components
- Distinctive: line 417
Keep state close to where it's used
- Distinctive: line 418
Use Zustand for simple global state
- Distinctive: line 421
Avoid prop drilling with composition
- Distinctive: line 427
Test error states and edge cases
- Distinctive: line 431
Use semantic HTML elements
- Distinctive: line 435
Test with screen readers
- Very specific: line 474
Project setup: Use frontend_scaffolder.py to generate boilerplate
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Senior Frontend
Core Capabilities
- [Capability 1] - [Description]
- [Capability 2] - [Description]
- [Capability 3] - [Description]
- [Capability 4] - [Description]
Key Workflows
Workflow 1: [Workflow Name]
Time: [Duration estimate]
Steps:
- [Step 1]
- [Step 2]
- [Step 3]
Expected Output: [What success looks like]
Workflow 2: [Workflow Name]
Time: [Duration estimate]
Steps:
- [Step 1]
- [Step 2]
- [Step 3]
Expected Output: [What success looks like]
Expert frontend development skill with comprehensive tools for building modern, performant, and accessible web applications using React, Next.js, and the latest frontend technologies.
Overview
This skill provides production-ready frontend development capabilities through three Python automation tools and extensive reference documentation. Whether building React components, optimizing Next.js applications, implementing state management, or improving performance, this skill ensures best practices and scalable architecture.
What This Skill Provides:
- Component generation with TypeScript, tests, and stories
- Bundle analysis and optimization recommendations
- Project scaffolding for Next.js and React applications
- Component architecture patterns (Atomic Design, Compound Components)
- State management solutions (Zustand, Context + useReducer)
- Performance optimization techniques (code splitting, memoization)
Use this skill when:
- Developing React/Next.js applications
- Building reusable component libraries
- Optimizing frontend performance and bundle size
- Implementing responsive and accessible UIs
- Managing application state
- Testing and documenting components
Quick Start
Component Generation
# Generate component with tests and stories
python scripts/component_generator.py Button --complete
# Generate compound component
python scripts/component_generator.py Select --type compound --complete
# Generate custom hook
python scripts/component_generator.py useDebounce --type hook --testsBundle Analysis
# Analyze Next.js build
npm run build
python scripts/bundle_analyzer.py .next/ --verbose
# Generate HTML report
python scripts/bundle_analyzer.py .next/ --output html --save report.htmlProject Scaffolding
# Create Next.js project
python scripts/frontend_scaffolder.py my-app --framework nextjs --complete
# Start development
cd my-app && npm install && npm run devCore Workflows
1. Building Component Library
Steps:
- Scaffold project:
python scripts/frontend_scaffolder.py ui-library --framework nextjs - Generate atoms: Button, Input, Label components
- Generate molecules: FormField, SearchBar using atoms
- Generate organisms: LoginForm, Navigation using molecules
- Add tests for each component
- Document with Storybook stories
Component Patterns:
- Atomic Design hierarchy (atoms → molecules → organisms)
- TypeScript for type safety
- Tailwind CSS with CVA for variants
- Testing Library for unit tests
- Storybook for documentation
See: frameworks.md for component patterns and templates.md for component templates.
2. Performance Optimization
Optimization Workflow:
- Build for production:
npm run build - Analyze bundle:
python scripts/bundle_analyzer.py .next/ --verbose - Identify large dependencies and duplicates
- Implement optimizations:
- Code splitting with dynamic imports
- Replace large libraries (moment → date-fns)
- Use lodash-es for tree-shaking
- Memoize expensive components
- Re-analyze and verify improvements
Optimization Techniques:
- Lazy loading with React.lazy()
- useMemo and useCallback for expensive operations
- React.memo for component memoization
- Virtual scrolling for long lists
- Image optimization with Next.js Image
See: frameworks.md for performance patterns and memoization examples.
3. State Management Implementation
For Simple State:
- Use Zustand for lightweight global state
- localStorage persistence with middleware
- TypeScript for type-safe state
For Complex State:
- Context + useReducer for complex flows
- Actions and reducers pattern
- Separate context per domain
See: frameworks.md for state management patterns and templates.md for Zustand setup.
4. Next.js Application Development
Development Workflow:
- Scaffold Next.js project with App Router
- Implement layouts (Dashboard, Auth, Marketing)
- Create pages with server components
- Add client components for interactivity
- Implement API routes for backend logic
- Configure data fetching (React Query)
- Add authentication (JWT or NextAuth)
- Optimize for production
Next.js Features:
- Server Components for better performance
- Server-side rendering (SSR) for dynamic content
- Static generation (SSG) for static pages
- API routes for backend endpoints
- Incremental Static Regeneration (ISR)
See: frameworks.md for Next.js patterns and templates.md for project setup.
5. Testing and Quality Assurance
Testing Strategy:
- Unit tests for components (Testing Library)
- Custom hook tests with renderHook
- Integration tests for user flows
- Visual regression tests with Storybook
- E2E tests with Playwright
Testing Best Practices:
- Test user behavior, not implementation
- Use semantic queries (getByRole, getByLabelText)
- Mock external dependencies
- Aim for 80%+ coverage on critical paths
See: templates.md for testing examples and patterns.
Python Tools
component_generator.py
Automated React component generation with TypeScript, tests, and documentation.
Key Features:
- Multiple component types (functional, compound, HOC, hook)
- Atomic design level support (atom, molecule, organism, template)
- Styling options (Tailwind, CSS Modules, styled-components)
- Test generation with Testing Library
- Storybook story generation
- TypeScript definitions with proper types
Usage:
# Complete component with tests and stories
python scripts/component_generator.py Button --complete
# Compound component
python scripts/component_generator.py Select --type compound --complete
# Custom hook with tests
python scripts/component_generator.py useDebounce --type hook --testsSee: tools.md for complete documentation and generated code examples.
bundle_analyzer.py
Advanced bundle analysis for identifying optimization opportunities.
Key Features:
- Bundle size breakdown by page
- Largest dependencies identification
- Duplicate package detection
- Optimization recommendations
- Interactive treemap visualization
- HTML report generation
- Before/after comparisons
Usage:
# Analyze build
python scripts/bundle_analyzer.py .next/ --verbose
# Generate report
python scripts/bundle_analyzer.py .next/ --output html --save report.html
# Compare builds
python scripts/bundle_analyzer.py .next/ --compare baseline.htmlSee: tools.md for analysis features and optimization recommendations.
frontend_scaffolder.py
Complete project scaffolding for Next.js and React applications.
Key Features:
- Next.js 14 (App Router) or React + Vite support
- TypeScript configuration
- Tailwind CSS with custom theme
- State management (Zustand, Redux)
- Form handling (React Hook Form + Zod)
- Testing setup (Jest + Testing Library)
- Storybook configuration
- CI/CD pipelines (GitHub Actions)
Usage:
# Next.js project with all features
python scripts/frontend_scaffolder.py my-app --framework nextjs --complete
# React + Vite project
python scripts/frontend_scaffolder.py my-app --framework react-vite
# Minimal setup
python scripts/frontend_scaffolder.py my-app --minimalSee: tools.md for project structure and configuration details.
Reference Documentation
Architecture Frameworks (frameworks.md)
Comprehensive patterns and best practices:
- Component Patterns: Atomic Design, Compound Components, Render Props
- State Management: Zustand, Context + useReducer, React Query
- Performance Optimization: Code splitting, memoization, virtual scrolling
- Next.js Patterns: Server Components, data fetching, API routes
- Testing Patterns: Component tests, hook tests, integration tests
- Styling Patterns: CSS Modules, Tailwind + CVA, styled-components
- Error Handling: Error boundaries, error states, fallback UIs
Implementation Templates (templates.md)
Production-ready code templates:
- Project Setup: Next.js + TypeScript + Tailwind configuration
- Component Templates: Button, Input, Modal, Form components
- Custom Hooks: useDebounce, useAsync, useLocalStorage
- Layout Templates: Dashboard, Auth, Marketing layouts
- Data Fetching: React Query setup, custom hooks
- Testing Templates: Component tests, hook tests, integration tests
- Environment Configuration: .env setup and feature flags
Python Tools Guide (tools.md)
Complete tool documentation:
- component_generator.py: Component types, options, generated structure
- bundle_analyzer.py: Analysis features, optimization recommendations
- frontend_scaffolder.py: Framework options, project structure, features
Tech Stack
Core: React 18, Next.js 14, TypeScript 5 Styling: Tailwind CSS, CSS Modules, class-variance-authority State: Zustand, React Query, Context API Forms: React Hook Form, Zod validation Testing: Jest, Testing Library, Playwright Docs: Storybook Build: Webpack, Turbopack, Vite Linting: ESLint, Prettier CI/CD: GitHub Actions
Best Practices Summary
Component Design
- Use TypeScript for type safety
- Follow Atomic Design principles
- Keep components small and focused
- Use composition over inheritance
- Implement proper prop types and defaults
Performance
- Code split routes and heavy components
- Memoize expensive computations
- Use React.memo for pure components
- Implement virtual scrolling for long lists
- Optimize images with Next.js Image
- Lazy load below-the-fold content
State Management
- Keep state close to where it's used
- Use Zustand for simple global state
- Context + useReducer for complex flows
- React Query for server state
- Avoid prop drilling with composition
Testing
- Test user behavior, not implementation
- Use semantic queries (getByRole, getByLabelText)
- Mock external dependencies
- Test error states and edge cases
- Maintain 80%+ coverage on critical paths
Accessibility
- Use semantic HTML elements
- Implement proper ARIA labels
- Ensure keyboard navigation
- Maintain color contrast ratios
- Test with screen readers
Common Commands
# Development
npm run dev # Start dev server
npm run build # Build for production
npm start # Start production server
# Testing
npm test # Run tests
npm run test:watch # Watch mode
npm run test:coverage # Coverage report
# Quality
npm run lint # ESLint
npm run format # Prettier
npm run type-check # TypeScript
# Storybook
npm run storybook # Start Storybook
npm run build-storybook # Build static StorybookIntegration Points
This skill integrates with:
- Backend Skills: API consumption, authentication
- Design Skills: Figma integration, design tokens
- QA Skills: E2E testing, visual regression
- DevOps Skills: Docker deployment, CI/CD
- Analytics: Google Analytics, custom events
Getting Help
- Component patterns: See frameworks.md
- Code templates: See templates.md
- Tool usage: See tools.md or run with
--help - Project setup: Use frontend_scaffolder.py to generate boilerplate
Version: 1.0.0 Last Updated: 2025-11-08 Documentation Structure: Progressive disclosure with references/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

