create-rule

Create persistent Cursor rules in .cursor/rules/ with RULE.md files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/OM-bit-hub/daily_tracker --skill create-rule-om-bit-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-rule
Source: https://github.com/OM-bit-hub/daily_tracker/tree/main/.agents/skills-cursor/create-rule
Command: npx skills add https://github.com/OM-bit-hub/daily_tracker --skill create-rule-om-bit-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create Cursor rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.

Core Features & Use Cases

  • Create rules in .cursor/rules/ to provide persistent context for the AI agent.
  • Define file-specific patterns and configuration to tailor rule applicability.
  • Generate RULE.md files and collect requirements to support governance across repositories.

Quick Start

Create a new rule in .cursor/rules/ to enforce a coding convention.

Frequently Asked Questions about create-rule

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

FAQPage Schema
How do I create Cursor rules to guide AI behavior in my project?

To create Cursor rules, define persistent context files in .cursor/rules/ to enforce coding standards and project conventions. This process validates the .mdc rule-file format and YAML frontmatter to ensure the AI agent applies guidance correctly.

What is the purpose of an AGENTS.md or RULE.md file for AI coding standards?

An AGENTS.md or RULE.md file provides persistent context and governance across repositories. It establishes project conventions, coding standards, and file-specific patterns to guide AI behavior consistently throughout your codebase.

How do I configure file-specific patterns in Cursor rules?

You configure file-specific patterns in Cursor rules by defining applicability configurations within the .mdc rule files. This tailors when specific coding standards are enforced based on the file patterns matched during AI assistance.

Do I need YAML frontmatter in my SKILL.md to set up project conventions?

Yes, validating YAML frontmatter in SKILL.md is required to set up project conventions. This validation ensures the rule-file format and optional scripts, references, and assets structure are correctly configured for on-demand rule management.

What's the best way to enforce coding standards across multiple repositories with AI?

The best way to enforce coding standards across repositories is generating RULE.md files and collecting requirements for governance. Defining persistent Cursor rules in .cursor/rules/ ensures consistent AI guidance and file-pattern configurations across projects.

Why are my Cursor rules not applying to the correct files?

Cursor rules may not apply correctly if the file-specific patterns or YAML frontmatter in the .mdc rule files are invalid. Validate your project conventions structure, including optional scripts and references, to enable proper on-demand rule management.