create-rule

Create Cursor rules for AI agents in .cursor/rules/ files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/min-zou/obsidian-doc --skill create-rule-min-zou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-rule
Source: https://github.com/min-zou/obsidian-doc/tree/main/format/areas/system/agent-skills/cursor-builtin/create-rule
Command: npx skills add https://github.com/min-zou/obsidian-doc --skill create-rule-min-zou

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of creating Cursor rules for persistent AI guidance, saving time and reducing the complexity of rule development.

Core Features & Use Cases

  • Rule Creation: Generate CURSOR rules for persistent AI guidance.
  • Coding Standards: Set up project conventions and coding standards.
  • File Pattern Configuration: Apply rules to specific file types or always.
  • Rule File Format: Provides guidelines for the proper structure of .mdc files in .cursor/rules/.
  • Always Apply Configuration: Universal standards that apply to all sessions.
  • File-specific Rule Configuration: Apply rules to specific file types.
  • Best Practices: Offers guidance on keeping rules concise, actionable, and well-documented.
  • Example Rules: Includes examples for TypeScript and React patterns.

Quick Start

Use the create-rule skill to define a new CURSOR rule for your project.

Frequently Asked Questions about create-rule

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create persistent AI guidance rules in Cursor?

To create persistent AI guidance in Cursor, you define rules as .mdc files within the .cursor/rules/ directory. This Skill automates generating those rule files to maintain consistent coding standards across sessions.

What is the best way to configure file-specific coding standards for Cursor?

Configuring file-specific coding standards for Cursor involves setting file pattern configurations in .mdc rule files. This Skill generates rules that apply targeted guidance only when specific file types are edited.

How do Cursor .mdc rule files structure coding conventions?

Cursor .mdc rule files structure coding conventions by defining concise, actionable guidelines within the .cursor/rules/ directory. This Skill provides the proper file format structure and examples for TypeScript and React patterns.

Can I apply universal coding standards to all Cursor AI sessions?

You can apply universal coding standards to all Cursor AI sessions by using the Always Apply configuration. This Skill configures persistent rules that enforce project conventions across every active session.

Does the create-rule Skill support React and TypeScript pattern configuration?

The create-rule Skill supports React and TypeScript pattern configuration by providing example rules. It generates .mdc files in the .cursor/rules/ directory to enforce these specific framework conventions.

Why should I keep Cursor rule files concise and actionable?

You should keep Cursor rule files concise and actionable to ensure the AI agent processes instructions effectively without context overflow. This Skill offers best practices for writing well-documented, focused rules.