update-pr

Create and update GitHub pull requests with changelog-style descriptions.

130|21|Updated Jun 29, 2023
One-click install
npx skills add https://github.com/indexnetwork/index --skill update-pr-indexnetwork
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-pr
Source: https://github.com/indexnetwork/index/tree/main/.cursor/skills/update-pr
Command: npx skills add https://github.com/indexnetwork/index --skill update-pr-indexnetwork

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating and updating GitHub pull requests, automating the generation of changelog-style descriptions from commit history and managing PR status.

Core Features & Use Cases

  • Automated PR Creation: Creates pull requests into a specified base branch (e.g., upstream/dev) using the GitHub CLI.
  • Changelog-Style Descriptions: Generates PR bodies by organizing commits into sections like "New Features," "Bug Fixes," etc.
  • PR Updates: Modifies existing pull requests with new titles, bodies, or status changes (ready, draft, closed, reopened).
  • Use Case: After completing a set of features and bug fixes, you can use this Skill to quickly open a PR with a well-formatted description derived from your commit messages, ensuring clarity for reviewers.

Quick Start

Use the update-pr skill to create a pull request into the dev branch with a title 'feat(api): add new endpoint' and a body describing the changes.

Frequently Asked Questions about update-pr

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

FAQPage Schema
How do I automate GitHub pull request creation from commit history?

You can automate GitHub pull request creation using the GitHub CLI to inspect commit history, automatically categorizing changes into features, fixes, refactors, documentation, and tests for the PR body. This generates changelog-style descriptions directly from your commits.

How do I generate a changelog-style description for a pull request?

To generate a changelog-style description for a pull request, this skill parses your commit history and organizes the changes into categorized sections like New Features and Bug Fixes. It then applies this structured summary to the PR body automatically.

Can I change a GitHub pull request status to draft or closed via CLI?

Yes, you can change a GitHub pull request status to draft, closed, ready, or reopened via CLI. The skill manages PR status updates directly, allowing you to modify existing pull requests without navigating the web interface.

What is the best way to update an existing pull request with new commits?

The best way to update an existing pull request with new commits is using an automated CLI tool that modifies the PR title and body. It re-inspects the commit history to refresh the categorized changelog-style description.

Do I need the GitHub CLI to automate pull request management?

Yes, you need the GitHub CLI to automate pull request management with this skill. It relies on the CLI to create pull requests into specified base branches, update titles, and manage status actions like ready, draft, close, and reopen.