create-rule
SKILL.md
Create Rules
Develop effective Claude Code rules. Rules are markdown files in .claude/rules/ that provide persistent instructions Claude follows during a session.
What Rules Are For
- Coding standards and conventions
- Project-specific guidelines
- Language or framework patterns
- Prohibited practices
- Style preferences
Not for: one-time instructions (tell Claude directly), dynamic content (use commands/skills), or tool configurations (use hooks).
Rule Structure
# Rule Name