• Blog
  • Documentation
  • Courses
  • Changelog
  • AI Starters
  • UI Kit
  • FAQ
  • Supamode
    New
  • Pricing

Launch your next SaaS in record time with Makerkit, a React SaaS Boilerplate for Next.js and Supabase.

Makerkit is a product of Makerkit Pte Ltd (registered in the Republic of Singapore)Company Registration No: 202407149CFor support or inquiries, please contact us

About
  • FAQ
  • Contact
  • Verify your Discord
  • Consultation
  • Open Source
  • Become an Affiliate
Product
  • Documentation
  • Blog
  • Changelog
  • UI Blocks
  • Figma UI Kit
  • AI SaaS Starters
License
  • Activate License
  • Upgrade License
  • Invite Member
Legal
  • Terms of License
    • Introduction
    • Technical Details
    • Conventions
    • Clone the Repository
    • Running the Project
    • Common Commands
    • Updating the Codebase
    • Navigating the Codebase
    • Walkthrough
    • Migrating from v1
    • Updating to Next.js 15
    • Updating to Tailwind CSS v4
    • Code Health and Testing
    • LLMs rules
    • MCP
    • FAQ

LLM rules for Cursor and Windsurf | Next.js Supabase

Use these rules for Cursor and Windsurf to generate the best possible context for your LLMs

The kit already comes with pre-configured LLM rules for Cursor, Claude Code, Codex, Gemini, Github Copilot, Junie and Windsurf.

Nothing else is required to use these rules.

For best results, it's recommended to use the Makerkit Next.js Supabase MCP Server.

Additional context for LLMs using this documentation

You can generate a set of Markdown files using our little script and the open source Makerkit documentation.

You can then use the Markdown files as a knowledge base for your LLMs, such as Cursor, ChatGPT or Claude.

Clone the repository, then run the following command:

node index.js kits/next-supabase-turbo

To ensure a more precise context, always scope the generation for the kit you are interested in. For example, to generate the markdown files for the Remix Supabase Kit, run the following command:

node index.js kits/remix-supabase-turbo

You can also do it for the courses by running the following command:

node index.js courses

This will generate markdown files in the dist folder.

You can configure how many words per file by passing a second argument to the script, e.g.:

node index.js kits 4000

By default, it will generate 5000 words per file.

On this page
  1. Additional context for LLMs using this documentation