homebrew-publish
Installation
SKILL.md
Homebrew Publish
Overview
Create or update a Homebrew tap and formulae so users can install a project's CLI/TUI with brew install OWNER/tap/<formula>.
Workflow
1) Gather inputs
- Confirm GitHub owner, tap name, and whether the tap repo already exists.
- Collect project repo URL, release tag/version, and the source tarball URL or prebuilt asset URL(s).
- Identify build system and language (Go, Rust, Node/TypeScript, Python, or other).
- Define binary name and a minimal
test docommand. - Confirm target platforms/architectures and whether bottles are desired.
2) Ensure tap repo exists (skip if already set)
- Create a tap repo using the short form
OWNER/tapwhen possible. - Run:
brew tap-new OWNER/homebrew-tap(orhomebrew-<tapname>)gh repo create OWNER/homebrew-tap --push --public --source "$(brew --repository OWNER/homebrew-tap)"