generate-pr-description
npx machina-cli add skill gologo13/agent-skills/generate-pr-description --openclawFiles (1)
SKILL.md
1.5 KB
Generate PR Description
Overview
Create a comprehensive pull request description based on the changes in this branch and format it as proper markdown for use in a GitHub PR description.
Steps
- Summary
- Provide a clear, concise summary of what this PR accomplishes
- Changes Made
- List the key changes made in this PR
- Include both code and non-code changes
- Highlight any breaking changes
- Testing
- Describe how the changes were tested
- Include any new test cases added
- Note any manual testing performed
- Related Issues
- Link to any related issues or tickets
- Use closing keywords if this PR resolves issues
- Additional Notes
- Any deployment considerations
- Follow-up work required
- Notes for reviewers
Generate PR Description Checklist
- Provided clear, concise summary of what this PR accomplishes
- Listed all key changes made in this PR
- Highlighted any breaking changes
- Described how the changes were tested
- Included any new test cases added
- Noted any manual testing performed
- Linked to any related issues or tickets
- Included any deployment considerations
- Noted any follow-up work required
- Formatted as proper markdown for GitHub PR
Source
git clone https://github.com/gologo13/agent-skills/blob/main/skills/generate-pr-description/SKILL.mdView on GitHub Overview
This skill generates a comprehensive Markdown PR description based on the changes in the current branch. It formats content into clear sections (Summary, Changes Made, Testing, Related Issues, and Additional Notes) for GitHub PR descriptions, saving time and improving clarity.
How This Skill Works
The tool analyzes the branch changes, compiles a concise Summary, enumerates key Changes Made (code and non-code), and adds Testing notes and Related Issues. The output is formatted as proper Markdown ready to paste into a GitHub PR.
When to Use It
- When preparing a PR for a feature or bugfix branch
- When multiple files across modules are changed
- When you need to document tests and new test cases
- When linking related issues or tickets with closing keywords
- When including deployment considerations or follow-up work
Quick Start
- Step 1: Run the PR description generator against the current branch
- Step 2: Review the generated Markdown for accuracy and completeness
- Step 3: Copy-paste into the GitHub PR description and adjust as needed
Best Practices
- Provide a concise, end-to-end Summary of the PR
- List all key changes under Changes Made (code and non-code)
- Highlight breaking changes and backward-compatibility notes
- Describe testing approach and results, including new tests
- Format the output as clean Markdown ready for GitHub
Example Use Cases
- PR that adds OAuth login flow with unit tests
- PR that refactors data model and updates API tests
- PR that fixes a bug and adds regression tests
- PR that introduces a breaking API change with migration notes
- PR that adds deployment-related notes for a new feature
Frequently Asked Questions
Add this skill to your agents