Rule
0 installs · 0 said it worked
Cursor rules giving AI context on a TypeScript React NextUI Supabase codebase
Cursor rules file that gives the coding assistant an overview of a TypeScript, React, NextUI, and Supabase web app, covering its stack, authentication flows, and UI structure.
People use this for
- cursor rules nextui supabase
- react supabase auth context file
- typescript nextjs supabase codebase overview
- give ai assistant context on web app stack
- cursorrules for supabase login and dashboard
- Name
cursor-rules-giving-ai-context-on-a-typescript-react-nextui-supa- Works with
- Cursor
- License
- CC0(as observed at the source)
- Version
- v1 · updated Nov 29, 2026
Imported on Nov 29, 2026 from github.com . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Use this rule
$ curl -fsSL "https://promptcommunity.dev/api/v1/posts/cursor-rules-giving-ai-context-on-a-typescript-react-nextui-supabase-cod-2xz6/export/mdc" -o .cursor/rules/cursor-rules-giving-ai-context-on-a-typescript-react-nextui-supa.mdcThen open a new session; Cursor picks it up from .cursor/rules/.
Manual install
Save cursor-rules-giving-ai-context-on-a-typescript-react-nextui-supa.mdc as .cursor/rules/cursor-rules-giving-ai-context-on-a-typescript-react-nextui-supa.mdc for this project or ~/.cursor/rules/cursor-rules-giving-ai-context-on-a-typescript-react-nextui-supa.mdc for every project, then start a new session.
Rule
description: "Cursor rules for TypeScript development with React, NextUI, and Supabase integration." globs: */ alwaysApply: false
Codebase Overview
This codebase appears to be part of a web application built using TypeScript, React, and various NextUI components. It is structured to support a landing page, authentication flows, and a dashboard for logged-in users. The application integrates with Supabase for backend services, including authentication and database interactions.
Stack and Key Technologies
Frontend Framework: React TypeScript: Used for type-safe code across the frontend. NextUI: A React UI library used for building the UI components like buttons, modals, inputs, etc. Supabase: An open-source Firebase alternative used for backend services like authentication, database, and storage. Next.js: Likely used as the React framework, indicated by the usage of next/navigation and server utilities. Iconify: For icons across the application.
Purpose and Functionality
Authentication
The application includes a comprehensive authentication flow: Login: Users can log in using email/password or GitHub OAuth. The login logic is handled in frontend/app/(landing-page)/login/action.ts. Signup: New users can sign up with an email and password. The signup logic is also in frontend/app/(landing-page)/login/action.ts. Logout: Users can log out, with the logic located in frontend/app/(landing-page)/logout/action.ts. Email Confirmation: The application handles email confirmation through a callback route in frontend/app/auth/callback/confirm/route.ts.
User Interface
Landing Page: Contains components like SubmitButton, LoginPage, and LogoutModal to facilitate user interactions. Dashboard: For logged-in users, showing personalized content and a sidebar for navigation within the dashboard. Error Handling: A generic error component is used to display errors and provide a retry mechanism.
Navigation and Layout
Navbar: A responsive navbar for the landing page and possibly other public pages. Sidebar: A collapsible sidebar for the dashboard, indicating a more complex, multi-page application structure for authenticated users.
No result recorded yet. Added it? File a Tried-it report so the next person knows how it went in your editor.
Tried it
Reports from people who added this rule to their editor. They roll up into the badges above.
No one has filed a report yet. Try the prompt and be the first.
Related rules
- Autonomous coding agent that builds a verified app-builder harness
Master system prompt that directs an autonomous senior Python engineer to build a spec-driven, evidence-traced app-builder harness milestone by milestone without asking questions.
Coding · @mahfuzahmedog
- Security guardrails that keep an AI email assistant from being hijacked by malicious messages
A full system prompt giving an AI assistant that reads or manages email a security mindset: treat email as untrusted data, require approval for outward actions, avoid leaking private data, and report phishing and injection attempts calmly.
Productivity · @thanos0000
- Universal agent rules for building React and Next.js projects
A reusable instruction set for AI coding agents covering stack choice, architecture, TypeScript, shadcn/ui, Tailwind, accessibility, and verification steps for React and Next.js projects.
Coding · @ramazanyusupov
- Cursor rules enforcing clean, readable, maintainable code practices
A Cursor .mdc rule file that guides the assistant toward clean code: named constants, meaningful names, sparing comments, single-purpose functions, DRY, language style standards, extracted conditionals, continuous refactoring, and version control.
Coding · @patrickjs
- Cursor rules for building Next.js, Supabase, and shadcn PWAs with build notes
A .mdc rules file that sets coding style, stack conventions, and build-notes and context-file rules for an AI agent building a Next.js, Supabase, Shadcn UI Progressive Web App.
Coding · @patrickjs
License: CC0v1 · published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.