GitHub CLI Workflow Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @user_eb2b0784/wtf-github by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem Context
Debugging GitHub pull requests often requires stitching together web UI state and several gh commands: checking CI status, identifying failed steps, viewing only failed logs, and extracting specific PR fields from JSON.
How It Works
The skill uses gh CLI as the execution layer and provides a PR/workflow log workflow:
- Pass --repo owner/repo explicitly outside a Git directory, or use repository URLs directly;
- Check PR CI status and list recent workflow runs;
- Inspect a run, identify failed steps, and extract only failed step logs;
- Use gh api for fields not exposed by simpler subcommands;
- Emit --json from most commands and filter with --jq.
Boundaries
It fits engineers who already use gh and need stable GitHub PR, CI, and API data access. It does not cover local branch merges, conflict resolution, or permission auditing.
Use Cases
- Check whether CI passed before merging a PR and locate the failed workflow step
- Debug a failed workflow run in the terminal by extracting only failed step logs
- Pull specific PR fields with gh api and filter review or merge details with jq
- Batch-query PR status and workflow results for a target repository outside a Git directory
Best For
- Backend engineers owning merge pipelines who need fast PR CI failure and log visibility
- DevOps engineers managing multiple repositories with gh CLI and terminal-based PR data
- SREs troubleshooting release blockers who need only failed step logs from a failed run
- Automation engineers building GitHub API scripts who need stable JSON and jq field extraction
Related Skills
A QQ bot messaging framework based on qq-botpy, covering guild, C2C, and group message flows, scheduled pushes, and troubleshooting.
Explains how to calculate N+1 severance, including service-year rounding, monthly wage base, caps, taxes, and notice pay.
Takes a name input and returns a simple hello greeting.
A BPU quantization tool for Horizon RDK S100 that handles PyTorch/ONNX calibration, stride alignment, post-processing, and board-side validation.