New to Claude Skills? Learn how to install them →

Sdavila7 on GitHub

Senior Frontend

Free

A comprehensive toolkit for modern web development.

Get this skill

Free · Opens the source repo

What Senior Frontend does

The Senior Frontend skill offers a complete set of tools and best practices for building modern, performant web applications using popular technologies like ReactJS, NextJS, TypeScript, and Tailwind CSS. It is designed for developers who want to streamline their frontend development process while adhering to industry standards. This skill includes automated scripts that facilitate component generation, bundle analysis, and frontend scaffolding, making it easier to implement complex features and maintain high-quality code.

The skill provides three main capabilities through its scripts: the Component Generator, which automates the creation of reusable components with built-in best practices; the Bundle Analyzer, which offers deep insights into application performance and optimization recommendations; and the Frontend Scaffolder, which helps set up projects with expert-level automation and production-ready configurations. Each script is designed to enhance productivity by reducing the manual overhead typically associated with frontend development tasks.

In addition to the automation scripts, the skill includes reference documentation that covers React patterns, Next.js optimization strategies, and frontend best practices. These resources provide developers with the necessary knowledge to implement effective UI/UX designs, manage application state, and conduct thorough code reviews. By following the guidelines and utilizing the tools provided, developers can ensure their applications are not only functional but also optimized for performance and maintainability.

This skill is particularly useful for senior developers and teams looking to enhance their frontend development workflows, improve code quality, and adopt modern practices. Whether you're working on new features, optimizing existing applications, or ensuring adherence to best practices, the Senior Frontend skill equips you with the tools needed to succeed in a competitive landscape.

When to use it

Use this skill when developing new frontend features, optimizing performance, or implementing UI/UX designs in modern web applications.

When not to use it

This skill may not be suitable for simple projects or when working with legacy technologies that do not align with the modern stack it supports.

What you can build with it

Automating Component Creation

Use the Component Generator to quickly scaffold reusable components, ensuring adherence to best practices.

Performance Optimization

Run the Bundle Analyzer to identify performance bottlenecks and receive actionable recommendations for improvement.

Project Setup and Configuration

Utilize the Frontend Scaffolder to set up new projects with expert-level automation and production-ready configurations.

How to install Senior Frontend

View source

1. Install with the skills CLI

npx skills add davila7/claude-code-templates/senior-frontend --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by davila7

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

Frequently asked questions about Senior Frontend

Similar skills