How this skill is triggered — by the user, by Claude, or both
Slash command
/maurelians-skills:address-prThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automates addressing pull request review feedback: analyze comments, make fixes, reply to explain changes, and resolve threads.
Automates addressing pull request review feedback: analyze comments, make fixes, reply to explain changes, and resolve threads.
&&gh CLI authenticatedThe helper scripts are co-located with this skill at:
~/.claude/plugins/marketplaces/maurelians-claude-marketplace/plugins/maurelians-skills/skills/address-pr/
Use this as SKILL_DIR in subsequent steps. Since Claude has no persistent shell state, inline it with each command.
If $ARGUMENTS is empty:
If $ARGUMENTS is provided:
"$SKILL_DIR/gh-pr-threads.sh" PR_NUMBER
[CLAUDE TASK] Parse the JSON output:
viewer_login — your GitHub login (used for filtering in Step 3)unresolved_threads — array of threads to address (own comments already filtered out)total_unresolved — count of unresolved threads[CLAUDE TASK] If total_unresolved is 0, inform the user and exit.
For each unresolved thread from the script output:
[CLAUDE TASK] Skip threads with no reviewer comments — the script already filters out comments where author matches viewer_login. If a thread has 0 remaining comments, skip it.
[CLAUDE TASK] Read the comment body to understand the feedback.
[CLAUDE TASK] Identify the file path and line number from path and line fields.
[CLAUDE TASK] Read the relevant file section to understand the context.
[CLAUDE TASK] Categorize the type of feedback:
[CLAUDE TASK] Present a summary to the user showing the number of comments found, file paths affected, and a brief description of each comment.
IMPORTANT: For any comment where you disagree or think "won't fix" is appropriate, use AskUserQuestion to get user confirmation before replying. Never auto-resolve disagreements.
For each category of comment requiring action:
git add.[CLAUDE TASK] Tell the user: "Now addressing https://github.com/{owner}/{repo}/pull/PR_NUMBER#discussion_r{COMMENT_DB_ID}"
[CLAUDE TASK] Run the response script:
"$SKILL_DIR/gh-pr-respond.sh" PR_NUMBER \
--comment-id COMMENT_DB_ID \
--body 'Fixed in COMMIT_SHA: [explanation of what was changed and why]' \
--resolve --thread-id "THREAD_NODE_ID"
reply_posted and thread_resolved status. If thread resolution failed, log it and continue to the next comment.gh CLI is not authenticated, instruct user to run gh auth loginnpx claudepluginhub maurelian/maurelians-claude-marketplace --plugin maurelians-skillsProcesses PR review feedback by analyzing comments, implementing fixes, committing, pushing, replying on GitHub, and resolving threads. Triggered by /pr-respond or relevant queries.
Reads open GitHub PR review comments, triages by severity, applies code fixes, and drafts replies. Use when addressing PR feedback or code review.
Fetches GitHub PR review comments via gh CLI, inventories by file/line/author, addresses each with code fixes, runs tests, commits referencing PR, pushes, and reports resolutions.