ghp:wrap-milestone

Create a PR from a milestone branch and close associated issues.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/fredericosantos/skills --skill ghp-wrap-milestone
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ghp:wrap-milestone
Source: https://github.com/fredericosantos/skills/tree/main/skills/ghp/commands/wrap-milestone
Command: npx skills add https://github.com/fredericosantos/skills --skill ghp-wrap-milestone

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Closes GitHub milestones by summarizing completed work, creating a PR from the milestone branch to main, closing related issues, and finally closing the milestone.

Core Features & Use Cases

  • Milestone-to-PR automation: generates a PR from the milestone branch to main with a descriptive body listing closed issues.
  • Bulk issue closure: closes all completed issues associated with the milestone.
  • Milestone lifecycle management: automatically closes the milestone after PR merge and notifies the user with the PR URL and summary.

Quick Start

Invoke the ghp:wrap-milestone flow to close the current milestone by creating a PR from its milestone branch to main and closing all completed issues.

Frequently Asked Questions about ghp:wrap-milestone

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

FAQPage Schema
How do I automate closing a GitHub milestone with a pull request?

You can automate GitHub milestone closure by generating a PR from the milestone branch to main, assembling a body with closes references for completed issues, and updating the milestone state after the PR merge.

What is the process for bulk closing issues tied to a GitHub milestone?

Bulk closing issues tied to a GitHub milestone involves identifying completed issues within that milestone, assembling their closes references into a PR body, and automatically transitioning their state to closed when the milestone workflow executes.

Do I need the GitHub CLI to automate milestone lifecycle management?

Yes, automating end-to-end milestone lifecycle management requires the GitHub CLI or API access to interact with your configured repository, generate the PR, and update the milestone state after merge.

Can I automatically generate a PR body listing closed issues from a milestone branch?

Yes, you can automatically generate a PR body listing closed issues by summarizing completed work from a milestone branch to main, which includes descriptive references to all associated issues closed during the workflow.

When should I avoid automating milestone closure with PRs?

You should avoid automating milestone closure with PRs if your repository does not utilize dedicated milestone branches, lacks GitHub CLI or API access, or requires manual review of issue completion before closing milestones.