frontend-dev-guidelines

Guide React frontend development with Suspense, lazy loading, and TypeScript best practices.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/lips85/antigravity-skills-bootstrap --skill frontend-dev-guidelines-lips85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-dev-guidelines
Source: https://github.com/lips85/antigravity-skills-bootstrap/tree/main/skills/frontend-dev-guidelines
Command: npx skills add https://github.com/lips85/antigravity-skills-bootstrap --skill frontend-dev-guidelines-lips85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of guidelines and patterns to ensure frontend development adheres to modern best practices, leading to more maintainable, performant, and scalable React applications.

Core Features & Use Cases

  • Standardized Project Structure: Enforces consistent file organization using features and components directories.
  • Modern React Patterns: Guides on using Suspense, lazy loading, and TanStack Query for efficient data fetching and rendering.
  • TypeScript Integration: Promotes strong typing with explicit return types and type imports.
  • Use Case: When starting a new React project or refactoring an existing one, use this Skill to establish a robust and scalable frontend architecture.

Quick Start

Follow the frontend development guidelines to create a new React component.

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 structuring a modern React project?

Modern React project structure best practices organize files into dedicated features and components directories, ensuring maintainability and scalability. This standardized approach separates concerns, making large applications easier to navigate and refactor.

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

Implement Suspense and lazy loading in React by wrapping dynamic component imports and asynchronous data fetching boundaries with the Suspense component. This pattern defers rendering until data or code is ready, improving initial load performance.

How do I integrate TanStack Query for data fetching with TypeScript?

Integrate TanStack Query for React data fetching by defining strongly typed query hooks with explicit return types and type imports. This TypeScript integration ensures type safety across your API state management and data fetching processes.

Does this React guidelines approach work with MUI v7 and TanStack Router?

Yes, these React guidelines explicitly support building applications with MUI v7 for styling and TanStack Router for routing. The patterns integrate these specific tools to create a cohesive and performant modern frontend architecture.

When should I use TypeScript type imports and explicit return types in React components?

Use TypeScript type imports and explicit return types in React components to enforce strong typing across your application. This practice prevents type-related runtime errors and improves overall code maintainability and developer experience.