create-rule

Spec compliant

create-rule helps agents write Cursor rules (.mdc files) for project-specific AI behavior. Place rules in .cursor/rules/ for automatic context injection.

Create Cursor rules for persistent AI guidance in .cursor/rules/ directory.

4.8 Excellent
by Cursor Last verified: 2026-06-22

Copy prompt for your AI

Send this to your agent to install the skill.

First read https://skill123.app/install/skill123.md. Then install the "create-rule" agent skill by running:
npx skills add https://github.com/cursor/skills-cursor/tree/main/create-rule
Other install methods

CLI install

npx skills add https://github.com/cursor/skills-cursor/tree/main/create-rule

Manual install

.cursor/skills/create-rule/
Download Zip from GitHub

When to use

  • → Creating coding standards rules
  • → Project-specific AI guidance
  • → .cursor/rules setup

Platforms

Cursor

Resources

skill-name/
├── SKILL.md

Source

https://github.com/cursor/skills-cursor/create-rule

Related Skills

FAQ

How do I install create-rule?

Send the install prompt to your AI, or run npx skills add https://github.com/cursor/skills-cursor/tree/main/create-rule.

Which platforms support create-rule?

Cursor