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.mdsource 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
- fetch PR metadata via gh
- check if PR is closed, draft, automated, or already reviewed
- return eligibility status with reason
Red Flags
| Excuse | Reality |
|---|---|
| Skipping eligibility check | Reviewing closed/draft/automated PRs wastes tokens and creates noise |
Security
- Filesystem: none
- Network: allowlist
- Secrets: GITHUB_TOKEN