gh-dash
Current State
!git rev-parse --abbrev-ref HEAD 2>/dev/null || echo 'Not in a git repo'
!gh auth status 2>&1 | head -1
GitHub pull request dashboard for Claude Code with CI/CD monitoring and merge capabilities.
Overview
This skill brings a complete GitHub pull request dashboard into your terminal workflow. Instead of switching to a browser to check PR status, review CI results, or merge branches, gh-dash consolidates all PR information into a single view. It displays real-time CI/CD progress with a visual progress bar, detects and summarizes bot comments (CodeRabbit, Cursor Bugbot, Coverage reporters), shows files changed with line-level statistics, and provides one-command merge operations with support for squash, merge commit, and rebase strategies.
The skill relies on the GitHub CLI (gh) for all API interactions, so it works with any GitHub repository where you have appropriate permissions. It respects branch protection rules, required reviews, and status checks, surfacing any blockers clearly before allowing merge operations.
Instructions
View PR status for the current branch:
- Navigate to the repository directory
- Ask: "Show me the PR dashboard" or "What's the status of my PR?"
- The skill runs
gh pr view and gh pr checks to gather PR metadata, review status, and CI results
Check CI/CD progress:
- Ask: "How are the CI checks doing?" or "Is CI passing?"
- The skill displays each check with its status (pass, fail, pending), elapsed time, and a visual progress indicator
- Failed checks include the failure reason and a link to the full log
Review bot comments:
- Ask: "What did the bots say?" or "Show code review comments"
- The skill filters PR comments to identify automated reviewers (CodeRabbit, Dependabot, coverage bots) and summarizes their findings separately from human reviews
Merge the PR:
- Ask: "Merge this PR" or "Squash merge"
- Supported strategies:
squash (default), merge, rebase
- The skill checks for required reviews, passing CI, and branch protection before attempting the merge
- After merging, it optionally deletes the remote branch and checks out the default branch
View file changes:
- Ask: "What files changed in this PR?"
- Displays a summary of files added, modified, and deleted with line counts
Output
The skill produces formatted terminal output covering:
- PR Summary: Title, description, author, branch, labels, reviewers, and age of the PR.
- CI/CD Status Table: Each workflow check listed with status icon, check name, elapsed time, and conclusion. A progress bar shows overall completion percentage.
- Bot Comment Summary: Grouped by bot type, showing the number of comments, key findings (e.g., "CodeRabbit found 3 suggestions"), and links to individual comments.
- Files Changed: Table of modified files with insertions/deletions counts and file type indicators.
- Merge Result: Confirmation of merge strategy used, resulting commit SHA, and branch cleanup status.
Examples
Example 1: Quick PR Status Check
User: "What's the status of my PR?"
The skill will:
- Run
gh pr view --json title,state,reviews,statusCheckRollup,additions,deletions,changedFiles to gather data.
- Display a formatted summary showing the PR title, review approvals, and CI status.
- Highlight any blockers: failing checks, requested changes, or missing required reviews.
Example 2: Merge After CI Passes
User: "Merge this PR with squash."
The skill will:
- Verify all required status checks are passing with
gh pr checks.
- Confirm the PR has sufficient approvals.
- Execute
gh pr merge --squash --delete-branch to squash-merge and clean up the branch.
- Report the merge commit SHA and confirm the remote branch was deleted.
Example 3: Review Bot Feedback
User: "Summarize the bot comments on this PR."
The skill will:
- Fetch all PR comments with
gh api repos/{owner}/{repo}/pulls/{number}/comments.
- Identify automated comments by known bot usernames and patterns.
- Group findings by bot: CodeRabbit suggestions, coverage report deltas, security scan results.
- Present a concise summary with links to the full comments for follow-up.
Prerequisites
- GitHub CLI (
gh) must be installed and authenticated (gh auth status to verify).
- The current directory must be inside a git repository with a GitHub remote.
- Appropriate permissions for the operations requested (write access for merging).
Error Handling
- No PR found for current branch: Suggests creating a PR with
gh pr create or checking out the correct branch.
- CI checks still running: Reports which checks are pending and offers to wait or proceed.
- Merge blocked: Clearly states the blocking reason (failed checks, missing reviews, branch protection) and suggests remediation steps.
- GitHub CLI not installed: Detects missing
gh command and provides installation instructions for the current platform.
Resources
Source: jeremylongshore/claude-code-plugins-plus-skills → skills/.curated/gh-dash/SKILL.md
Also appears in: jeremylongshore/claude-code-plugins-plus-skills/plugins/devops/gh-dash/skills/gh-dash/SKILL.md
1---2name: gh-dash3description: 'Provides a GitHub pull request dashboard directly in the terminal. Use when the user wants to view PR status, check CI/CD progress, review bot comments, or merge pull requests without leaving Claude Code. Trigger with phrases like "show PR dashboard", "PR status", "check CI progress", "merge this PR", or "review pull request". '4---5
6# gh-dash
7
8## Current State
9
10!`git rev-parse --abbrev-ref HEAD 2>/dev/null || echo 'Not in a git repo'`
11!`gh auth status 2>&1 | head -1`
12
13GitHub pull request dashboard for Claude Code with CI/CD monitoring and merge capabilities.
14
15## Overview
16
17This skill brings a complete GitHub pull request dashboard into your terminal workflow. Instead of switching to a browser to check PR status, review CI results, or merge branches, gh-dash consolidates all PR information into a single view. It displays real-time CI/CD progress with a visual progress bar, detects and summarizes bot comments (CodeRabbit, Cursor Bugbot, Coverage reporters), shows files changed with line-level statistics, and provides one-command merge operations with support for squash, merge commit, and rebase strategies.
18
19The skill relies on the GitHub CLI (`gh`) for all API interactions, so it works with any GitHub repository where you have appropriate permissions. It respects branch protection rules, required reviews, and status checks, surfacing any blockers clearly before allowing merge operations.
20
21## Instructions
22
231. **View PR status** for the current branch:
24 - Navigate to the repository directory
25 - Ask: "Show me the PR dashboard" or "What's the status of my PR?"
26 - The skill runs `gh pr view` and `gh pr checks` to gather PR metadata, review status, and CI results
27
282. **Check CI/CD progress:**
29 - Ask: "How are the CI checks doing?" or "Is CI passing?"
30 - The skill displays each check with its status (pass, fail, pending), elapsed time, and a visual progress indicator
31 - Failed checks include the failure reason and a link to the full log
32
333. **Review bot comments:**
34 - Ask: "What did the bots say?" or "Show code review comments"
35 - The skill filters PR comments to identify automated reviewers (CodeRabbit, Dependabot, coverage bots) and summarizes their findings separately from human reviews
36
374. **Merge the PR:**
38 - Ask: "Merge this PR" or "Squash merge"
39 - Supported strategies: `squash` (default), `merge`, `rebase`
40 - The skill checks for required reviews, passing CI, and branch protection before attempting the merge
41 - After merging, it optionally deletes the remote branch and checks out the default branch
42
435. **View file changes:**
44 - Ask: "What files changed in this PR?"
45 - Displays a summary of files added, modified, and deleted with line counts
46
47## Output
48
49The skill produces formatted terminal output covering:
50
51- **PR Summary**: Title, description, author, branch, labels, reviewers, and age of the PR.
52- **CI/CD Status Table**: Each workflow check listed with status icon, check name, elapsed time, and conclusion. A progress bar shows overall completion percentage.
53- **Bot Comment Summary**: Grouped by bot type, showing the number of comments, key findings (e.g., "CodeRabbit found 3 suggestions"), and links to individual comments.
54- **Files Changed**: Table of modified files with insertions/deletions counts and file type indicators.
55- **Merge Result**: Confirmation of merge strategy used, resulting commit SHA, and branch cleanup status.
56
57## Examples
58
59### Example 1: Quick PR Status Check
60
61**User:** "What's the status of my PR?"
62
63The skill will:
64
651. Run `gh pr view --json title,state,reviews,statusCheckRollup,additions,deletions,changedFiles` to gather data.
662. Display a formatted summary showing the PR title, review approvals, and CI status.
673. Highlight any blockers: failing checks, requested changes, or missing required reviews.
68
69### Example 2: Merge After CI Passes
70
71**User:** "Merge this PR with squash."
72
73The skill will:
74
751. Verify all required status checks are passing with `gh pr checks`.
762. Confirm the PR has sufficient approvals.
773. Execute `gh pr merge --squash --delete-branch` to squash-merge and clean up the branch.
784. Report the merge commit SHA and confirm the remote branch was deleted.
79
80### Example 3: Review Bot Feedback
81
82**User:** "Summarize the bot comments on this PR."
83
84The skill will:
85
861. Fetch all PR comments with `gh api repos/{owner}/{repo}/pulls/{number}/comments`.
872. Identify automated comments by known bot usernames and patterns.
883. Group findings by bot: CodeRabbit suggestions, coverage report deltas, security scan results.
894. Present a concise summary with links to the full comments for follow-up.
90
91## Prerequisites
92
93- **GitHub CLI (`gh`)** must be installed and authenticated (`gh auth status` to verify).
94- The current directory must be inside a git repository with a GitHub remote.
95- Appropriate permissions for the operations requested (write access for merging).
96
97## Error Handling
98
99- **No PR found for current branch:** Suggests creating a PR with `gh pr create` or checking out the correct branch.
100- **CI checks still running:** Reports which checks are pending and offers to wait or proceed.
101- **Merge blocked:** Clearly states the blocking reason (failed checks, missing reviews, branch protection) and suggests remediation steps.
102- **GitHub CLI not installed:** Detects missing `gh` command and provides installation instructions for the current platform.
103
104## Resources
105
106- [GitHub CLI manual](https://cli.github.com/manual/) — official `gh` command reference
107- [GitHub REST API docs](https://docs.github.com/en/rest) — underlying API for PR data and checks
108- [GitHub pull request documentation](https://docs.github.com/en/pull-requests) — PR workflows, reviews, and merge strategies
109
110---
111
112**Source:** [`jeremylongshore/claude-code-plugins-plus-skills`](https://github.com/jeremylongshore/claude-code-plugins-plus-skills) → `skills/.curated/gh-dash/SKILL.md`
113
114**Also appears in:** `jeremylongshore/claude-code-plugins-plus-skills/plugins/devops/gh-dash/skills/gh-dash/SKILL.md`