mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 20:20:38 +01:00
## Summary of the Pull Request - Clarified the PR-summary prompt to prepend a PR title and to reuse the Conventional Commit rules from `.github/prompts/create-commit-title.prompt.md`. - Expanded the commit-title prompt with clearer purpose, inputs, and Conventional Commit guidance. - Added workspace Copilot chat settings in `.vscode/settings.json` to point review/commit/PR generation at the repo prompt files. e.g. for commit tile generation: <img width="562" height="376" alt="image" src="https://github.com/user-attachments/assets/ca11d117-e4ad-4d1e-abb7-2b4600690f45" /> ## PR Checklist - [ ] Closes: N/A - [ ] Communication: N/A (prompt/settings maintenance) - [ ] Tests: Not run (prompt/settings-only change) ## Detailed Description of the Pull Request / Additional comments - The PR-summary workflow now directs PR title generation to the existing commit-title prompt instead of duplicating rules, and places the title above the filled template. - The commit-title prompt now spells out required diff command, decision steps, and Conventional Commit examples. - VS Code Copilot chat settings ensure review, commit, and PR description generation use the repository prompts consistently. ## Validation Steps Performed - Not run (no product code changes)
17 lines
474 B
JSON
17 lines
474 B
JSON
{
|
|
"github.copilot.chat.reviewSelection.instructions": [
|
|
{
|
|
"file": ".github/prompts/review-pr.prompt.md"
|
|
}
|
|
],
|
|
"github.copilot.chat.commitMessageGeneration.instructions": [
|
|
{
|
|
"file": ".github/prompts/create-commit-title.prompt.md"
|
|
}
|
|
],
|
|
"github.copilot.chat.pullRequestDescriptionGeneration.instructions": [
|
|
{
|
|
"file": ".github/prompts/create-pr-summary.prompt.md"
|
|
}
|
|
]
|
|
} |