new-cask

Create and test a new Homebrew Cask with PR workflows.

459|37|Updated Mar 29, 2019
One-click install
npx skills add https://github.com/malob/nix-config --skill new-cask
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-cask
Source: https://github.com/malob/nix-config/tree/main/configs/claude/plugins/homebrew/skills/new-cask
Command: npx skills add https://github.com/malob/nix-config --skill new-cask

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill eliminates manual, error-prone cask creation by automating the collection of app data, cask file generation, testing, and PR submission workflows.

Core Features & Use Cases

  • Pre-flight checks for duplicates and rejections
  • Generate and validate a new Homebrew Cask based on app URL, versioning, and checksums
  • Run automated tests: audit, style, and livecheck, and prepare a PR patch

Quick Start

Provide the app name and download URL to initiate the new cask workflow.

Frequently Asked Questions about new-cask

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

FAQPage Schema
How do I automate Homebrew cask creation and testing?

Automate Homebrew cask creation by providing an app name and download URL to gather details, calculate checksums, generate the cask file, and run validation tests. This workflow eliminates manual data collection and cask generation errors.

What checks are required before submitting a Homebrew cask PR?

Before submitting a Homebrew cask PR, pre-flight checks verify duplicate casks and rejections. The workflow then generates the cask and ensures tests pass in audit, style, and livecheck workflows to prepare a valid PR patch.

Can I use this to calculate checksums and verify versions for a new cask?

Yes, you can calculate checksums and verify versions for a new cask. The workflow gathers app data, extracts versioning information from the download URL, and computes checksums to ensure the generated cask file is accurate and secure.

What is the best way to run audit and livecheck tests for a new cask?

The best way to run audit and livecheck tests is through the automated workflow, which executes these checks after cask generation. It validates cask style and verifies livecheck functionality to ensure the cask meets Homebrew standards before PR submission.

Does the cask creation workflow handle duplicate detection automatically?

Yes, the cask creation workflow handles duplicate detection automatically. Pre-flight checks run during the initial phase to identify existing duplicate casks and potential rejections before proceeding with data gathering and file generation.