frontend-dev-guidelines

Convert frontend development guidelines into semantic metadata for vector embedding.

Updated Nov 10, 2025
One-click install
npx skills add https://github.com/BOM-98/FinTracker --skill frontend-dev-guidelines-bom-98
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-dev-guidelines
Source: https://github.com/BOM-98/FinTracker/tree/main/.claude/skills/frontend-dev-guidelines
Command: npx skills add https://github.com/BOM-98/FinTracker --skill frontend-dev-guidelines-bom-98

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers often spend valuable time researching best practices, writing boilerplate code, and debugging inconsistent patterns in modern frontend development. This skill standardizes Next.js 15+ and React 19 development, ensuring consistent, performant, and type-safe code that adheres to the latest patterns.

Core Features & Use Cases

  • Standardized Next.js 15+ Development: Provides clear guidelines for App Router, Server Components, Client Components, Server Actions, and efficient data fetching with Supabase.
  • UI/UX Excellence: Guides on using shadcn/ui, Tailwind CSS, React Hook Form, lazy loading, and Suspense boundaries for superior user experience and reduced layout shift.
  • Performance & Type Safety: Emphasizes optimization techniques and TypeScript best practices to build robust, maintainable, and high-performing applications.
  • Use Case: When building a new dashboard feature, use this skill to generate a new page following all best practices for data fetching, component structure, and styling, saving hours of setup and review.

Quick Start

Generate a new Next.js 15 dashboard page for user management, including data fetching with Supabase, a form using React Hook Form, and styled with shadcn/ui and Tailwind CSS.

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 Next.js 15 app with Server Components and Client Components?

Next.js 15 App Router uses Server Components by default for data fetching and Server Actions for mutations, with Client Components marked by 'use client' for interactivity. This pattern reduces JavaScript sent to browsers, improves performance, and keeps sensitive logic server-side while maintaining type safety with TypeScript.

What's the best way to build forms in Next.js with validation and styling?

Combine React Hook Form for state management, Zod for runtime schema validation, shadcn/ui for accessible components, and Tailwind CSS for styling. This stack provides type-safe form handling, client and server validation, and consistent UI without writing form boilerplate.

How do I fetch data from Supabase in Next.js Server Components?

Use async Server Components to call Supabase directly without exposing API keys to the client. Combine with Suspense boundaries to stream content progressively and prevent layout shift while data loads, improving perceived performance and user experience.

Can I use shadcn/ui and Tailwind CSS together in a Next.js project?

Yes. shadcn/ui components are built on Headless UI and styled with Tailwind CSS, making them fully compatible with Next.js. You customize them via Tailwind configuration and extend component styling without breaking dependencies or creating conflicts.

What's the difference between Server Actions and API routes in Next.js?

Server Actions are async functions defined in Server Components or separate files, invoked directly from forms and client components with automatic serialization. API routes are explicit HTTP endpoints. Server Actions reduce boilerplate, provide better type safety, and integrate seamlessly with forms.

How do I optimize performance and prevent layout shift in a Next.js dashboard?

Use Suspense boundaries to stream Server Components, lazy-load non-critical components, set explicit width and height on images, and configure Tailwind with fixed dimensions. This ensures components load progressively, Critical Web Vitals improve, and the UI remains stable during data fetching.