gh-weekly-closed-prs

Generates weekly GitHub reports of closed pull requests grouped by theme into a Markdown file.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/devinitive-team/mirage --skill gh-weekly-closed-prs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-weekly-closed-prs
Source: https://github.com/devinitive-team/mirage/tree/main/.agents/skills/gh-weekly-closed-prs
Command: npx skills add https://github.com/devinitive-team/mirage --skill gh-weekly-closed-prs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the generation of a weekly summary of Pull Requests (PRs) closed by the authenticated GitHub user, providing a quick overview and traceable evidence.

Core Features & Use Cases

  • Weekly PR Summary: Automatically generates a grouped report of PRs closed in the specified time frame.
  • Customizable Window: Allows users to specify the time frame for the report.
  • Authenticated GitHub User: Utilizes the authenticated GitHub user's PRs for the report.
  • Output File: Generates an output file named weekly-prs-YYYY-MM-DD.md with the report.

Quick Start

Generate a weekly PR summary for the last 7 days by running the skill with the command: python scripts/weekly_closed_prs.py --days 7

Frequently Asked Questions about gh-weekly-closed-prs

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

FAQPage Schema
How do I generate a weekly report of closed Pull Requests on GitHub?

To generate a weekly report of closed Pull Requests, run the Python script with your desired time window. The Skill fetches PR data via the GitHub API and outputs a Markdown file summarizing closed PRs grouped by project or theme.

Can I customize the time frame for my GitHub PR summary?

Yes, you can customize the time frame for your GitHub PR summary by passing the `--days` argument to the script. For example, use `--days 7` to generate a report covering the last 7 days of closed PRs.

Do I need the gh CLI to generate a PR summary for the authenticated GitHub user?

Yes, you need the `gh` dependency and GitHub API access. The Python script utilizes the authenticated GitHub user's credentials to fetch and process PR data, ensuring the report only includes your closed Pull Requests.

What is the best way to group closed GitHub Pull Requests by theme for a weekly review?

The best way to group closed GitHub Pull Requests by theme is using this automated script. It processes your PR data and generates a Markdown file with PRs sorted by closure date and grouped by project or theme for quick review.

What format is the weekly closed PR report outputted in?

The weekly closed PR report is outputted as a Markdown file. The generated file is named `weekly-prs-YYYY-MM-DD.md`, containing your closed Pull Requests sorted by closure date and grouped by project or theme for traceable evidence.