senior-frontend

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

1|Updated Aug 17, 2025
One-click install
npx skills add https://github.com/ratnesh-maurya/mdconverter --skill senior-frontend-ratnesh-maurya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: senior-frontend
Source: https://github.com/ratnesh-maurya/mdconverter/tree/main/.claude/skills/senior-frontend
Command: npx skills add https://github.com/ratnesh-maurya/mdconverter --skill senior-frontend-ratnesh-maurya

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 with heavy dependencies and missing accessibility or performance optimizations. ## 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. - Bundle Analysis: Score project bundle health, detect heavy dependencies like moment or lodash, and recommend lighter alternatives and Next.js config optimizations. - Use Case: When starting a new dashboard, run the scaffolder to generate a Next.js project with auth and React Query, then generate typed UI components and audit the bundle before deployment. ## Quick Start Ask the assistant to scaffold a new Next.js project named my-app with TypeScript, Tailwind CSS, and authentication 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 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 App Router structure, UI components, hooks, Tailwind config, and package.json, with optional features like auth, api, forms, testing, and storybook.

How to generate a React component with tests and Storybook stories?

Use component_generator.py with the component name and the --with-test and --with-story flags. It creates a TypeScript component file, a Testing Library test file, a Storybook story, and an index export in the specified output directory.

What are lighter alternatives to moment and lodash in React apps?

Replace moment (290KB) with date-fns (12KB) or dayjs (2KB), and replace lodash with lodash-es using tree-shaking or individual imports. The bundle analyzer script detects these heavy packages and prints the recommended alternatives automatically.

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, keeping client JavaScript minimal for better performance.

Does the bundle analyzer work with non-Next.js React projects?

Yes, the analyzer works with any project containing a valid package.json, including React + Vite apps. Next.js-specific config checks are skipped gracefully when no next.config file is found, though a missing config slightly lowers the health score.