Claude Code can load path-scoped rules from .claude/rules without extra context tax

thisdudelikesAI · x · 2026-07-23

The thread says Claude Code supports path-scoped rules via .claude/rules/.

You can drop Markdown files there with YAML frontmatter such as:

yaml

---

paths:

---

Those rules load only when Claude touches matching files, which keeps unrelated work free from context overhead.

Original post →

More from coding & agent

coding & agent channel →