This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Cursor

How to Write Cursor Rules

Updated on:
April 6, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to write custom cursor rules for your web projects.

‍

‍

Cursor Rules use the .mdc format to combine configuration and instructions. The most effective rules are specific and use examples to show the AI exactly how you want your code to look.

‍

  1. Open the Cursor application on your computer.
  2. Click File from the toolbar, and select Preferences.
  3. Select Cursor Settings from the submenu.
  4. Click on the Rules, Skills, Subagents tab in the sidebar of the settings window.
  5. Click on the +New button, and select User Rules.
  6. Type a Name and a brief Description for your rule to help the AI understand when it should be active.
  7. Click Enter on your keyboard, and you're all set!
Your product deserves an interactive demo
Start free
Similar Articles
Cursor

How to Integrate Replit with Cursor

Madhav Bhandari
Director of Marketing @ Storylane
Cursor

How to Uninstall Cursor

Madhav Bhandari
Director of Marketing @ Storylane
Cursor

How to Restart Cursor

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Buyer Hub
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Events & webinars
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it