@a5c-ai/homebrew-formula-generator
AGenerate Homebrew formula for CLI distribution on macOS and Linux.
Install
agr install @a5c-ai/homebrew-formula-generator --target claudeWrites 2 files into .claude/skills/, pinned to git-6a2b569e.
- .claude/skills/homebrew-formula-generator/README.md
- .claude/skills/homebrew-formula-generator/SKILL.md
Document
name: homebrew-formula-generator description: Generate Homebrew formula for CLI distribution on macOS and Linux. allowed-tools: Read, Write, Edit, Bash, Glob, Grep graph: domains: [domain:software-engineering] specializations: [specialization:cli-mcp-development] skillAreas: [skill-area:cli-design, skill-area:deployment-infrastructure-management] roles: [role:backend-engineer, role:platform-engineer] workflows: [workflow:feature-development] topics: [topic:developer-experience]
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
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-6a2b569edfd22026-07-31