alpha

Gives Cursor an overview of a TypeScript, React, NextUI and Supabase web app: its stack, login and signup flows, and dashboard, so the agent works within that structure.
description: "Cursor rules for TypeScript development with React, NextUI, and Supabase integration."
globs: */
alwaysApply: false
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.
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
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.
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.
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.
Public domain (CC0 1.0) · by awesome-cursorrules contributors · source · posted by @OpenSourceBuffGuy on promptparty.com


Monochrome Studio Portrait Grid
Creates a 3x3 grid of nine fashion editorial portraits of a young man in all-black clothing, posed in a beige studio with soft window light.
image-prompt, gpt-image, portrait, man, editorial, fashion-shoot, multi-panel, photorealistic, natural-light, soft-lighting, muted-colors, film-grain, bokeh, luxury, medium-shot, fashion, for-photographers, studio-lighting, black-and-white, minimalist, magazine-cover

Runs static application security testing across many languages and frameworks, picking tools like Bandit and Semgrep and detecting injection, secrets and other vulnerability patterns.
slash-command, security-review, application-security, security-testing, cybersecurity, code-review, audit, owasp, compliance, python, javascript, java, golang, rust, php, ruby, django, flask, react, for-developers, for-security-professionals, long-form, advanced, best-practices, ci-cd, sast, semgrep

Chromatic Gesture Characters — Part 4
Defines a JSON style for large geometric characters in hot pink with minimal black faces and grainy print feel, here a potter, kite flyer, accordion player and stretching cat.
image-prompt, json-prompt, placeholders, poster, character-design, typography, structured-output, long-form, advanced, for-artists, for-designers, illustration, papercraft, vibrant-colors, printmaking, vertical-format, widescreen, animals, text-rendering, whimsical, negative-space, style-reference, character-consistency, music
Loading reviews…
Loading comments…