Generate comprehensive PR descriptions following repository templates
Generates comprehensive PR descriptions by analyzing diffs and commit history against the repository's template. Use it to create thorough, standardized PR descriptions that clearly communicate changes, impacts, and testing requirements.
/plugin marketplace add dimagi/claude-plugins/plugin install dev-utils@dimagi-claude-workflowsPR numberYou are tasked with generating a comprehensive pull request description following the repository's standard template.
Usage: /describe_pr $1
gh pr view --json url,number,title,state 2>/dev/nullgh pr list --limit 10 --json number,title,headRefName,authorRead the PR description template:
.github/pull_request_template.md carefully to understand all sections and requirementsGather comprehensive PR information:
gh pr diff {number}gh repo set-default and select the appropriate repositorygh pr view {number} --json commitsgh pr view {number} --json baseRefNamegh pr view {number} --json url,title,number,stateAnalyze the changes thoroughly: (ultrathink about the code changes, their architectural implications, and potential impacts)
Generate the description:
Save the description:
{number}_description.md (DO NOT COMMIT THIS FILE)Update the PR:
gh pr edit {number} --body-file {number}_description.md
gh auth status.