Skip to content

Conversation

@kycutler
Copy link
Contributor

@Copilot Copilot AI review requested due to automatic review settings October 20, 2025 14:21
@kycutler kycutler self-assigned this Oct 20, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for generating pull request descriptions based on a provided template. It allows users to specify a template that the AI will follow when generating PR descriptions, ensuring consistency with project standards and requirements.

Key Changes

  • Added template parameter to the prompt system for PR description generation
  • Modified parsing logic to handle template-based descriptions differently
  • Enhanced user prompt to include template instructions when provided

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/extension/prompts/node/github/pullRequestDescriptionPrompt.tsx Adds template parameter to prompt interfaces and includes template instructions in the system rules and user message
src/extension/prompt/node/githubPullRequestTitleAndDescriptionGenerator.ts Updates generator to accept and process template parameter, modifies parsing logic to handle template-based responses

Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't forgotten about this PR, I just see that the stests are failing and I'm trying to understand why.

Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the prompt changed, you'll also need to run npm run simulate. See https://github.com/microsoft/vscode-copilot-chat/blob/6fa866f39d84179d004edab249b9b1c57260cb89/CONTRIBUTING.md.

@kycutler kycutler requested a review from alexr00 October 24, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: make copilot PR description adhere to PR template

2 participants