create-rule

Create Cursor rules with .mdc files in the .cursor/rules directory.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/Renzo-Tognella/UniversalThingsForMyAgents --skill create-rule-renzo-tognella
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-rule
Source: https://github.com/Renzo-Tognella/UniversalThingsForMyAgents/tree/main/skills/create-rule
Command: npx skills add https://github.com/Renzo-Tognella/UniversalThingsForMyAgents --skill create-rule-renzo-tognella

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps establish rules for Cursor to follow, ensuring consistent coding standards and project conventions.

Core Features & Use Cases

  • Rule Creation: Allows users to create and manage rules for Cursor, including coding standards, project conventions, and file-specific patterns.
  • Rule Management: Users can specify file patterns, scope, and always apply rules as needed.
  • Rule Configuration: Offers a structured format for rule files, including descriptions, file patterns, and always apply settings.

Quick Start

Define a new rule for Cursor by creating a .mdc file in the .cursor/rules/ directory with the appropriate frontmatter and content.

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 for consistent coding standards?

To establish Cursor rules for coding standards, you create a `.mdc` file in the `.cursor/rules/` directory. This file uses structured frontmatter to define descriptions, file patterns, and always-apply settings for consistent project configurations.

What are file patterns in Cursor rules used for?

File patterns in Cursor rules are used to scope project conventions to specific files. By specifying file patterns within the rule configuration, the AI-assisted coding agent applies targeted coding standards only when matching files are being edited.

How do I configure universal standards enforcement for an AI-assisted coding agent?

You configure universal standards enforcement by setting the always-apply parameter within your `.mdc` rule file. This ensures the Cursor environment consistently applies your defined project conventions across all coding tasks.

When do I need to define project conventions in a Cursor environment?

You need to define project conventions in a Cursor environment when you want persistent AI guidance for consistent coding standards. This prevents the AI from generating code that violates your project's specific structural and stylistic requirements.