likec4-gh-pr-triage

Inspect GitHub PR status, review comments, and issue mentions using the gh CLI.

5.6k|377|Updated Mar 24, 2023
One-click install
npx skills add https://github.com/likec4/likec4 --skill likec4-gh-pr-triage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: likec4-gh-pr-triage
Source: https://github.com/likec4/likec4/tree/main/.agents/skills/likec4-gh-pr-triage
Command: npx skills add https://github.com/likec4/likec4 --skill likec4-gh-pr-triage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeping track of pull request health, review feedback, and issue mentions across a GitHub repository requires constant manual checking. This Skill automates that triage using the gh CLI and local git as the source of truth, so you get accurate, live answers about PR readiness, blockers, and open review comments.

Core Features & Use Cases

  • PR Health Checks: Identify the active PR from the current branch and report checks, review decision, merge state, and blockers in a compact status format.
  • Review Comment Triage: List open review comments grouped by reviewer with actionable summaries, including CodeRabbit bot feedback and GraphQL thread inspection when counts disagree with the UI.
  • Issue & Mention Tracking: Search assigned issues and mentions for any GitHub login via the search API, with exact context from issue comments and timelines.
  • Use Case: Ask for a status update before standup and receive a compact report like "PR #1234: checks pass, review required, merge blocked by pending reviewer" without opening a browser.

Quick Start

Check the status of the pull request for my current branch and summarize any open review comments.

Frequently Asked Questions about likec4-gh-pr-triage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check pull request status from the command line?

Use gh pr view with the current branch name to fetch the PR number, checks, review decision, and merge state as JSON. Combine it with gh pr checks to see individual CI results without opening a browser.

How to find all GitHub issues mentioning a specific user?

Use gh api with the search/issues endpoint and a query like repo:OWNER/REPO is:issue mentions:LOGIN. For exact context, follow up with gh issue view --comments or the issue timeline API to locate the precise mention.

Why does my PR show BLOCKED when all checks pass?

A BLOCKED merge state with green checks usually means a required human review is missing or branch protection rules are unmet. Check the reviewDecision field; REVIEW_REQUIRED confirms a reviewer must approve before merging.

Can this Skill post comments or merge pull requests automatically?

No. It only performs write actions such as posting comments, marking ready, adding reviewers, or merging when the user explicitly requests them. By default it is read-only and reports live state.

Why do review comment counts differ from the GitHub UI?

Resolved or outdated line comments may not appear in simple comment views from gh pr view or the pulls comments API. Inspect review threads via the GraphQL API to reconcile counts with the GitHub web interface.