senior-frontend

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

26|3|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/robertbstillwell/marketing-skills --skill senior-frontend-robertbstillwell
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: senior-frontend
Source: https://github.com/robertbstillwell/marketing-skills/tree/main/alirezarezvani/engineering-team/senior-frontend
Command: npx skills add https://github.com/robertbstillwell/marketing-skills --skill senior-frontend-robertbstillwell

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Setting up React/Next.js projects, writing boilerplate components, and diagnosing bundle bloat are repetitive tasks that slow down frontend development and lead to inconsistent code quality. ## Core Features & Use Cases - Project Scaffolding: Generate complete Next.js 14+ or React+Vite projects with TypeScript, Tailwind CSS, and optional features like auth, API clients, forms, testing, and Storybook. - Component Generation: Create client components, server components, and custom hooks with optional test files and Storybook stories following best practices. - Bundle Analysis: Analyze package.json for heavy dependencies (moment, lodash, jquery), misplaced dev dependencies, and import anti-patterns, producing a health score with concrete alternatives. - Use Case: Run the bundle analyzer on an existing Next.js app to discover that moment.js adds 290KB, then replace it with dayjs and re-verify the improved bundle health score. ## Quick Start Ask the agent to scaffold a new Next.js project named my-app with authentication and testing features enabled.

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 new Next.js project with TypeScript and Tailwind?▼

Run the frontend_scaffolder.py script with your project name and the nextjs template flag. It generates the 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 scans package.json for known heavy packages like moment (290KB), lodash (71KB), and jquery (87KB), then suggests lighter alternatives and assigns a bundle health score from 0 to 100.

When should I use Server Components vs Client Components in Next.js?▼

Use Server Components by default for data fetching and non-interactive content. Add 'use client' only when you need event handlers, useState, useEffect, or browser APIs, since client components increase the JavaScript bundle sent to the browser.

Can the component generator create tests and Storybook stories?▼

Yes, pass the --with-test and --with-story flags to component_generator.py. It creates a Testing Library test file and a Storybook story alongside the component, plus an index.ts barrel export unless you use --flat or --no-index.

What are lighter alternatives to moment and lodash?▼

Replace moment (290KB) with date-fns (12KB) or dayjs (2KB), and replace lodash with lodash-es using tree-shaking or individual imports like lodash/get. The analyzer also recommends native fetch over axios and native DOM APIs over jquery.