creating-claude-rules
Originally frompr-pm/prpm
Installation
SKILL.md
Creating Claude Rules
Overview
Rules in .claude/rules/ are modular instructions scoped to specific files via glob patterns. They load automatically with same priority as CLAUDE.md.
When to Use
- Creating new rules in
.claude/rules/ - Fixing rules that use wrong frontmatter (
globsinstead ofpaths) - Migrating Cursor rules to Claude format
- Organizing project-specific conventions
Quick Reference
| Field | Claude | Cursor |
|---|---|---|
| Path patterns | paths |
globs |
| Always apply | Omit paths |
alwaysApply: true |
Related skills
More from agentworkforce/relay
creating-claude-agents
Use when creating or improving Claude Code agents. Expert guidance on agent file structure, frontmatter, persona definition, tool access, model selection, and validation against schema.
38using-agent-relay
Use when coordinating multiple AI agents in real-time - provides inter-agent messaging via MCP tools
37implementing-command-palettes
Use when building Cmd+K command palettes in React - covers keyboard navigation with arrow keys, keeping selected items in view with scrollIntoView, filtering with shortcut matching, and preventing infinite re-renders from reference instability
1