Summary
Enhance pull-request.prompt.md to automatically discover repository PR templates and merge generated content into the template structure.
Problem
The current PR generation prompt creates a standalone pr.md file that doesn't integrate with repository PR templates. Users must manually copy content into the template sections.
Proposed Solution
Implement Option B (Two-Phase Generation):
- Step 1.5: Discover PR template at GitHub-standard locations
- Step 3.5: Merge generated content into template sections with:
- Auto-checked Type of Change boxes based on file patterns
- Related Issues populated from commit/branch analysis
- Security Considerations from security analysis
Acceptance Criteria
Research
See .copilot-tracking/research/20251212-pull-request-template-integration-research.md
Summary
Enhance
pull-request.prompt.mdto automatically discover repository PR templates and merge generated content into the template structure.Problem
The current PR generation prompt creates a standalone
pr.mdfile that doesn't integrate with repository PR templates. Users must manually copy content into the template sections.Proposed Solution
Implement Option B (Two-Phase Generation):
Acceptance Criteria
.github/PULL_REQUEST_TEMPLATE.mdResearch
See
.copilot-tracking/research/20251212-pull-request-template-integration-research.md