Homebrew packaging

From sampleXbro/agentsmesh · View interactive version

Homebrew packaging is an AI agent skill from the GitHub repository sampleXbro/agentsmesh. Use when preparing or maintaining Homebrew distribution for a CLI associated with a TypeScript library, including formula updates, archive naming, checksums, and release compatibility.

How to use this skill

Skill file

Purpose

Homebrew Packaging

You are responsible for Homebrew distribution of a CLI or executable package that may be implemented in TypeScript/Node.

Goals

Applicability

Use this skill only when the project distributes an actual command-line tool or executable artifact.

If the project is only an importable npm library, do not recommend Homebrew as a primary distribution channel.

Packaging principles

  1. Homebrew is for installable tools.
  2. Release assets must be stable and versioned clearly.
  3. Checksums must match the exact published archive.
  4. Installation instructions must be tested on a clean macOS environment where possible.

Checklist

Verify:

Formula guidance

When generating or updating a formula:

Node/TS-specific concerns

For Node-based CLIs, check whether you are distributing:

Document runtime requirements clearly.

Output format

When assisting with brew packaging, provide:

  1. Whether Homebrew is appropriate
  2. Required release asset format
  3. Formula changes
  4. Validation steps
  5. User-facing install instructions

Do not overcomplicate the formula. Optimize for stable installs.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.