PluginBench
Skill
Pass
Audit score 90

senior-frontend

davila7/claude-code-templates

Comprehensive frontend toolkit for React, Next.js, and TypeScript with component scaffolding, bundle analysis, and performance optimization.

What is senior-frontend?

Senior-frontend is a complete toolkit for building modern, performant web applications using React, Next.js, TypeScript, and Tailwind CSS. Use it when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

  • Generate React components with automated scaffolding and built-in best practices
  • Analyze and optimize bundle size with performance metrics and recommendations
  • Scaffold frontend projects with production-grade configurations
  • Review and apply React and Next.js optimization patterns
  • Validate code quality and security practices

How to install senior-frontend

npx skills add https://github.com/davila7/claude-code-templates --skill senior-frontend
Prerequisites
  • Python 3.x installed
  • Node.js and npm installed
  • Existing React or Next.js project (or willingness to scaffold one)
Claude Code
Cursor
Windsurf
Cline

How to use senior-frontend

  1. 1.Run the component generator to scaffold new components: python scripts/component_generator.py <project-path>
  2. 2.Use the bundle analyzer to identify performance issues: python scripts/bundle_analyzer.py <target-path>
  3. 3.Review reference documentation in references/ for React patterns and Next.js optimization strategies
  4. 4.Apply recommended fixes and best practices from the analysis output
  5. 5.Run quality checks and tests before deploying

Use cases

Good for
  • Building new React or Next.js applications with consistent patterns
  • Analyzing bundle size and identifying performance bottlenecks
  • Generating reusable component libraries with TypeScript
  • Optimizing existing frontend applications for performance
  • Reviewing frontend code against established best practices
Who it's for
  • Senior frontend engineers
  • Full-stack developers building React/Next.js applications
  • Teams implementing TypeScript and modern frontend tooling
  • Developers focused on performance optimization and code quality

senior-frontend FAQ

What frontend frameworks does this skill support?

Primarily React and Next.js with TypeScript. It also references React Native and Flutter in the tech stack, but core capabilities focus on React/Next.js web applications.

Can I use this skill with an existing project?

Yes. The bundle analyzer and component generator can work with existing projects. Run the analyzer on your project path to get optimization recommendations.

What does the bundle analyzer do?

It performs deep analysis of your bundle, provides performance metrics, identifies optimization opportunities, and offers automated fixes and recommendations.

Are there reference guides included?

Yes. The skill includes three comprehensive reference documents: react_patterns.md, nextjs_optimization_guide.md, and frontend_best_practices.md covering patterns, optimization, and best practices.

What if I need help troubleshooting?

Check the troubleshooting section in references/frontend_best_practices.md, review script output messages, and consult the tech stack documentation.

Full instructions (SKILL.md)

Source of truth, from davila7/claude-code-templates.


name: senior-frontend description: Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, 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.

Senior Frontend

Complete toolkit for senior frontend with modern tools and best practices.

Quick Start

Main Capabilities

This skill provides three core capabilities through automated scripts:

# Script 1: Component Generator
python scripts/component_generator.py [options]

# Script 2: Bundle Analyzer
python scripts/bundle_analyzer.py [options]

# Script 3: Frontend Scaffolder
python scripts/frontend_scaffolder.py [options]

Core Capabilities

1. Component Generator

Automated tool for component generator tasks.

Features:

  • Automated scaffolding
  • Best practices built-in
  • Configurable templates
  • Quality checks

Usage:

python scripts/component_generator.py <project-path> [options]

2. Bundle Analyzer

Comprehensive analysis and optimization tool.

Features:

  • Deep analysis
  • Performance metrics
  • Recommendations
  • Automated fixes

Usage:

python scripts/bundle_analyzer.py <target-path> [--verbose]

3. Frontend Scaffolder

Advanced tooling for specialized tasks.

Features:

  • Expert-level automation
  • Custom configurations
  • Integration ready
  • Production-grade output

Usage:

python scripts/frontend_scaffolder.py [arguments] [options]

Reference Documentation

React Patterns

Comprehensive guide available in references/react_patterns.md:

  • Detailed patterns and practices
  • Code examples
  • Best practices
  • Anti-patterns to avoid
  • Real-world scenarios

Nextjs Optimization Guide

Complete workflow documentation in references/nextjs_optimization_guide.md:

  • Step-by-step processes
  • Optimization strategies
  • Tool integrations
  • Performance tuning
  • Troubleshooting guide

Frontend Best Practices

Technical reference guide in references/frontend_best_practices.md:

  • Technology stack details
  • Configuration examples
  • Integration patterns
  • Security considerations
  • Scalability guidelines

Tech Stack

Languages: TypeScript, JavaScript, Python, Go, Swift, Kotlin Frontend: React, Next.js, React Native, Flutter Backend: Node.js, Express, GraphQL, REST APIs Database: PostgreSQL, Prisma, NeonDB, Supabase DevOps: Docker, Kubernetes, Terraform, GitHub Actions, CircleCI Cloud: AWS, GCP, Azure

Development Workflow

1. Setup and Configuration

# Install dependencies
npm install
# or
pip install -r requirements.txt

# Configure environment
cp .env.example .env

2. Run Quality Checks

# Use the analyzer script
python scripts/bundle_analyzer.py .

# Review recommendations
# Apply fixes

3. Implement Best Practices

Follow the patterns and practices documented in:

  • references/react_patterns.md
  • references/nextjs_optimization_guide.md
  • references/frontend_best_practices.md

Best Practices Summary

Code Quality

  • Follow established patterns
  • Write comprehensive tests
  • Document decisions
  • Review regularly

Performance

  • Measure before optimizing
  • Use appropriate caching
  • Optimize critical paths
  • Monitor in production

Security

  • Validate all inputs
  • Use parameterized queries
  • Implement proper authentication
  • Keep dependencies updated

Maintainability

  • Write clear code
  • Use consistent naming
  • Add helpful comments
  • Keep it simple

Common Commands

# Development
npm run dev
npm run build
npm run test
npm run lint

# Analysis
python scripts/bundle_analyzer.py .
python scripts/frontend_scaffolder.py --analyze

# Deployment
docker build -t app:latest .
docker-compose up -d
kubectl apply -f k8s/

Troubleshooting

Common Issues

Check the comprehensive troubleshooting section in references/frontend_best_practices.md.

Getting Help

  • Review reference documentation
  • Check script output messages
  • Consult tech stack documentation
  • Review error logs

Resources

  • Pattern Reference: references/react_patterns.md
  • Workflow Guide: references/nextjs_optimization_guide.md
  • Technical Guide: references/frontend_best_practices.md
  • Tool Scripts: scripts/ directory

Related skills

More from davila7/claude-code-templates and the wider catalog.

SEsenior-fullstack logo

senior-fullstack

davila7/claude-code-templates

Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects, analyzing code quality, implementing design patterns, or setting up development workflows.

853 installsAudited
SEsenior-ml-engineer logo

senior-ml-engineer

davila7/claude-code-templates

World-class ML engineering skill for productionizing ML models, MLOps, and building scalable ML systems. Expertise in PyTorch, TensorFlow, model deployment, feature stores, model monitoring, and ML infrastructure. Includes LLM integration, fine-tuning, RAG systems, and agentic AI. Use when deploying ML models, building ML platforms, implementing MLOps, or integrating LLMs into production systems.

706 installs
SEsenior-prompt-engineer logo

senior-prompt-engineer

davila7/claude-code-templates

World-class prompt engineering skill for LLM optimization, prompt patterns, structured outputs, and AI product development. Expertise in Claude, GPT-4, prompt design patterns, few-shot learning, chain-of-thought, and AI evaluation. Includes RAG optimization, agent design, and LLM system architecture. Use when building AI products, optimizing LLM performance, designing agentic systems, or implementing advanced prompting techniques.

802 installs
SEsenior-qa logo

senior-qa

davila7/claude-code-templates

Comprehensive QA and testing skill for quality assurance, test automation, and testing strategies for ReactJS, NextJS, NodeJS applications. Includes test suite generation, coverage analysis, E2E testing setup, and quality metrics. Use when designing test strategies, writing test cases, implementing test automation, performing manual testing, or analyzing test coverage.

935 installs
SEsenior-security logo

senior-security

davila7/claude-code-templates

Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing. Includes security assessment tools, threat modeling, crypto implementation, and security automation. Use when designing security architecture, conducting penetration tests, implementing cryptography, or performing security audits.

778 installsAudited
SESEO Optimizer logo

SEO Optimizer

davila7/claude-code-templates

Search Engine Optimization specialist for content strategy, technical SEO, keyword research, and ranking improvements. Use when optimizing website content, improving search rankings, conducting keyword analysis, or implementing SEO best practices. Expert in on-page SEO, meta tags, schema markup, and Core Web Vitals.

818 installs