Pr Checks banner
2anki 2anki

Pr Checks

Git community

Description

--- description: Show current PR's check status; pull failure logs if any are red allowed-tools: Bash --- Get the rollup for the current branch's PR: ```bash gh pr view --json statusCheckRollup -q '.statusCheckRollup[] | "\(.conclusion // "pending")\t\(.name)\t\(.workflowName // "")\t\(.detailsUrl // "")"' ``` Summarize: counts of pass / fail / pending. If anything failed, fetch the relevant run's failure log via `gh run view <id> --log-failed | tail -40` and quote the actual error in 2-3 lin

Installation

Installs to ~/.claude/commands/2anki-2anki.net-pr-checks.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/2anki/2anki.net/HEAD/.claude/commands/pr-checks.md -o ~/.claude/commands/2anki-2anki.net-pr-checks.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository