AI SummaryWindsurf Rules for app2agent provides architectural guidance and codebase conventions for a Next.js 15 backend with Supabase integration and a browser extension built with React/Vite. Developers working on this specific full-stack project benefit from structured rules that ensure consistent implementation across auth, landing, and extension modules.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "app2agent — Windsurf Rules" prompt rules to my project. Repository: https://github.com/marcusschiesser/app2agent Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Windsurf Rules for app2agent
backend
/backend folder is a Next.js 15 app with AppRouter using the following route groups in the app folder: (auth): Authentication related pages (extension): Routes used by the browser extension (landing): Landing page routes The shared components for a route group are stored in a components sub folder of the route group. route group (auth) is using shadcn UI components and Tailwind CSS. route group (landing) is just using Tailwind CSS. Supabase is used for authentication and data storage and its configuration is in the supabase folder.
extension
/extension folder is a browser plugin built using React and Vite. It has as service-worker and three variants: • content • sidepanel • inject The content variant is based on a Chrome extension with content script whereas the sidepanel variant is a Chrome extension that uses a side panel for displaying the UI. The inject variant is a javascript file that is added in the head tag of the page. All the variants use shadcn UI components with Tailwind CSS for rendering the UI.
extension and backend
Both, extension and backend, use 'lucide-react' for icons.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts