2anki

PR Checks — Git skill for Claude Code

Git community

Show current PR's check status; pull failure logs if any are red.

How to install PR Checks

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.

What PR Checks does


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:

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 --log-failed | tail -40` and quote the actual error in 2-3 lin

Alternatives in Git

  • Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
  • PR Summary — Generate a pull request summary for the current branch 5.8k ★
  • Git Status — Read the Files and run the Commands and summarize the current state of the git repository 3.4k ★

Full documentation available on GitHub

View Source Repository