Skip to content

[claude-code-guide] Research rules file matching #310

Description

@sylvansys

Parent Issue: #308
Agent Type: claude-code-guide
Branch: 308-feature/can-you-review-prompt-based-hooks-to-see


Task Description

Research rules file matching

Task Prompt

Research how Claude Code rules files work and how they can be matched to file paths. I need to understand:

  1. How does Claude Code's rules system match rules to files?
  2. Is there a globs: or path: field in rules frontmatter?
  3. How are rules loaded and applied to specific file edits?
  4. What frontmatter fields are available for rules?

Look at Claude Code documentation and any existing patterns in the codebase for matching rules to file paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    subissueSub-issue linked to parent issuetaskTask tracked from Claude Code session

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions