mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
Add github PR comments skill and use it in pr reviewer skill (#175790)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
parent
dec0c67bb2
commit
3e06799f51
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: ha-pr-comment-audit
|
||||
description: Audits the review comment threads on a Home Assistant GitHub pull request, flagging unaddressed comments and requests for clarification. Use when checking whether PR feedback has been handled, either standalone or as part of a full PR review.
|
||||
---
|
||||
|
||||
# Check Home Assistant PR Review Comments
|
||||
|
||||
## Instructions:
|
||||
- Resolve the PR context first. If a PR number is not given, use 'gh pr view' to identify the current branch's PR.
|
||||
- Fetch the review comment threads for the PR (e.g. 'gh api' for review threads/comments).
|
||||
- Flag comments that have not been addressed. If the author has replied but has not implemented the suggestion, still flag it and summarize the reply.
|
||||
- Flag comments for which the author has asked for clarification.
|
||||
- Generate a summary of the flagged comments, including a link for each comment. Don't include comments that have been addressed.
|
||||
|
||||
|
||||
## IMPORTANT:
|
||||
- Only provide feedback in the CONSOLE. DO NOT ACT ON GITHUB.
|
||||
@@ -5,11 +5,11 @@ description: Reviews Home Assistant GitHub pull requests and provides feedback c
|
||||
|
||||
# Review GitHub Pull Request
|
||||
|
||||
## Follow these steps:
|
||||
1. Use 'gh pr view' to get the PR details and description.
|
||||
2. Use 'gh pr diff' to see all the changes in the PR.
|
||||
3. Review the changes following the `ha-review` skill. It is VERY IMPORTANT to follow the `ha-review` skill instructions.
|
||||
4. Check if all existing review comments have been addressed.
|
||||
## Instructions:
|
||||
- Use 'gh pr view' to get the PR details and description.
|
||||
- Use 'gh pr diff' to see all the changes in the PR.
|
||||
- Review the changes following the `ha-review` skill. It is VERY IMPORTANT to follow the `ha-review` skill instructions.
|
||||
- Run a subagent in parallel to check the PR review comments following the `ha-pr-comment-audit` skill.
|
||||
|
||||
## IMPORTANT:
|
||||
- Only provide review feedback in the CONSOLE. DO NOT ACT ON GITHUB.
|
||||
|
||||
Reference in New Issue
Block a user