frontend-expert

Codify React/TypeScript frontend best practices with Suspense, TanStack Router, and MUI v7.

Updated Apr 19, 2026
One-click install
npx skills add https://github.com/saranskumar/anti-slop --skill frontend-expert-saranskumar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-expert
Source: https://github.com/saranskumar/anti-slop/tree/main/archive/skills-legacy/frontend-expert
Command: npx skills add https://github.com/saranskumar/anti-slop --skill frontend-expert-saranskumar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Frontend development often suffers from inconsistent architecture and repetitive boilerplate when building React/TypeScript components. This Skill consolidates best practices into a single, reusable guideline that enforces performance, type safety, and modern patterns.

Core Features & Use Cases

  • Suspense-first data fetching: promotes no-spinner loading boundaries and predictable UI behavior.
  • Strict TypeScript discipline: enforces explicit interfaces and no usage of any.
  • Modern patterns & tooling: includes useSuspenseQuery, TanStack Router, and MUI v7 styling conventions.
  • Component quality & organization: provides a checklist and folder structure recommendation for scalable apps.

Quick Start

Follow the Frontend Expert guidelines to craft a new React/TypeScript component with Suspense, strict typings, and optimized performance.

Frequently Asked Questions about frontend-expert

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

FAQPage Schema
How do I structure React TypeScript components for scalable frontend architecture?

Use a checklist and folder structure recommendation for scalable apps. This enforces component quality, strict TypeScript discipline with explicit interfaces, and performance-focused patterns to maintain consistent frontend architecture.

What is the best way to handle data fetching with Suspense in React?

Handle data fetching with Suspense using the useSuspenseQuery hook to promote no-spinner loading boundaries. This ensures predictable UI behavior and a Suspense-first approach to loading states across modern stacks.

Does this frontend approach work with TanStack Router and MUI v7?

Yes, the approach works with TanStack Router and MUI v7 styling conventions. It codifies modern patterns and tooling to create production-ready React components using these specific frameworks.

How do I enforce strict TypeScript usage in React component development?

Enforce strict TypeScript usage by applying detailed templates and checklists that demand explicit interfaces and prohibit the use of any. This discipline ensures type safety throughout your React components and features.

Why use Suspense boundaries instead of spinners for loading states?

Use Suspense boundaries instead of spinners to achieve no-spinner loading boundaries and predictable UI behavior. This Suspense-first data fetching pattern prevents layout shifts and provides a smoother user experience.

What are the limitations of using strict TypeScript and lazy loading in modern React?

Strict TypeScript and lazy loading require adherence to explicit interfaces and performance-focused patterns. While this prevents the use of any and optimizes loading, it demands careful component organization and strict template compliance.