branch-report

Identify outstanding pull requests, local branches, and their stacks in GitHub repositories.

Updated Jul 6, 2020
One-click install
npx skills add https://github.com/guifry/devconfig --skill branch-report
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: branch-report
Source: https://github.com/guifry/devconfig/tree/main/claude/skills/branch-report
Command: npx skills add https://github.com/guifry/devconfig --skill branch-report

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps track of outstanding PRs, local branches, and their dependencies (stacks) within the current repository to improve review flow and cleanup decisions.

Core Features & Use Cases

  • Detects PR stacks by base/head relationships to reveal parent-child branch relationships.
  • Identifies orphan branches and standalone PRs to prioritize cleanup.
  • Generates a Markdown report suitable for documentation, status updates, or weekly reviews.

Quick Start

Run the branch-report command in your repository to generate the latest PR/branch report.

Frequently Asked Questions about branch-report

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

FAQPage Schema
How do I track outstanding pull requests and local branches in a git repository?

To track outstanding PRs and local branches, you can generate a report that identifies outstanding pull requests, local branches, and their stacks. This report parses PR data and computes parent-child branch relationships to reveal dependencies.

What is a PR stack and how do I detect base and head branch relationships?

A PR stack is a parent-child branch dependency where one branch builds upon another. Stack detection works by parsing base and head branch relationships from PR data to reveal how branches depend on each other.

Can I identify orphan branches and standalone PRs using the GitHub CLI?

Yes, you can identify orphan branches and standalone PRs using the GitHub CLI. It gathers local and remote branch data to flag branches that are not associated with active pull requests or parent stacks.

How do I generate a Markdown report of my git branch stacks for review?

To generate a Markdown report of git branch stacks, run a branch report command in your repository. It computes PR stacks and orphan branches, producing a Markdown document suitable for documentation and weekly status updates.

Do I need the GitHub CLI and git installed to detect branch stacks?

Yes, you need both the GitHub CLI and git installed to detect branch stacks. The stack detection mechanism applies to GitHub repositories where both tools are available to gather data and compute branch relationships.