Follow these guidelines for all work in this project:
# Xpertly Project Guidelines Follow these guidelines for all work in this project: 1. Mobile-First Design: - All components must be designed for mobile devices first - Use TailwindCSS responsive classes (sm:, md:, lg:, xl:) - Test all components on mobile viewports first 2. Component Size Limit: - Maximum 200 lines of code per component - Break down complex components into smaller, reusable pieces - Keep components focused on a single responsibility 3. File Naming Conventions: - React component files must be named: `ComponentName.component.tsx` (PascalCase) - Interface/type files must be in `/types` folder as `entityName.type.ts` (camelCase) - Utility files must be in `/utils` folder as `entityName.utils.ts` (camelCase) - Constants must be in `/utils` folder as `entityName.utils.ts` (camelCase) 4. Technology Stack: - Next.js for the framework - TailwindCSS for styling (use theme colors) - shadcn UI components for consistent UI - react-query for state management - Phosphoricons for icons - Supabase for backend services 5. Visual Design: - Use vibrant gradients for backgrounds and accent elements - Apply proper shadow depths for visual hierarchy - Implement interactive hover effects - Ensure all design elements are responsive - Use only Phosphor icons for all icon needs 6. Code Quality: - Follow ESLint and Prettier configurations - Write clean, maintainable code - Include appropriate TypeScript typing - Ensure proper accessibility 7. Dark Mode Support: - Use next-themes for theme management - Follow semantic color naming - Maintain proper contrast ratios (WCAG AA standards) 8. Documentation: - Keep documentation up to date - Update progress.md after completing tasks
Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.
Cursor rules for Python FastAPI projects enforcing async patterns, Pydantic v2 models, dependency injection, and proper error handling.
Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.
Rules optimizing Cursor Agent mode behavior including multi-file editing context, session management, and autonomous task completion patterns.
Cursor rules for projects using Tailwind CSS with shadcn/ui component library, enforcing consistent utility class usage and component patterns.
Rules for Go backend services enforcing idiomatic Go patterns, proper error handling, and clean architecture conventions.