Skip to content
Open
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
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,17 @@ curl -fsSL https://raw.githubusercontent.com/block/ai-rules/main/scripts/install
ai-rules status
```

## Validating Your Rules

After generating or updating rules, validate them to catch issues before they reach your AI agents:

```bash
npx cursor-doctor check # CI-friendly validation
npx cursor-doctor scan # Local validation with detailed feedback
```

This catches broken frontmatter, conflicting instructions, and vague rules that the AI will ignore. Run `check` in CI pipelines or pre-commit hooks to maintain rule quality.

## Commands

| Command | Description |
Expand Down