Create and manage Cursor IDE rules for AI-assisted coding. Use when asked to create .cursorrules, .mdc rule files, or configure Cursor AI behavior for a project.
Install
npx skillscat add simplerick0/com-ackhax-configs/cursor-rules Install via the SkillsCat registry.
SKILL.md
Cursor Rules
Repository Pattern
Store rules in rules/ directory, symlink to activate:
rules/
├── python.mdc
├── typescript.mdc
└── project-standards.mdc
# Activate in target project:
ln -s /path/to/rules/python.mdc .cursor/rules/python.mdcMDC File Structure
---
description: When to apply this rule (for Agent Requested)
globs: ["*.py", "src/**/*.js"] # For Auto Attached rules
alwaysApply: false
---
# Rule Content
Your instructions here...Rule Types
| Type | Trigger | Use Case |
|---|---|---|
| Always | alwaysApply: true |
Core project standards |
| Auto Attached | globs: [...] |
File-type specific rules |
| Agent Requested | description only |
Situational guidance |
| Manual | No frontmatter | Explicitly referenced |
Workflow
- Create rule in
rules/<name>.mdc - Symlink to project's
.cursor/rules/to activate - Remove symlink to deactivate (rule remains in repo)
Keep rules concise—AI is smart, add only project-specific context.