Frontend Development Guidelines

Define React frontend development guidelines for Suspense-based data fetching and scalable structure.

1|Updated Aug 31, 2025
One-click install
npx skills add https://github.com/Hao-Nguyen2712/TripEnjoy-Solution --skill frontend-development-guidelines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Frontend Development Guidelines
Source: https://github.com/Hao-Nguyen2712/TripEnjoy-Solution/tree/main/.github/copilot-instructions/skills/frontend-development
Command: npx skills add https://github.com/Hao-Nguyen2712/TripEnjoy-Solution --skill frontend-development-guidelines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Aligns teams on best practices for building maintainable, scalable frontends with modern React patterns, reducing architectural drift and onboarding time.

Core Features & Use Cases

  • Suspense-based data fetching and lazy loading to improve UX and performance
  • Clear file organization with features/ vs components/ to separate domain logic from UI
  • Standardized routing, styling, and performance guidelines using TanStack Router and MUI
  • Centralized API service patterns and type-safe contracts to simplify data access and mutations

Quick Start

Use the Frontend Development Guidelines to align your team on modern React frontend patterns and start refactoring components toward Suspense-based data fetching and modular structure.

Frequently Asked Questions about Frontend Development Guidelines

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

FAQPage Schema
How do I structure a scalable React project using feature-driven architecture?

Structure scalable React projects by separating domain logic into a features/ directory and shared UI into a components/ directory, applying feature-driven architecture to reduce architectural drift and simplify team onboarding.

What's the best way to implement Suspense-based data fetching and lazy loading in React?

Implement Suspense-based data fetching by wrapping lazy-loaded components in Suspense boundaries to improve UX and performance, standardizing centralized API service patterns to simplify data access and mutations across your React application.

How do I set up routing and styling with TanStack Router and MUI in a React application?

Set up routing and styling by standardizing your React application with TanStack Router for navigation and MUI for styling, applying consistent performance and design guidelines across all feature-driven UI components.

Does this React frontend pattern require strict TypeScript standards and import aliases?

Yes, these React frontend patterns require strict TypeScript standards and import alias usage to enforce type-safe contracts, simplify data access, and enable consistent, safe, and scalable UI development across the project.

When should I separate domain logic from shared UI components in a React frontend?

Separate domain logic from shared UI when scaling React applications, placing domain-specific modules in a features/ directory and reusable UI elements in a components/ directory to maintain a clean, modular architecture.