PR Changelog Entry
Read a pull request diff, generate a changelog entry, and append it to the changelog file
Example Prompt
Generate a changelog entry for PR #142 and add it to our CHANGELOG.md
About
Automates changelog maintenance by reading the diff of a merged pull request to understand what changed. Generates a concise, user-facing changelog entry categorized by type (added, changed, fixed, removed) and appends it to the project's CHANGELOG file in the correct section.
Workflow Steps
Fetch the pull request details and diff from GitHub
๐ List IssuesRead the changed files to understand the scope of the PR
๐ Read Repo FileAnalyze the changes and generate a user-facing changelog entry
๐ง Structured ReasoningRead the existing changelog file to find the correct insertion point
๐ Read FileWrite the updated changelog with the new entry appended
โ๏ธ Write FileTools Used
Read File
Read the contents of a file at a specified path on the local filesystem
Write File
Write or overwrite a file at a specified path with the given content
List Issues
List open issues in a GitHub repository with filtering by label, assignee, or milestone
Read Repo File
Read the contents of a file from a GitHub repository at a specific branch or commit
Structured Reasoning
Break down a complex problem into sequential reasoning steps with explicit chain-of-thought