Convert design mockups into responsive Tailwind CSS with dark mode, animations, and accessibility.
Style this component using Tailwind CSS. Requirements: - Mobile-first responsive design (sm, md, lg, xl breakpoints) - Support dark mode with dark: variant - Use design system spacing scale (not arbitrary values like px-[13px]) - Add hover, focus, and active states for interactive elements - Include focus-visible outlines for keyboard navigation - Add smooth transitions for state changes (duration-200, ease-in-out) - Use CSS Grid or Flexbox for layout (specify which is more appropriate) - Handle text overflow (truncate, line-clamp) for dynamic content - Ensure sufficient color contrast (WCAG AA minimum) - Use semantic HTML elements (nav, main, section, article, button vs div) - Add aria-labels for icon-only buttons - Group Tailwind classes logically: layout > sizing > spacing > typography > colors > effects - Match the existing design patterns in this project
Generate optimized .cursorrules files tailored to your project's tech stack, conventions, and team preferences. Covers TypeScript, Python, Rust, Go, and more.
Leverage Cursor's Agent mode to build complete features end-to-end. Handles file creation, terminal commands, dependency installation, and multi-file edits in one flow.
Generate complete React components with TypeScript types, props interface, stories, and unit tests in one prompt.
Generate robust Next.js API routes with Zod validation, error handling, rate limiting, and TypeScript types.
Design database tables with proper types, constraints, indexes, and migration files for PostgreSQL/Supabase.
Generate FastAPI endpoints with Pydantic request/response models, dependency injection, and async database operations.