jupes/agent-forge-harness / .agents/skills/pr-description
pr-description
UnverifiedWrite or validate a Forge PR body using the canonical template. Use when creating or editing a PR, or checking its description.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.9 KB |
| references/pr-template.md | markdown | 1.8 KB |
| scripts/check-pr-body.ts | script | 929 B |
scripts/check-pr-body.ts
View on GitHub#!/usr/bin/env bun
/** Source entry for the canonical PR-body validator. Compiled code imports scripts/pr-body directly. */
import { isMain } from "../../../../scripts/is-main";
import {
REQUIRED_PR_SECTIONS,
validatePrBody,
} from "../../../../scripts/pr-body";
if (isMain(import.meta)) {
const path = process.argv[2];
try {
const body =
!path || path === "-"
? await Bun.stdin.text()
: await Bun.file(path).text();
const result = validatePrBody(body);
console.log(JSON.stringify(result, null, 2));
process.exit(result.ok ? 0 : 1);
} catch (err) {
console.log(
JSON.stringify(
{
ok: false,
data: { present: [], missing: [...REQUIRED_PR_SECTIONS], empty: [] },
error: `could not read PR body${path ? ` from "${path}"` : ""}: ${(err as Error).message}`,
},
null,
2,
),
);
process.exit(1);
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |