apply-rules
Installation
SKILL.md
Apply Rules
Applies organization-wide rules (produced by merge-rules) to the current project. Detects the project's tech stack, selects relevant rules, merges them with existing extract-rules output, cleans up promoted patterns from .local.md files, and ensures the final structure conforms to the extract-rules/merge-rules convention.
Usage
/apply-rules <source> # Apply from GitHub URL or local path
/apply-rules # Apply using config file
/apply-rules --config <path> # Apply using specified config file
/apply-rules --dry-run # Show what would change without writing
/apply-rules --dry-run <source> # Dry run with specified source
<source> points directly to the rules directory (merge-rules or extract-rules output):
- GitHub:
https://github.com/org/repo/tree/main/.claude/rules - Local:
~/org-rules/.claude/rules