senior-frontend

Scaffold, generate, and analyze React and Next.js frontend projects with TypeScript and Tailwind CSS.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill senior-frontend-tgoldi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: senior-frontend
Source: https://github.com/Tgoldi/claude-skills/tree/main/senior-frontend
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill senior-frontend-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Frontend developers repeatedly write the same boilerplate for new projects, components, and hooks, and often ship bloated bundles because heavy dependencies and poor import patterns go unnoticed. This Skill automates project scaffolding, component generation, and bundle analysis for React/Next.js codebases. ## Core Features & Use Cases - Project Scaffolding: Generate complete Next.js 14+ (App Router) or React + Vite projects with TypeScript, Tailwind CSS, and optional features like auth, React Query, forms, testing, and Storybook. - Component Generation: Create client components, server components, or custom hooks with optional test files and Storybook stories following TypeScript best practices. - Bundle Analysis: Score a project's bundle health (0-100), detect heavy dependencies like moment or lodash, flag dev packages in production dependencies, and suggest lighter alternatives. - Use Case: Run the bundle analyzer on an existing Next.js app to discover that moment.js adds 290KB, then scaffold a replacement date utility and regenerate components using the lighter dayjs alternative. ## Quick Start Ask the assistant to scaffold a new Next.js project named my-app with authentication and testing features, then analyze its bundle health.

Frequently Asked Questions about senior-frontend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Next.js project with TypeScript and Tailwind CSS?

Run the frontend_scaffolder.py script with your project name and the nextjs template flag. It generates the full App Router structure, Tailwind config, TypeScript config, and UI components, with optional features like auth, api, forms, testing, and storybook.

How do I find heavy dependencies in my React bundle?

Run the bundle_analyzer.py script against your project directory. It parses package.json, flags heavy packages like moment (290KB) and lodash (71KB), suggests lighter alternatives, and outputs a bundle health score from 0 to 100.

What is the difference between Next.js server and client components?

Server Components render on the server by default and suit data-heavy, non-interactive content. Client Components require the 'use client' directive and are needed only for event handlers, state, effects, or browser APIs.

Can I generate React components with tests and Storybook stories?

Yes, the component_generator.py script supports --with-test and --with-story flags. It creates the component file plus a Testing Library test file and a Storybook story, with options for client, server, or hook component types.

Why should I replace moment.js with date-fns or dayjs?

Moment bundles about 290KB because it includes all locale files by default. Date-fns (12KB) and dayjs (2KB) provide equivalent date functionality with dramatically smaller bundle impact and better tree-shaking support.