frontend-dev-guidelines

Standardize React/TypeScript frontend development with feature-based organization and tooling references.

Updated Nov 14, 2025
One-click install
npx skills add https://github.com/Donaldshen27/xtrend-vanilla --skill frontend-dev-guidelines-donaldshen27
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-dev-guidelines
Source: https://github.com/Donaldshen27/xtrend-vanilla/tree/main/.claude/skills/frontend-dev-guidelines
Command: npx skills add https://github.com/Donaldshen27/xtrend-vanilla --skill frontend-dev-guidelines-donaldshen27

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Frontend teams often struggle with inconsistent patterns, slow onboarding, and brittle codebases. This guide standardizes React/TypeScript frontend practices to improve maintainability, collaboration, and performance across projects.

Core Features & Use Cases

  • Modern patterns including Suspense, lazy loading, useSuspenseQuery, and a features-based file organization.
  • Styling with MUI v7 and routing with TanStack Router to promote scalable frontend architectures.
  • Use cases include creating components and pages, building new features, fetching data, routing, and maintaining consistent code structure.

Quick Start

Integrate these guidelines into your daily workflows to apply patterns and templates across components, routes, and styling, and see consistent, maintainable results.

Frequently Asked Questions about frontend-dev-guidelines

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

FAQPage Schema
What are the best practices for organizing a React and TypeScript frontend project?

Organizing React and TypeScript projects uses a feature-based file structure to group components, routes, and logic by domain rather than file type. This approach improves maintainability, speeds up onboarding, and ensures consistent patterns across cross-team collaboration.

How do I implement Suspense and lazy loading for data fetching in React?

Implementing Suspense and lazy loading in React involves using useSuspenseQuery for data fetching and wrapping route components in Suspense boundaries. This standardizes data fetching patterns, defers loading non-critical assets, and improves overall frontend performance.

Does this frontend guideline support MUI v7 and TanStack Router?

Yes, these frontend guidelines specifically support styling with MUI v7 and routing with TanStack Router. Integrating these libraries promotes a scalable frontend architecture by providing standardized component design and type-safe routing templates.

How do I standardize component design and routing patterns across my frontend team?

Standardizing component design and routing requires applying consistent templates and tooling references like folder aliases across your codebase. Establishing a standardized React and TypeScript development guide ensures all team members follow identical patterns for creating components and pages.

How does a feature-based folder structure improve React onboarding?

A feature-based folder structure improves React onboarding by grouping all related files—components, styles, and data fetching logic—into single feature directories. This reduces context switching, makes code boundaries clear, and helps new developers locate relevant code faster.

When should I apply standardized templates for frontend architecture?

Apply standardized templates for frontend architecture when struggling with inconsistent patterns, slow onboarding, or brittle codebases. Using clear templates and example implementations ensures consistency and performance across all frontend work, especially during cross-team collaboration.