setup-rules-ex
Installation
SKILL.md
Scaffold the two files that enable the rules-ex extended-rules system for this
project. Both files are templates — they will not be overwritten if they already
exist. The canonical template content lives in this skill's assets/templates/
folder (also used by the setup-all skill's Phase 4 — treat it as the single
source of truth and edit it there, not inline in either SKILL.md).
What gets created:
.claude/rules/rules-ex-authoring.md— a native path-scoped rule that auto-injects an authoring guide whenever you Read/Edit a file under.claude/rules-ex/. Required so the guide fires for the current repo (native.claude/rulesfiles only govern the repo they live in)..claude/rules-ex/README.md— explains what therules-exfolder is and how to author rules in it. Has nopaths:front matter intentionally, so the hook ignores it.