Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

gator-gate

БесплатноБез исполняемых скриптовНе проверен

Validate and monitor OpenShell GitHub issues and PRs using the gator:* state machine. Use when asked to triage issues/PRs for project validity, gate PRs, run…

ai-openshellот ai-openshell★ 22 101 звезда на GitHub

Об этом скилле

Gator Gate

Validate OpenShell GitHub issues and pull requests for project fit, then monitor valid PRs until they are ready for maintainer approval.

This skill is a gating workflow. It can start from any issue or PR state, inspect the current gator:* label, and continue the correct next action.

Skill Location

Load this skill from .agents/agents/gator/skills/gator-gate/SKILL.md, or its canonical GitHub location.

Prerequisites

  • The gh CLI must be able to call GitHub APIs (gh api user --jq '.login')
  • You must be in the OpenShell repository root
  • GitHub write permissions are required to apply labels, comment, close issues/PRs, or approve workflow runs

Do not use gh auth status as the authentication health check inside provider-backed sandboxes. Scoped provider tokens may be exposed as openshell:resolve:env:* placeholders and gh auth status probes endpoints outside the gator policy, causing false "token is invalid" reports even when allowed gh api and gh pr calls succeed. Use gh api user --jq '.login' and a repo-scoped probe instead.

Use REST-backed gh api for GitHub write actions inside gator sandboxes. Do not rely on gh issue edit, gh pr edit, or other high-level write commands when a REST path is available, because some of them use GraphQL mutations and gator policy allows GraphQL reads only. Do not fall back to curl for credentialed GitHub writes unless the active provider policy explicitly allows the curl binary for the same scoped endpoint. Preferred write shapes:

jq -Rs '{body:.}' comment.md > /tmp/comment.json
gh api --method POST repos/ai-openshell/openshell/issues/<number>/comments --input /tmp/comment.json --jq .html_url
gh api --method POST repos/ai-openshell/openshell/issues/<number>/labels -f labels[]="gator:<state>"
gh api --method DELETE repos/ai-openshell/openshell/issues/<number>/labels/gator%3Ablocked --silent || true

If a required GitHub REST read or write fails with EOF, Empty reply from server, or a sandbox NET:FAIL after the current policy shows the endpoint was allowed, treat it as a transient transport or provider failure. Do not convert the PR or issue to gator:blocked, do not report it as a rate-limit/auth failure, and do not keep probing optional endpoints such as /rate_limit. In supervised watch mode, finish with OPENSHELL_AGENT_RESULT {"status":"transient_failure","next_poll_seconds":120,"reason":"github_transport_eof","notes":"GitHub transport failed after policy allowed the request. The supervisor should retry without changing the PR state."} so the supervisor retries soon.

If the principal-engineer-reviewer sub-agent fails before producing usable review output, treat that as transient gator infrastructure failure, not as a PR blocker. This includes Codex auth or token-refresh failures, model transport failures, sub-agent command failures, empty reviewer output, malformed reviewer output, and sandbox policy denials that only affect the sub-agent harness. Do not post a marked gator comment or PR review, do not apply gator:blocked, and do not consume the one-disposition-per-head-SHA slot. In supervised watch mode, finish with OPENSHELL_AGENT_RESULT {"status":"transient_failure","next_poll_seconds":120,"reason":"reviewer_subagent_failed","notes":"The reviewer did not produce usable feedback, so no PR state was changed. The supervisor should retry the review."} so the supervisor retries after the operator or provider issue clears.

Authority Rules

  • Do not push commits to a contributor's PR branch by default.
  • You may push changes only when explicitly instructed by a GitHub comment from a maintainer or by a direct operator prompt.
  • Do not approve workflow runs unless the operator explicitly authorized workflow approval and the current GitHub user has repository write, maintain, or admin permission. Workflow approval is not PR approval; never approve or merge a PR without separate operator authorization.
  • Code review is code-only. Do not run pre-commit, unit tests, or E2E locally as part of the initial PR review unless explicitly instructed.
  • Surface security-related findings introduced or newly exposed by an unmerged PR in that PR's normal review, using the same evidence, severity, and blocker rules as other findings. A security classification alone does not require private triage or suspend operator-authorized test dispatch.
  • For pre-existing vulnerabilities independent of the PR, follow SECURITY.md: retain detailed evidence privately and notify the operator without publishing exploit details. Do not initiate external disclosure, contact PSIRT, or submit a security report without explicit operator authorization.

Maintainer authority means one of:

  • User is in the ai-openshell/maintainers team
  • User is a CODEOWNER listed in .github/CODEOWNERS
  • Repository permission is `admi
Полный SKILL.md на GitHub

Установить gator-gate в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/review-findings-schema.md

FAQ

Что делает скилл gator-gate?

Validate and monitor OpenShell GitHub issues and PRs using the gator:* state machine. Use when asked to triage issues/PRs for project validity, gate PRs, run gator, validate submissions, or monitor PRs toward merge readiness.

Как установить скилл gator-gate?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gator-gate запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить gator-gate с