frontend-dev-guidelines

none needed, doc is empty or missing.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/toanalien/ezdevsecops --skill frontend-dev-guidelines-toanalien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-dev-guidelines
Source: https://github.com/toanalien/ezdevsecops/tree/main/.opencode/skills/frontend-development
Command: npx skills add https://github.com/toanalien/ezdevsecops --skill frontend-dev-guidelines-toanalien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and set of best practices for building modern, performant, and maintainable React and TypeScript frontends, streamlining development and ensuring consistency.

Core Features & Use Cases

  • Component Development: Guidelines for creating reusable and efficient React components.
  • Data Fetching: Standardized approach using useSuspenseQuery and Suspense for seamless loading states.
  • Routing: Implementation details for TanStack Router for structured navigation.
  • Styling: Best practices for styling with MUI v7, including inline vs. separate files.
  • Performance Optimization: Techniques like lazy loading, useCallback, and useMemo.
  • Use Case: When starting a new feature, follow the "New Feature Checklist" to ensure proper structure, data fetching, and routing setup.

Quick Start

Follow the "New Component Checklist" to create a new React component, ensuring it's lazy-loaded and wrapped in a Suspense boundary.

Frequently Asked Questions about frontend-dev-guidelines

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

FAQPage Schema
What is the best way to structure data fetching in modern React applications?

For modern React applications, the best practice for data fetching is using `useSuspenseQuery` combined with Suspense boundaries. This approach standardizes loading states and ensures components remain clean while managing asynchronous data predictably.

How do I set up routing with TanStack Router in a TypeScript project?

To set up TanStack Router, follow the provided routing implementation details for structured navigation within your TypeScript project. This ensures type-safe routing and maintainable navigation structures for modern frontend development.

Does this guide cover styling practices for MUI v7?

Yes, these guidelines cover MUI v7 styling best practices, including recommendations on when to use inline styles versus separate files. This ensures consistent and maintainable styling across your React components.

How do I optimize React performance using useCallback and useMemo?

To optimize React performance, apply techniques like lazy loading, `useCallback`, and `useMemo` as specified in the guidelines. These patterns prevent unnecessary re-renders and memoize expensive calculations for efficient component updates.

What TypeScript standards should I follow for new React component development?

For new React component development, follow the TypeScript standards outlined in the guidelines to ensure type safety and maintainability. The "New Component Checklist" helps verify proper structure, lazy loading, and Suspense boundary wrapping.

When should I use Suspense boundaries in React frontend development?

You should use Suspense boundaries in React frontend development when implementing `useSuspenseQuery` for data fetching. Wrapping lazy-loaded components in Suspense boundaries provides seamless loading states and improves user experience.