What problem does it solve?
Manually editing the Brewfile can lead to syntax errors, incorrect package types (brew vs. cask), or inconsistent formatting, making package management cumbersome and error-prone. This Skill streamlines the process, ensuring a clean and functional Brewfile.
Core Features & Use Cases
- Add Packages: Verifies package existence, determines the correct type (brew, cask, tap, mas, vscode), and adds it to the appropriate section in alphabetical order within your
Brewfile.
- Remove Packages: Safely locates and removes package entries from the
Brewfile with user confirmation, preventing accidental deletions or orphaned entries.
- Organize & Update: Maintains a clean, grouped, and alphabetically sorted
Brewfile structure, making it easy to read and manage.
- Use Case: You want to install a new command-line tool like
ripgrep and a GUI application like visual-studio-code. Use this Skill to add brew "ripgrep" and cask "visual-studio-code" to your Brewfile correctly, ensuring proper formatting and placement without manual intervention.
Quick Start
Add 'ripgrep' and 'visual-studio-code' to my Brewfile.