frontend-dev-guidelines

Standardize React/TypeScript frontend development with TanStack Query, TanStack Router, and MUI v7.

11|3|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/dwalleck/catalyst --skill frontend-dev-guidelines-dwalleck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-dev-guidelines
Source: https://github.com/dwalleck/catalyst/tree/main/.claude/skills/frontend-dev-guidelines
Command: npx skills add https://github.com/dwalleck/catalyst --skill frontend-dev-guidelines-dwalleck

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Frontend development can be complex, inconsistent, and slow without clear guidelines. This Skill provides a comprehensive, opinionated guide to modern React/TypeScript development, ensuring consistency, performance, and maintainability across your applications. It eliminates guesswork and reduces the time spent on architectural decisions and debugging common anti-patterns.

Core Features & Use Cases

  • Modern React Patterns: Implement Suspense-based data fetching, lazy loading, and efficient component structures to build high-performance UIs.
  • Structured Development: Organize your frontend code with clear feature directories, consistent styling (MUI v7), and robust routing (TanStack Router).
  • Performance & Type Safety: Optimize rendering with memoization, prevent memory leaks, and enforce strict TypeScript standards to catch errors early.
  • Use Case: When starting a new React feature, use this Skill to instantly get checklists for component creation, data fetching with useSuspenseQuery, file organization, and styling, ensuring your code adheres to best practices from the start.

Quick Start

To get a quick checklist for creating a new React component, ask: "Give me the new component checklist from the frontend-dev-guidelines skill."

Frequently Asked Questions about frontend-dev-guidelines

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

FAQPage Schema
How do I structure a React/TypeScript project with best practices for performance and maintainability?

Organize your React/TypeScript project using feature-based directories, enforce strict type safety with TypeScript conventions, implement Suspense-based data fetching with TanStack Query, use lazy loading for components, and style with MUI v7. This structure reduces inconsistency, prevents common anti-patterns, and ensures performance optimization across your codebase.

What's the best way to handle data fetching in React with TanStack Query and Suspense?

Use `useSuspenseQuery` from TanStack Query to fetch data with Suspense boundaries, centralizing API services for consistency. This approach enables efficient rendering, prevents memory leaks, and integrates Suspense-based data fetching patterns that improve perceived performance and reduce loading-state complexity.

How do I create a new React component following TypeScript and MUI v7 standards?

Use the component creation checklist: define strict TypeScript types, apply MUI v7 styling consistently, organize files in your feature directory, implement memoization where needed, and follow established component patterns. This ensures your components adhere to best practices from creation and reduces debugging time.

Can I use TanStack Router for routing in a TypeScript React application?

Yes, TanStack Router works with TypeScript React applications for type-safe routing. This Skill provides guidance on integrating TanStack Router within your feature-based folder organization, ensuring consistent routing patterns and maintaining strict type safety across your navigation layer.

What are the key performance optimization techniques for React applications?

Optimize rendering with memoization, implement lazy loading for code splitting, use Suspense for data fetching, prevent memory leaks through proper cleanup, and enforce strict TypeScript standards to catch errors early. These techniques collectively reduce bundle size and improve runtime performance.