frontend-development

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

Updated Dec 12, 2025
One-click install
npx skills add https://github.com/hungtrandigital/ResidentOne --skill frontend-development-hungtrandigital
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-development
Source: https://github.com/hungtrandigital/ResidentOne/tree/main/0-agents/agents/skills/frontend-development
Command: npx skills add https://github.com/hungtrandigital/ResidentOne --skill frontend-development-hungtrandigital

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guidelines for building maintainable, scalable frontends using modern patterns and TypeScript best practices.

Core Features & Use Cases

  • Component patterns, data fetching, file organization, routing, styling
  • TypeScript standards and no-undefined types
  • Performance optimization and testing guidance

Quick Start

Create a new React component following the standard patterns and run tests.

Frequently Asked Questions about frontend-development

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

FAQPage Schema
How do I structure a React component following TypeScript best practices?

React components should follow React.FC<Props> patterns with TypeScript strict typing, no undefined types, and proper prop interfaces. This ensures type safety and maintainability across your frontend codebase while preventing runtime errors from missing or incorrect props.

What's the best way to handle data fetching in React with performance in mind?

Use Suspense-based data fetching with useSuspenseQuery and lazy loading via React.lazy and SuspenseLoader. This pattern improves performance by deferring component rendering until data arrives, reducing initial load time and enhancing user experience.

How should I organize files and routing in a large React/TypeScript project?

Organize code using feature-based directories and TanStack Router for type-safe routing. This structure scales across pages, components, and features while maintaining clear separation of concerns and making codebase navigation intuitive.

Can I use MUI v7 styling with TypeScript in modern React apps?

Yes, MUI v7 styling integrates with React/TypeScript projects via sx-based styling patterns. This approach provides type-safe, scoped styling directly on components while maintaining consistency with Material-UI design systems.

What testing and performance guidelines apply to React/TypeScript frontends?

Testing guidance covers component validation and integration patterns specific to React/TypeScript. Performance optimization focuses on lazy loading, code splitting, and efficient data fetching to maintain responsive user interfaces at scale.

How do I enforce frontend guidelines consistently across a React team?

Frontend guidelines enforcement automates standards for components, pages, features, data fetching, styling, and routing. This ensures all developers follow the same patterns, reducing code review friction and maintaining a cohesive, maintainable codebase.