New advertisers: 50% off your first month with code FIRSTMONTHSee slots
davila7 avatar

Frontend Dev Guidelines

React and TypeScript frontend standards covering Suspense data fetching, MUI v7 styling, and TanStack Router conventions.

skills.sh installs
713
GitHub stars
34.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers component patterns, data fetching, file organization, styling, routing, loading states, performance, and TypeScript standards
  • Includes a new-component checklist, a new-feature checklist, an import-alias reference (@/, ~types, ~components, ~features), and a common-imports cheatsheet
  • Enforces useSuspenseQuery with Suspense boundaries, no early loading-spinner returns, and useMuiSnackbar over react-toastify
  • Designed for teams building React applications that use MUI v7 and TanStack Query and Router

Install

$ npx -y skills add davila7/claude-code-templates --skill frontend-dev-guidelines -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Frontend Development Guidelines

Purpose

Comprehensive guide for modern React development, emphasizing Suspense-based data fetching, lazy loading, proper file organization, and performance optimization.

When to Use This Skill

  • Creating new components or pages
  • Building new features
  • Fetching data with TanStack Query
  • Setting up routing with TanStack Router
  • Styling components with MUI v7
  • Performance optimization
  • Organizing frontend code
  • TypeScript best practices

Quick Start

New Component Checklist

Creating a component? Follow this checklist:

  • Use React.FC<Props> pattern with TypeScript
  • Lazy load if heavy component: React.lazy(() => import())
  • Wrap in <SuspenseLoader> for loading states
  • Use useSuspenseQuery for data fetching
  • Import aliases: @/, ~types, ~components, ~features
  • Styles: Inline if <100 lines, separate file if >100 lines
  • Use useCallback for event handlers passed to children
  • Default export at bottom
  • No early returns with loading spinners
  • Use useMuiSnackbar for user notifications

New Feature Checklist

Creating a feature? Set up this structure:

Details

Repository
github.com/davila7/claude-code-templates
Category
Frontend & UI Code
First seen
May 16, 2026

More from davila7/claude-code-templates

All 398

Similar to Frontend Dev Guidelines

More Frontend & UI Code