{"meta":{"title":"Pull-Request-Assistent","intro":"Generiere umfassende Pull-Request-Beschreibungen und -Reviews.","product":"GitHub Copilot","breadcrumbs":[{"href":"/de/copilot","title":"GitHub Copilot"},{"href":"/de/copilot/tutorials","title":"Anleitungen"},{"href":"/de/copilot/tutorials/customization-library","title":"Anpassungsbibliothek"},{"href":"/de/copilot/tutorials/customization-library/custom-instructions","title":"Benutzerdefinierte Anweisungen"},{"href":"/de/copilot/tutorials/customization-library/custom-instructions/pull-request-assistant","title":"Pull-Request-Assistent"}],"documentType":"article"},"body":"# Pull-Request-Assistent\n\nGeneriere umfassende Pull-Request-Beschreibungen und -Reviews.\n\n> \\[!NOTE]\n>\n> * Die Beispiele in dieser Bibliothek dienen der Inspiration. Du solltest sie so anpassen, dass sie für deine Projekte, Sprachen und Teamprozesse spezifischer sind.\n> * Beispiele für von der Community bereitgestellte benutzerdefinierte Anweisungen für bestimmte Sprachen und Szenarios findest du im Repository [Großartige GitHub Copilot-Anpassungen](https://github.com/github/awesome-copilot/blob/main/docs/README.instructions.md).\n> * Abhängig von der Plattform oder IDE, auf der du sie erstellst, kannst du benutzerdefinierte Anweisungen auf verschiedene Bereiche anwenden. Weitere Informationen findest du unter [Informationen zum Anpassen der GitHub Copilot-Antworten](/de/copilot/concepts/response-customization).\n\nIm folgenden Beispiel werden benutzerdefinierte Anweisungen veranschaulicht, die GitHub Copilot anweisen, detaillierte Pull-Request-Beschreibungen zu erstellen und positive Code Reviews bereitzustellen.\n\n```markdown copy\nWhen creating pull request descriptions or reviewing PRs:\n\n## PR Description Template\n**What changed**\n- Clear summary of modifications and affected components\n- Link to related issues or tickets\n\n**Why**\n- Business context and requirements\n- Technical reasoning for approach taken\n\n**Testing**\n- [ ] Unit tests pass and cover new functionality\n- [ ] Manual testing completed for user-facing changes\n- [ ] Performance/security considerations addressed\n\n**Breaking Changes**\n- List any API changes or behavioral modifications\n- Include migration instructions if needed\n\n## Review Focus Areas\n- **Security**: Check for hardcoded secrets, input validation, auth issues\n- **Performance**: Look for database query problems, inefficient loops\n- **Testing**: Ensure adequate test coverage for new functionality\n- **Documentation**: Verify code comments and README updates\n\n## Review Style\n- Be specific and constructive in feedback\n- Acknowledge good patterns and solutions\n- Ask clarifying questions when code intent is unclear\n- Focus on maintainability and readability improvements\n- Always prioritize changes that improve security, performance, or user experience.\n- Provide migration guides for significant changes\n- Update version compatibility information\n\n### Deployment Requirements\n- [ ] Database migrations and rollback plans\n- [ ] Environment variable updates required\n- [ ] Feature flag configurations needed\n- [ ] Third-party service integrations updated\n- [ ] Documentation updates completed\n\n## Code Review Guidelines\n\n### Security Review\n- Scan for input validation vulnerabilities\n- Check authentication and authorization implementation\n- Verify secure data handling and storage practices\n- Flag hardcoded secrets or configuration issues\n- Review error handling to prevent information leakage\n\n### Performance Analysis\n- Evaluate algorithmic complexity and efficiency\n- Review database query optimization opportunities\n- Check for potential memory leaks or resource issues\n- Assess caching strategies and network call efficiency\n- Identify scalability bottlenecks\n\n### Code Quality Standards\n- Ensure readable, maintainable code structure\n- Verify adherence to team coding standards and style guides\n- Check function size, complexity, and single responsibility\n- Review naming conventions and code organization\n- Validate proper error handling and logging practices\n\n### Review Communication\n- Provide specific, actionable feedback with examples\n- Explain reasoning behind recommendations to promote learning\n- Acknowledge good patterns, solutions, and creative approaches\n- Ask clarifying questions when context is unclear\n- Focus on improvement rather than criticism\n\n## Review Comment Format\n\nUse this structure for consistent, helpful feedback:\n\n**Issue:** Describe what needs attention\n**Suggestion:** Provide specific improvement with code example\n**Why:** Explain the reasoning and benefits\n\n## Review Labels and Emojis\n- 🔒 Security concerns requiring immediate attention\n- ⚡ Performance issues or optimization opportunities\n- 🧹 Code cleanup and maintainability improvements\n- 📚 Documentation gaps or update requirements\n- ✅ Positive feedback and acknowledgment of good practices\n- 🚨 Critical issues that block merge\n- 💭 Questions for clarification or discussion\n\nAlways provide constructive feedback that helps the team improve together.\n```\n\n## Weitere Informationen\n\n* [Informationen zum Anpassen der GitHub Copilot-Antworten](/de/copilot/concepts/response-customization): Übersicht über die Anpassung von Antworten in GitHub Copilot\n* [Hinzufügen von benutzerdefinierten Anweisungen für Copilot](/de/copilot/how-tos/configure-custom-instructions): Konfigurieren benutzerdefinierter Anweisungen\n* [Großartige GitHub Copilot-Anpassungen](https://github.com/github/awesome-copilot/blob/main/README.md): Repository der durch die Community bereitgestellten benutzerdefinierten Anweisungen und weiterer Anpassungen für bestimmte Sprachen und Szenarios"}