Claude
Skills
Sign in
Back

homebrew-formula-generator

Included with Lifetime
$97 forever

Generate Homebrew formula for CLI distribution on macOS and Linux.

General

What this skill does


# Homebrew Formula Generator

Generate Homebrew formula for CLI distribution.

## Generated Patterns

```ruby
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

Related in General