Frontmatter Diagnostics
Rule F8 →Live Glob Match Results
2 / 8 matchedFrequently Asked Questions
Why does Cursor ignore my .cursor/rules/*.mdc file when I use paths: in frontmatter?
Claude Code .claude/rules/*.md files use paths: frontmatter, whereas Cursor .cursor/rules/*.mdc files require globs:. Cursor silently ignores paths:, leaving your rule detached. AgentLint rule F8 catches this automatically.
Which glob operators work in Cursor .mdc globs?
Standard workspace-relative patterns including * (single segment), ** (recursive directories), ? (single char), {ts,tsx} brace alternation, and ! negation patterns to exclude test or generated files.
Why didn't my Claude Code hook fire when I wrote preToolUse or BeforeToolUse?
Claude Code matches exact PascalCase event keys (PreToolUse, PostToolUse, Stop, SessionStart, UserPromptSubmit, etc.) and silently ignores unknown keys. Always validate .claude/settings.json and quote $CLAUDE_FILE_PATHS in shell commands.