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.
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
Ative e comece a usar
Testar
A utilizar "git-pr-workflows-pr-enhance". Enhance my current PR with comprehensive documentation and review checklist
Resultado esperado:
## 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 ...]
A utilizar "git-pr-workflows-pr-enhance". My PR has 30 files and 2000 lines of changes - is it too large?
Resultado esperado:
## 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.
Auditoria de Segurança
SeguroThis 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.
Problemas de Alto Risco (1)
Fatores de risco
⚙️ Comandos externos (2)
Pontuação de qualidade
O Que Você Pode Construir
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.
Tente Estes Prompts
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.
Melhores Práticas
- 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
Evitar
- 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
Perguntas Frequentes
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?
Detalhes do Desenvolvedor
Autor
sickn33Licença
MIT
Repositório
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/git-pr-workflows-pr-enhanceReferência
main
Estrutura de arquivos