一键导入
pr-description
Update a GitHub PR description with a summary of changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update a GitHub PR description with a summary of changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pr-description |
| description | Update a GitHub PR description with a summary of changes |
Update a GitHub pull request description based on the changes in the PR.
/pr-description <PR_NUMBER> [--fixes <ISSUE_NUMBERS>]
PR_NUMBER (required): The pull request number to update--fixes (optional): Comma-separated issue numbers that this PR fixes (e.g., --fixes 123,456)Examples:
/pr-description 3534/pr-description 3534 --fixes 123/pr-description 3534 --fixes 123,456,789First, gather information about the PR:
git log main..HEAD --onelinegit diff main..HEAD--fixes argument for issue numbersCheck the existing PR description:
Analyze the changes:
--fixes argument (if provided)Generate or update the PR description with these sections:
Brief bullet points describing what changed and why. Focus on the purpose and impact, not implementation details.
## Summary
- Added X to enable Y
- Fixed bug where Z would happen
- Refactored W for better maintainability
Document any changes that affect existing users or APIs.
## Breaking Changes
- `ClassName.method()` now requires a `param` argument
- Removed deprecated `old_function()` - use `new_function()` instead
How to verify the changes work. Skip for trivial changes.
## Testing
- Run `uv run pytest tests/test_feature.py` to verify the fix
- Example usage: `uv run examples/new_feature.py`
List issues this PR fixes. GitHub will automatically close these issues when the PR is merged.
## Fixes
- Fixes #123
- Fixes #456
Note: Use "Fixes #X" format (not "Closes" or "Resolves") for consistency. Each issue should be on its own line with "Fixes" to ensure GitHub auto-closes them.
## Summary
- Added `/docstring` skill for documenting Python modules with Google-style docstrings
- Skill finds classes by name and handles conflicts when multiple matches exist
- Skips already-documented code to avoid unnecessary changes
## Testing
/docstring ClassName
## Fixes
- Fixes #123
Before updating the PR:
Update documentation pages to match source code changes on the current branch
Review, refactor, document, and validate code changes in the current branch
Reorganize messy branch commits into a small set of logical, meaningful commits without changing any content. Drops merge-from-main commits. Safe: creates a backup branch first.
Create changelog files for important commits in a PR
Automated code review for pull requests using multiple specialized agents
Document a Python module and its classes using Google style