website/docs/cli-reference/rules.md
Generated from bd help --doc rules
Audit and compact Claude rules
bd rules
Scan rules for contradictions and merge opportunities
bd rules audit [flags]
Flags:
--path string Path to rules directory (default ".claude/rules/")
--threshold float Jaccard similarity threshold (default 0.6)
Merge related rules into composites
bd rules compact [flags]
Flags:
--auto Apply audit suggestions
--dry-run Preview without applying
--group strings Rule names to merge
--path string Path to rules directory (default ".claude/rules/")