update-pr-description

Update GitHub and Forgejo PR descriptions using repository templates and diff summaries.

Updated Oct 28, 2025
One-click install
npx skills add https://github.com/SnowboardTechie/dotfiles --skill update-pr-description
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-pr-description
Source: https://github.com/SnowboardTechie/dotfiles/tree/main/dot-config/opencode/skills/update-pr-description
Command: npx skills add https://github.com/SnowboardTechie/dotfiles --skill update-pr-description

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Update PR descriptions by following the repository's template and including a diff summary, ensuring consistency and saving time.

Core Features & Use Cases

  • Follows the PR template at load time to ensure required sections are present and placeholders are filled.
  • Retrieves PR metadata and diffs, then composes a complete, consistent description for both GitHub and Forgejo forks.
  • Supports updating PRs by number or URL, with forge detection and robust error handling.

Quick Start

Run update-pr-description on a PR to refresh its description using the defined template and diff summary.

Frequently Asked Questions about update-pr-description

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

FAQPage Schema
How do I automatically update PR descriptions from a template?

Automatically update PR descriptions by reading the repository template, fetching diff summaries, and applying the template-driven description to the PR body via API calls. This ensures required sections are present and placeholders are filled accurately.

Does PR description automation work with both GitHub and Forgejo?

PR description automation supports both GitHub and Forgejo by detecting the forge from the remote URL. It then fetches metadata and diffs to compose a consistent description across both platforms.

Can I update a pull request description using the PR URL instead of a number?

You can update a pull request description using either the PR number or URL. The automation parses the input, detects the forge, fetches metadata and diffs, and applies the template to the PR body.

What is a diff summary in an automated PR description?

A diff summary in an automated PR description provides a concise overview of changes by retrieving PR metadata and diffs. It is composed into the description alongside the repository template to ensure consistency.

Are there limitations when applying PR templates across different forks?

Limitations are minimal as the process detects the forge from the remote URL and applies the template-driven description robustly. It requires parsing PR inputs correctly and handling errors during API calls to update the PR body.