.claude/rules/markdown-docs: switch Glob heading to paths: YAML frontmatter

The '# Glob: **/*.md' markdown heading was a cargo-cult label — Claude Code
only parses YAML frontmatter with paths: for path-scoping. Without it, the
file loaded unconditionally on every session. Now correctly scoped via
paths: ["**/*.md"] and H1 retitled to 'Markdown Docs' for human readers.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Shayan Rais
2026-04-20 00:07:46 +05:00
parent 32c0ecc603
commit 29e19dfbe0
+6 -1
View File
@@ -1,4 +1,9 @@
# Glob: **/*.md
---
paths:
- "**/*.md"
---
# Markdown Docs
## Documentation Standards