AGENT SKILL

pr-eligibility-checker

gate-check-based skill consuming pr_url to produce eligibility_status

License 许可
Apache-2.0
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
pr-eligibility-checker
description
gate-check-based skill consuming pr_url to produce eligibility_status

03 SKILL.md 正文

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

Excuse Reality
Skipping eligibility check Reviewing closed/draft/automated PRs wastes tokens and creates noise

Security

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

04 同仓库更多 Skills