frontend-dev-guidelines

Provide standardized React/TypeScript frontend development guidance for components, styling, and routing.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/The1Studio/theone-training-skills --skill frontend-dev-guidelines-the1studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-dev-guidelines
Source: https://github.com/The1Studio/theone-training-skills/tree/main/frontend-development
Command: npx skills add https://github.com/The1Studio/theone-training-skills --skill frontend-dev-guidelines-the1studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Modern frontend development is complex, with rapidly evolving best practices, performance pitfalls, and inconsistent patterns. This Skill provides a comprehensive, opinionated guide to streamline React/TypeScript development, ensuring consistency, high performance, and maintainability across your projects. It eliminates guesswork and reduces the learning curve for new developers.

Core Features & Use Cases

  • Modern React Patterns: Implement Suspense-based data fetching, lazy loading, and efficient component structures to build highly responsive applications.
  • Optimized Architecture: Follow clear guidelines for file organization, routing with TanStack Router, and consistent MUI v7 styling.
  • Performance & Type Safety: Adhere to best practices for performance optimization (e.g., useMemo, useCallback) and strict TypeScript adherence to prevent common bugs.
  • Use Case: When starting a new React/TypeScript project, onboarding new team members, or refactoring an existing codebase, use this Skill to quickly establish a robust, performant, and maintainable frontend architecture.

Quick Start

Help me create a new React component that fetches data using useSuspenseQuery and follows the recommended styling and file organization patterns.

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 component with TypeScript and data fetching best practices?

Structure React components using React.FC with TypeScript types, implement data fetching with useSuspenseQuery wrapped in Suspense boundaries, and organize files by feature. This ensures type safety, efficient loading states, and maintainable code across your application.

What's the best way to style components in modern React with Material-UI?

Use MUI v7 styling with the sx prop for component-level styles, maintaining consistency across your design system. This approach provides type-safe styling, responsive design support, and integrates seamlessly with React component patterns.

How do I optimize performance in React/TypeScript applications?

Optimize performance by implementing lazy loading for routes, using useMemo and useCallback to prevent unnecessary re-renders, applying Suspense boundaries for data fetching, and maintaining strict TypeScript typing to catch bugs early.

Can I use TanStack Router with TypeScript in a React application?

Yes, TanStack Router integrates with React/TypeScript projects to provide type-safe routing with file organization patterns. It enables feature-based directory structures and works with Suspense-based data fetching for consistent navigation architecture.

When should I use useSuspenseQuery instead of other data fetching methods?

Use useSuspenseQuery when you want declarative data fetching integrated with React Suspense boundaries, enabling cleaner loading and error handling. It's ideal for building responsive applications with predictable data flow and strict loading state management.

How do I organize a large React/TypeScript project for maintainability?

Organize by feature using feature-based file structures, separate components and pages logically, apply consistent styling with MUI v7, use TanStack Router for routing, and enforce strict TypeScript typing. This structure scales across teams and simplifies onboarding.