forge-guard
Installation
SKILL.md
Guard a Pull Request
Take an open PR from "pushed" to "the human can look now" without asking anything along the way.
Input
PR number or URL ($ARGUMENTS; auto-detects from the current branch if omitted). Optional: -- <additional context>, e.g. -- skip the security pass. --max-rounds <n> overrides the project setting.
The skill is unattended by nature: it decides on evidence, replies on threads, and defers to Issues instead of asking.
Process
Step 1: Locate the PR and Read the Configuration
gh pr view $PR_ARG --json number,headRefName,baseRefName # PR, BRANCH, BASE
ME=$(gh api user --jq .login)
[ "$(git branch --show-current)" = "$BRANCH" ] || gh pr checkout "$PR" # every git command below assumes the PR branch