create-rule

Installation
SKILL.md

Creating Cursor Rules

Create project rules in .cursor/rules/ to provide persistent context for the AI agent.

Gather Requirements

Before creating a rule, determine:

  1. Purpose: What should this rule enforce or teach?
  2. Scope: Should it always apply, or only for specific files?
  3. File patterns: If file-specific, which glob patterns?

Inferring from Context

If you have previous conversation context, infer rules from what was discussed. You can create multiple rules if the conversation covers distinct topics or patterns. Don't ask redundant questions if the context already provides the answers.

Required Questions

If the user hasn't specified scope, ask:

  • "Should this rule always apply, or only when working with specific files?"
Installs
1
Repository
szoloth/skills
First Seen
May 16, 2026
create-rule — szoloth/skills