git-pr-workflows-pr-enhance
Enhance Pull Requests for Better Code Reviews
This skill helps developers create high-quality pull requests with comprehensive descriptions, automated review checklists, and size optimization suggestions to facilitate efficient code reviews.
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「git-pr-workflows-pr-enhance」。 Enhance my current PR with comprehensive documentation and review checklist
預期結果:
## PR Summary
This PR adds user authentication with JWT tokens.
**Impact**: 12 files changed (450 additions, 123 deletions)
**Risk Level**: Medium (5.2/10)
**Review Time**: ~20 minutes
## Detailed Description
[Generated change list with categorized files]
## Review Checklist
### General
- [ ] Code follows project style guidelines
- [ ] Self-review completed
### Code Quality
- [ ] No code duplication
- [ ] Functions are focused and small
[... additional checklist items ...]
正在使用「git-pr-workflows-pr-enhance」。 My PR has 30 files and 2000 lines of changes - is it too large?
預期結果:
## Large PR Detected
This PR changes 30 files with 2000 total changes. Large PRs are harder to review.
### Suggested Splits:
1. **Authentication changes** (5 files): Core JWT implementation
2. **Database schema** (3 files): User table modifications
3. **API endpoints** (4 files): New auth endpoints
4. **Frontend integration** (8 files): Login/Logout UI
### How to Split:
Use git cherry-pick to separate logical units into feature branches.
安全審計
安全This skill is a legitimate PR enhancement tool. The subprocess.run calls at lines 45 and 62 execute hardcoded git commands (git diff) for PR analysis - this is standard practice for git automation tools. The 'weak cryptographic algorithm', 'C2 keywords', and 'system reconnaissance' flags are false positives triggered by legitimate words in context of code analysis (checksums), diagram generation (Mermaid), and risk assessment. No command injection risk exists as commands are hardcoded strings.
高風險問題 (1)
風險因素
品質評分
你能建構什麼
Create comprehensive PR descriptions
Automatically generate detailed PR descriptions including summary, change lists, test sections, and breaking changes analysis.
Streamline code review process
Generate context-aware review checklists that adapt to file types and change categories for more efficient reviews.
Optimize PR size and complexity
Analyze PR changes and suggest logical splits for large pull requests to improve reviewability.
試試這些提示
Use the git-pr-workflows-pr-enhance skill to create a comprehensive pull request description for my current changes. Include a summary, detailed change list, and review checklist.
Generate a context-aware review checklist for my PR that includes general items, code quality checks, testing requirements, and security considerations based on the changed files.
Analyze my PR to determine if it is too large. If so, suggest logical ways to split it into smaller, more reviewable pull requests with clear feature boundaries.
Calculate a risk score for my PR including factors for size, complexity, test coverage, dependencies, and security. Provide mitigation strategies for high-risk areas.
最佳實務
- Always run the skill on final changes before creating PR to ensure comprehensive documentation
- Review the generated checklist and add project-specific items relevant to your codebase
- Use the risk assessment to identify areas needing extra attention before review
避免
- Using the skill on incomplete or work-in-progress changes
- Copying generated descriptions without reviewing for accuracy
- Ignoring the size recommendations for very large PRs
常見問題
Does this skill execute git commands on my repository?
Can I customize the review checklist for my team?
What PR size is considered too large?
Does this work with all Git providers?
Can I use this for GitHub pull requests only?
Is this skill suitable for enterprise repositories?
開發者詳情
作者
sickn33授權
MIT
儲存庫
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/git-pr-workflows-pr-enhance引用
main
檔案結構