Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .claude/rules/docs-writing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Documents .claude/rules/docs-writing.md module purpose and public usage context -->
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 HTML comment before YAML frontmatter breaks path-based rule filtering

The added HTML comment <!-- Documents ... --> on line 1 precedes the --- frontmatter delimiter. YAML frontmatter parsers require the opening --- to be on the very first line of the file. With content before it, the frontmatter block (paths: ["docs/**"]) will not be recognized, so Claude Code won't know this rule is scoped to docs/** files. Depending on the parser, the rule will either be ignored entirely or applied globally to all files instead of only docs. Every other rule file in .claude/rules/ correctly starts with --- on line 1.

Suggested change
<!-- Documents .claude/rules/docs-writing.md module purpose and public usage context -->
---
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

---
paths:
- "docs/**"
Expand Down