Homebrew Rules
Install, update, and manage packages on macOS and Linux. Tap repositories, manage casks, and maintain formulae.
3 rules
Brewfile Organization Standards
Beginner
Enforce structured Brewfile formatting with section grouping, tap declarations, version pinning for critical tools, and descriptive comments for team-shared configurations.
globs: **/Brewfile, **/Brewfile.lock.json
brewfile, organization, standards, version-pinning
View Rule
Homebrew No-Sudo Policy
Beginner
Enforce that Homebrew commands are never run with sudo — fix permission issues properly, understand the user-space installation model, and resolve common permission errors.
globs: **/Brewfile, **/.zshrc, **/.bashrc
sudo, permissions, security, best-practices
View Rule
Homebrew Upgrade Safety Policy
Intermediate
Safe upgrade procedures for Homebrew packages — review before upgrading, pin critical versions, backup databases before upgrades, and selective upgrade patterns.
globs: **/Brewfile
upgrades, safety, version-pinning, database-backup
View Rule