Files
CahidArda d34524d3ef feat: add build system for combined upstash skill
- scripts/build.mjs generates skills/upstash/ from individual skills
- scripts/check.mjs verifies the generated output matches git state
- scripts/header.md defines the combined SKILL.md frontmatter
- CI workflow runs check on PRs and pushes to main
- README documents the repo structure and contribution workflow

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 15:33:42 +03:00

14 lines
395 B
JavaScript

import { execSync } from "child_process";
const status = execSync("git status --porcelain", { encoding: "utf-8" }).trim();
if (status) {
console.error("\n >> Error: upstash skill is out of date. Run `npm run build` and commit the result.\n");
console.error("Changed files:\n");
console.error(status);
console.error();
process.exit(1);
}
console.log("upstash skill is up to date.");