Babysitter homebrew-formula-generator

Generate Homebrew formula for CLI distribution on macOS and Linux.

install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/cli-mcp-development/skills/homebrew-formula-generator" ~/.claude/skills/a5c-ai-babysitter-homebrew-formula-generator && rm -rf "$T"
manifest: library/specializations/cli-mcp-development/skills/homebrew-formula-generator/SKILL.md
source content

Homebrew Formula Generator

Generate Homebrew formula for CLI distribution.

Generated Patterns

class Myapp < Formula
  desc "My CLI application"
  homepage "https://github.com/myuser/myapp"
  url "https://github.com/myuser/myapp/releases/download/v1.0.0/myapp-1.0.0.tar.gz"
  sha256 "abc123..."
  license "MIT"

  depends_on "node" => :build

  def install
    system "npm", "install", *std_npm_args
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    assert_match "myapp v#{version}", shell_output("#{bin}/myapp --version")
  end
end

Target Processes

  • package-manager-publishing
  • cli-binary-distribution