Script Consumer
Use this shape when an app needs repeatable local automation without copying one-off helpers.
Recipe docsRecipes
Required Packages
@macavitymadcap/hyper-dank-automationfor command gates, verification reports, process helpers, local server readiness, GitHub requests, Pa11y, and PR image Markdown.
import { createCommandGate, renderVerificationReport, runVerification, waitForHttp } from "@macavitymadcap/hyper-dank-automation";
const results = await runVerification([
createCommandGate("check", "Static Checks", "bun", ["run", "check"], "Biome"),
]);
await waitForHttp("http://127.0.0.1:3000/healthz");
console.log(renderVerificationReport(results, process.cwd()));
App-Owned Responsibilities
The app owns which commands run, which services start, which credentials are available, and which outputs are published or attached to PRs.
Verification
Unit test scripts with fake runners where possible, then run the real script in CI or a local verification pass before relying on it for release work.
References
Automation and Verification.