From 29e19dfbe03fe48704be3ea36ba1fa91e2350d45 Mon Sep 17 00:00:00 2001 From: Shayan Rais Date: Mon, 20 Apr 2026 00:07:46 +0500 Subject: [PATCH] .claude/rules/markdown-docs: switch Glob heading to paths: YAML frontmatter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .claude/rules/markdown-docs.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.claude/rules/markdown-docs.md b/.claude/rules/markdown-docs.md index f9ed288..df54ff8 100644 --- a/.claude/rules/markdown-docs.md +++ b/.claude/rules/markdown-docs.md @@ -1,4 +1,9 @@ -# Glob: **/*.md +--- +paths: + - "**/*.md" +--- + +# Markdown Docs ## Documentation Standards