pkgmgr-homebrew-formula-dev

Create, test, and maintain Homebrew formulas with livecheck integration.

7|3|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/aRustyDev/ai --skill pkgmgr-homebrew-formula-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pkgmgr-homebrew-formula-dev
Source: https://github.com/aRustyDev/ai/tree/main/components/skills/pkgmgr-homebrew-formula-dev
Command: npx skills add https://github.com/aRustyDev/ai --skill pkgmgr-homebrew-formula-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers create and maintain Homebrew formulas in a custom tap, including validation, livecheck, and testing patterns to ensure high-quality packages.

Core Features & Use Cases

  • Formula scaffolding & docs: Create new formulas with proper descriptions, homepage, and license fields
  • Validation & tests: Brew audit/test patterns and CI-like checks
  • Use Case: Add a formula to your tap and validate locally before CI, ensuring reliable packaging

Quick Start

Create a new formula following the standard template, then run brew audit --new --formula to validate, followed by brew test to verify installation.

Frequently Asked Questions about pkgmgr-homebrew-formula-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Homebrew formula for my package?

Creating a Homebrew formula involves defining metadata (description, homepage, URL, SHA256), implementing build and install blocks, and adding tests. This Skill automates formula scaffolding, validation with brew audit, and testing patterns to ensure your package installs correctly in a custom tap before CI.

What's the best way to validate a Homebrew formula locally?

Validate formulas locally by running brew audit --new --formula to check structure and metadata, then brew test to verify installation. This Skill provides audit and test patterns matching CI-like checks, catching issues before pushing to your tap.

How do I set up automatic version updates for a Homebrew formula?

Livecheck configuration monitors upstream releases and automatically updates your formula's version. This Skill covers livecheck integration patterns, allowing your formula to detect new versions and trigger updates without manual intervention.

Can I add a formula to a custom Homebrew tap?

Yes, this Skill handles adding formulas to custom taps by providing scaffolding templates, validation steps, and testing workflows. You create the formula with proper metadata and dependencies, validate locally, then commit to your tap repository.

What do I need to know about computing SHA256 for Homebrew source tarballs?

SHA256 verification ensures formula sources haven't been tampered with. This Skill covers computing and configuring SHA256 checksums for source tarballs in your formula's url field, a core requirement for package integrity.

How do I debug a Homebrew formula build or test failure?

Debug formula issues by running brew audit for structural errors and brew test for installation failures. This Skill provides debugging patterns and validation workflows to identify and fix build or test problems before deployment.