Back to Powertoys

Issue/PR commands

doc/devdocs/commands.md

0.101.2373.03.1 KB
Original Source

Issue/PR commands

The PowerToys repository uses some special keywords to help manage issues and pull requests. Here is a list of the most important commands you can use in issue and PR descriptions or comments.

CommandDescription
/azp runTriggers the Azure Pipelines CI build for the current PR. Useful if you want to re-run the build without creating a new commit.
/bugreport / /reportbugAdds a comment with a manual for the Bug Report Tool, which helps users collect logs and system information for debugging purposes. It requests to upload this file and adds the Needs-Author-Feedback label.
/feedbackhubAdds a comment with a link to the Feedback Hub app on Windows, where users can submit feedback about PowerToys. Closes the issue and adds the Resolution-Please File on Feedback Hub label.
/dup #... / /duplicate #... / /dup https://... / /duplicate https://...Marks the current issue as a duplicate of another issue. It closes the current issue and applies the Resolution-Duplicate label. Replace #... with the issue number or a link to the issue.
/needinfoAdds the Needs-Author-Feedback label to the issue or PR, indicating that more information is needed from the author.
/helpedCloses the issue and adds the Resolution-Helped User label. Furthermore a comment is added with a link to the PowerToys user documentation.
/locAdds a comment informing the user that the issue was forwarded to the localization team and will soon be fixed. It adds the Loc-Sent To Team label.

Defining new commands

Most of these commands are using the Microsoft GitHub Policy Service bot. Its commands are defined in the PowerToys policy configuration file.

Other automated tasks

AI-assisted issue triage

New and updated issues are processed by a GitHub Agentic Workflow that combines deterministic checks with a bounded GitHub Copilot pass. It maintains one triage comment, adds a matching primary Product-* label and version label, requests blocking author information, recommends updating older PowerToys versions, surfaces likely duplicates, and analyzes a sanitized subset of attached PowerToys diagnostic reports.

Duplicate closure is submitted as a native GitHub suggestion. A maintainer must accept or decline it. Accepting the suggestion closes the issue as a duplicate and links it to the selected canonical issue.

The Needs-Author-Feedback label

If an issue or pull request retains this label without activity for 7 days, the bot closes it. An author comment removes the label from issues and pull requests, and an author push removes it from pull requests. Removing the label manually also disables scheduled closure.

Filtering users that want to contribute

If a user utters their intention to contribute (e.g., by using the phrase "I want to contribute" in an issue or PR), the bot will add a comment with a link to the "Would you like to contribute to PowerToys?" thread.