协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
pr-description【开发与工程】Update a GitHub PR description with a summary of changes
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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: