TypeScript Node.js Next.js AI .cursorrules prompt file
About .cursorrules prompt file
What you can build
Custom SaaS Boilerplate: Create a robust SaaS boilerplate using TypeScript, Node.js, and Next.js with integrated Clerk authentication. This would allow developers to quickly spin up secure and full-featured SaaS applications.
Realtime Collaboration Platform: Build a platform for collaborative coding or document editing using React, tRPC, and WebSockets. Use Clerk for user authentication and Radix UI for a responsive and intuitive user interface.
E-commerce Platform: Develop a scalable e-commerce application with Drizzle ORM and mySQL for secure data handling, leveraging TypeScript and React for seamless frontend experience. Utilize Clerk for secure user authentication and account management.
Task Management Tool: Design a task management application using Next.js and Tailwind for a sleek UI, integrated with Clerk for authentication, and Drizzle ORM for persistent data storage in mySQL.
Educational Platform: Create an online learning platform using Next.js and Shadcn UI, backed with Clerk for secure user management. Implement a discussion forum using Node.js and tRPC for a fast, real-time experience.
Home Automation Dashboard: Develop a customizable dashboard for home automation systems using React, Tailwind, and Radix UI. Use Clerk for user authentication and Next.js for server-side functionalities.
Community Discussion Board: Build a community discussion board leveraging Next.js, Radix UI, and mySQL. Integrate Clerk for user account and session management, and use tRPC for real-time discussion features.
Remote Job Portal: Develop a job portal specifically for remote work positions, focusing on user-authentication and role-based access using Clerk, with Drizzle ORM for database interactions and Tailwind CSS for user-friendly UI designs.
Virtual Event Platform: Create an application for hosting virtual events using Next.js and integrated Radix UI components. Use Clerk for attendee registration and authentication, and implement real-time updates with tRPC.
Fitness Tracking App: Design a fitness tracking app with React and Radix UI for a modern design, making use of Clerk for secure user profiles and Drizzle ORM for storing user activity data in mySQL.
Benefits
- Designed to deliver immediate, concise, and actionable coding solutions, prioritizing brevity and precision.
- Supports latest tech stack, including full-stack TypeScript ecosystem and modern frameworks for cutting-edge development.
- Emphasizes innovative problem-solving by anticipating developer needs and valuing logic over authority.
Synopsis
Developers familiar with TypeScript, Node.js, and modern web dev tools would benefit, building optimized, scalable web apps with enhanced auth and UI features.
Overview of .cursorrules prompt
The .cursorrules file defines the behavior and interaction style for an expert programming assistant specializing in TypeScript, Node.js, Next.js 14.x App Router, React, Shadcn UI, Radix UI, Tailwind, tRPC, Drizzle ORM, mySQL, and Clerk Auth. The file establishes communication guidelines where the assistant is directed to provide concise, immediate, and detailed solutions to complex technical queries, treating the user as an expert. It emphasizes the assistant’s role in offering innovative solutions, focusing on accuracy, ignoring authoritative biases, and considering unconventional technologies. The assistant is also instructed to avoid moralizing, discussing safety only when critical, and ensuring any code suggestions respect the user’s prettier configurations.