Forgent pr-eligibility-checker

gate-check-based skill consuming pr_url to produce eligibility_status

install
source · Clone the upstream repo
git clone https://github.com/mirandaguillaume/forgent
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/mirandaguillaume/forgent "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.github/skills/pr-eligibility-checker" ~/.claude/skills/mirandaguillaume-forgent-pr-eligibility-checker && rm -rf "$T"
manifest: .github/skills/pr-eligibility-checker/SKILL.md
source content

Pr Eligibility Checker

Guardrails

  • timeout: 1min
  • fail_closed

When to Use

Use for:

  • before any automated code review
  • when a PR URL is provided for review

Don't use for:

  • for manual reviews without a PR
  • for local-only code review

Context

Consumes: pr_url Produces: eligibility_status Memory: short-term

Strategy

Approach: gate-check Tools: bash

Steps

  1. fetch PR metadata via gh
  2. check if PR is closed, draft, automated, or already reviewed
  3. return eligibility status with reason

Red Flags

ExcuseReality
Skipping eligibility checkReviewing closed/draft/automated PRs wastes tokens and creates noise

Security

  • Filesystem: none
  • Network: allowlist
  • Secrets: GITHUB_TOKEN