chore: add solve-pr-comments agent skill#1444
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new agent skill that provides a structured workflow for triaging and responding to PR review comments, ensuring comments are either applied, declined with justification, or answered directly.
Changes:
- Introduces a new
.agents/skills/solve-pr-comments/SKILL.mdskill with a decision tree for classifying PR comments. - Defines concrete rules and guardrails to avoid silent resolutions, “pacifying” changes, and vague acknowledgements.
- Documents a step-by-step workflow for fetching comments, batching fixes, replying, and (intended) thread resolution.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1444 +/- ##
=======================================
Coverage 68.95% 68.95%
=======================================
Files 362 362
Lines 28072 28072
=======================================
Hits 19358 19358
Misses 7857 7857
Partials 857 857 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Adds a new agent skill document that standardizes how to triage and respond to PR review comments (apply / decline / answer), with an explicit workflow and guardrails to prevent silent or non-substantive resolutions.
Changes:
- Introduces a decision tree for classifying PR comments into three action paths.
- Adds a step-by-step workflow for fetching comments, batching fixes, replying, and resolving threads.
- Establishes guardrails to ensure every comment receives a substantive response.
There was a problem hiding this comment.
Pull request overview
Adds a new agent skill (solve-pr-comments) that defines a structured workflow for triaging PR review comments into: apply changes, decline with explanation, or answer questions—plus guardrails to ensure every comment gets a substantive response.
Changes:
- Introduces a decision tree for classifying PR comments into three action paths (apply/decline/answer).
- Documents an end-to-end workflow (fetch → triage → group edits → reply → resolve threads).
- Adds guardrails to prevent silent resolution or “pacifying” changes.
Summary
solve-pr-commentsagent skill to.agents/skills/Why
PR review comments are not always correct, and treating every comment as an order leads to worse code. Agents (and humans) need a clear framework for deciding when to change code, when to respectfully push back with a technical explanation, and when a comment is just a question that needs an answer — not a code change.
The skill introduces a decision tree that asks two questions in sequence: is the comment correct, and is it a question? This produces three distinct action paths, each with explicit rules for how to reply. The guardrails section forbids vague acknowledgements and silent resolution, ensuring every comment gets a substantive response.