gh-address-comments
Originally fromopenai/skills
Installation
SKILL.md
PR Comment Handler
Guide to find the open PR for the current branch and address its comments with gh CLI. Run all gh commands with elevated network access.
Preflight
- Create a structured task list of the following steps
- Inform the user of what you are doing
You should endeavor to run this entire workflow autonomously, only engaging the user if issues arise or uncertain how to best proceed.
Step 1: Inspect comments needing attention
- Run
<path-to-skill>/scripts/fetch_comments.pywhich will print out all the comments and review threads on the PR
Step 2: Enumarate issues identified in comments and review threads
- Number all the review threads and comments
- Provide a short summary of each "issue candidate," including any suggested fixes from the reviewer