create-rules

Create and update Cursor Rules (.mdc) and Skills (SKILL.md) with YAML frontmatter.

9|2|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/dmitryprg-ai/cursor-develop-autorules --skill create-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-rules
Source: https://github.com/dmitryprg-ai/cursor-develop-autorules/tree/main/.cursor/skills/create-rules
Command: npx skills add https://github.com/dmitryprg-ai/cursor-develop-autorules --skill create-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a standardized template and workflow to create or update Cursor Rules (.mdc files) and Skills (SKILL.md), ensuring consistent structure, naming, and token budgets across projects.

Core Features & Use Cases

  • Define a universal format for new rules and skills.
  • Automate the process of converting rules into skills and maintaining frontmatter.
  • Use during setup to streamline governance of coding standards and automation.

Quick Start

Place a properly formatted SKILL.md in the target .cursor/skills path and trigger your project’s synchronization workflow.

Frequently Asked Questions about create-rules

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

FAQPage Schema
How do I create standardized Cursor Rules with YAML frontmatter?

To create standardized Cursor Rules, use a workflow that automates generating .mdc files with YAML frontmatter. This ensures your rules maintain a consistent structure, naming conventions, and defined token budgets across the project.

What is the best way to convert Cursor Rules into Skills?

Converting Cursor Rules into Skills involves creating a properly formatted SKILL.md file in the target .cursor/skills path. This standardizes the rule format into a structured skill with dependencies and safety checks.

Do I need YAML frontmatter for every .mdc file?

Yes, YAML frontmatter is required for every .mdc file to define the rule's name and description. This standardization ensures the Cursor environment correctly parses and applies your coding standards.

How do I manage token budgets when creating Skills?

Managing token budgets when creating Skills involves applying standardized templates that constrain the content size within the SKILL.md file. This ensures the skill remains efficient and within processing limits.

Why are my Cursor Rules not maintaining consistent naming conventions?

Cursor Rules lack consistent naming when not using a standardized template for .mdc file creation. Automating the generation process enforces universal formats and naming conventions across all project rules.