Creating Cursor Rules

Official

Define Cursor IDE rules, ensure consistent code.

AuthorNangoHQ
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Maintaining consistent coding standards and architectural patterns across a project can be challenging, especially with AI assistants. This Skill provides expert guidance for creating effective Cursor IDE rules, ensuring AI-generated code aligns perfectly with project conventions and reduces the need for constant manual correction.

Core Features & Use Cases

  • Rule Design Principles: Learn to write specific, actionable rules that focus on architectural decisions rather than basic linting.
  • Rule Application Types: Understand always, auto-attached (with globs), and manual rules to apply guidance precisely when needed.
  • Structured Rule Content: Master the inclusion of essential sections like Tech Stack, Code Style, Patterns (with code examples), and Anti-Patterns.
  • Use Case: A team wants to enforce a specific React component pattern (e.g., functional components, named exports) and error handling strategy. This Skill helps them create an auto-attached Cursor rule that automatically applies these guidelines to all .tsx files, ensuring new code adheres to team standards.

Quick Start

Use the Creating Cursor Rules skill to help me set up a new .cursor/rules file for my Next.js project. Focus on defining the tech stack and common React patterns.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Creating Cursor Rules
Download link: https://github.com/NangoHQ/ai-ide-prompts/archive/main.zip#creating-cursor-rules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository