frontend-dev-guidelines

Codify React/TypeScript guidelines for components, data fetching, routing, and styling.

Updated Nov 26, 2025
One-click install
npx skills add https://github.com/miethe/family-shopping-dashboard --skill frontend-dev-guidelines-miethe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-dev-guidelines
Source: https://github.com/miethe/family-shopping-dashboard/tree/main/.claude/skills/frontend-development
Command: npx skills add https://github.com/miethe/family-shopping-dashboard --skill frontend-dev-guidelines-miethe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive, up-to-date guidelines for building high-quality React/TypeScript applications. It ensures consistency, performance, and maintainability across large codebases, helping developers avoid common pitfalls and adopt modern best practices.

Core Features & Use Cases

  • Modern React Patterns: Emphasizes Suspense-based data fetching (useSuspenseQuery), lazy loading, and efficient component architecture to improve user experience and application performance.
  • Structured File Organization: Guides on organizing code into features/ and components/ directories, promoting modularity, reusability, and scalability for complex projects.
  • Performance Optimization: Covers useMemo, useCallback, React.memo, and debouncing to prevent unnecessary re-renders, optimize computations, and avoid memory leaks.
  • Use Case: A developer is tasked with building a new feature in a React/TypeScript application. This skill provides a checklist for creating new components, structuring the feature's directories, implementing data fetching, and ensuring adherence to styling and routing standards, all while optimizing for performance.

Quick Start

I need to create a new React component. Provide a checklist for modern component patterns, including lazy loading, Suspense, and data fetching.

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 application for consistency and scalability?

Organize code into `features/` and `components/` directories with a feature-oriented structure. This modular approach promotes reusability, maintainability, and scalability across large codebases while ensuring consistent implementation patterns across your team.

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

Use `useSuspenseQuery` from TanStack Query to fetch data with built-in Suspense support, eliminating manual loading states. Combine with Suspense boundaries to handle async operations cleanly and improve user experience through proper data fetching patterns.

How do I optimize React component performance and prevent unnecessary re-renders?

Apply `useMemo`, `useCallback`, and `React.memo` to prevent unnecessary re-renders, optimize computations, and avoid memory leaks. Implement debouncing for expensive operations to maintain application performance at scale.

Can I use MUI v7 with TanStack Router and lazy loading in a TypeScript project?

Yes. MUI v7 integrates seamlessly with TanStack Router and lazy loading patterns. This skill specifies type-safe conventions for sx-based styling, routing configuration, and lazy-loaded components that work together across modern React/TypeScript applications.

What type-safety patterns should I follow when building React components?

Enforce type-safe patterns throughout your codebase using TypeScript, including properly typed props, hooks, and data fetching. This prevents runtime errors and ensures consistency across components, pages, and feature implementations.

Why is lazy loading and alias imports important in modern React applications?

Lazy loading reduces initial bundle size and improves performance by code-splitting features. Alias imports improve code readability and maintainability by replacing relative paths with clean, absolute import paths across your feature-oriented structure.