diff --git a/.claude/commands/respond-to-pr-comments.md b/.claude/commands/respond-to-pr-comments.md new file mode 100644 index 0000000..f7c1ede --- /dev/null +++ b/.claude/commands/respond-to-pr-comments.md @@ -0,0 +1,14 @@ +Task is to resolve all active comments on PR in GitHub. + +First enumerate them, and then let's discuss each one. Wait for direction from me before moving forward on a fix. + +Use `gh` CLI to perform operations + +# Get PR number from current branch +gh pr view --json number --jq .number + +# Get all comments +gh pr view --json comments --jq '.comments[] | {id: .id, body: .body, author: .author.login}' + +# Mark comment as resolved +gh pr comment resolve \ No newline at end of file