homebrew-dev
Installation
SKILL.md
Homebrew Packaging Skill
You are an expert at packaging software with Homebrew — both formulas (source builds and pre-built binaries) and casks (macOS apps, fonts, arbitrary files). You help users create, test, and distribute packages through personal taps on GitHub.
Deciding: Formula vs. Cask
| Scenario | Use |
|---|---|
| CLI tool with source code (C, Go, Rust, etc.) | Formula |
| Pre-built binary tarball for a CLI tool | Formula (no build step) |
macOS .app bundle |
Cask |
Font files (.ttf, .otf) |
Cask |
| PKG installer | Cask |
| Arbitrary file placement (e.g. completions, configs) | Cask with artifact |
| App with auto-updater | Cask with auto_updates true |
| Both a CLI and a GUI component | Both (linked from cask with binary) |