Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Teaches agents to reply to PR review comment threads after fixing issues, making resolutions traceable
$ npx skills add bradygaster/squad --skill pr-review-response -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install bradygaster/squad pr-review-response --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.squad-templates/skills/pr-review-response .claude/skills/pr-review-response && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pr-review-response" agent skill from https://github.com/bradygaster/squad/tree/dev/.squad-templates/skills/pr-review-response into .claude/skills/pr-review-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-review-response", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/bradygaster/squad/tree/dev/.squad-templates/skills/pr-review-responseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add bradygaster/squad --skill pr-review-response -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install bradygaster/squad pr-review-response --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.squad-templates/skills/pr-review-response .agents/skills/pr-review-response && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pr-review-response" agent skill from https://github.com/bradygaster/squad/tree/dev/.squad-templates/skills/pr-review-response into .agents/skills/pr-review-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-review-response", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bradygaster/squad --skill pr-review-response -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install bradygaster/squad pr-review-response --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.squad-templates/skills/pr-review-response .cursor/skills/pr-review-response && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pr-review-response" agent skill from https://github.com/bradygaster/squad/tree/dev/.squad-templates/skills/pr-review-response into .cursor/skills/pr-review-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-review-response", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/bradygaster/squad.git --path .squad-templates/skills/pr-review-response--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add bradygaster/squad --skill pr-review-response -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install bradygaster/squad pr-review-response --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.squad-templates/skills/pr-review-response .gemini/skills/pr-review-response && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pr-review-response" agent skill from https://github.com/bradygaster/squad/tree/dev/.squad-templates/skills/pr-review-response into .gemini/skills/pr-review-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-review-response", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install bradygaster/squad pr-review-responseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add bradygaster/squad --skill pr-review-response -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .github/skills && cp -r skills-src/.squad-templates/skills/pr-review-response .github/skills/pr-review-response && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pr-review-response" agent skill from https://github.com/bradygaster/squad/tree/dev/.squad-templates/skills/pr-review-response into .github/skills/pr-review-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-review-response", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bradygaster/squad --skill pr-review-response -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install bradygaster/squad pr-review-response --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bradygaster/squad.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.squad-templates/skills/pr-review-response .opencode/skills/pr-review-response && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pr-review-response" agent skill from https://github.com/bradygaster/squad/tree/dev/.squad-templates/skills/pr-review-response into .opencode/skills/pr-review-response/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pr-review-response", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pr-review-responseTeaches agents to reply to PR review comment threads after fixing issues, making resolutions traceable
PR Review Response is an agent skill from bradygaster/squad. Teaches agents to reply to PR review comment threads after fixing issues, making resolutions traceable
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Pull requests. The repository describes itself as: Squad: AI agent teams for any project. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 71818eb. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
ghgitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh and git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
PR Review Response loads about 2.7k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 880 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from bradygaster/squad at commit 71818eb, republished under its MIT licence (© bradygaster). 880 words, ~2,655 tokens.
.claude/skills/pr-review-response/SKILL.md (or your agent's skills folder).When an agent fixes code in response to PR review comments (from Copilot, a human reviewer, or any GitHub reviewer), the fix alone is not enough. The reviewer needs to see — on the PR thread itself — which comments were addressed and how. Without replies, comments stay visually unresolved, reviewers must re-read the entire diff to verify fixes, and there's no traceable link between feedback and resolution.
Use this skill whenever:
✅ THIS SKILL PRODUCES:
❌ THIS SKILL DOES NOT PRODUCE:
Using MCP tools (preferred when available):
github-mcp-server-pull_request_read
method: "get_review_comments"
owner: "{owner}"
repo: "{repo}"
pullNumber: {pr_number}This returns review threads with metadata: isResolved, isOutdated, isCollapsed, and their associated comments. Each comment has an id you'll need for replies.
Using gh CLI (fallback):
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments --paginateEach comment object contains id, body, path, line, and in_reply_to_id. Top-level comments have no in_reply_to_id — those are the ones you reply to.
Make the actual code changes. This is your normal domain work — the skill doesn't prescribe how to fix, only how to communicate the fix.
Track what you changed. For each review comment, note:
id (top-level, not a reply)After fixing and committing, reply to each review comment thread individually.
REST API call (via gh CLI):
gh api repos/{owner}/{repo}/pulls/{pr_number}/comments/{comment_id}/replies \
-f body="Fixed in {sha_short} — {brief description of what was changed}"Important: {comment_id} must be the ID of the top-level comment in the thread. You cannot reply to a reply — only to the original review comment.
Example replies:
# Specific and traceable
gh api repos/bradygaster/squad/pulls/42/comments/18234/replies \
-f body="Fixed in a1b2c3d — switched to path.dirname(squadDirInfo.path) for worktree consistency"
# When applying a suggested code change
gh api repos/bradygaster/squad/pulls/42/comments/18235/replies \
-f body="Applied suggestion — updated error message to include the file path for debuggability"
# When pushing back on a suggestion
gh api repos/bradygaster/squad/pulls/42/comments/18236/replies \
-f body="Considered but not applied — this path needs to stay absolute because worktree resolution depends on it. See detectSquadDir() in detect-squad-dir.ts."Thread resolution is only available via the GitHub GraphQL API. Use this when your fix fully addresses the comment and no further discussion is needed.
First, get the thread IDs (they're different from comment IDs):
gh api graphql -f query='
query {
repository(owner: "{owner}", name: "{repo}") {
pullRequest(number: {pr_number}) {
reviewThreads(first: 100) {
nodes {
id
isResolved
comments(first: 1) {
nodes { body databaseId }
}
}
}
}
}
}
'Match thread IDs to comment IDs using databaseId, then resolve:
gh api graphql -f query='
mutation {
resolveReviewThread(input: {threadId: "{thread_node_id}"}) {
thread { id isResolved }
}
}
'When to resolve vs. leave open:
Rule of thumb: Agent-to-agent threads (e.g., Copilot review → agent fix) can be resolved by the fixer. Human reviewer threads should be left for the human to resolve.
Commit messages should reference the PR context:
fix: address review feedback on PR #{pr_number}
- Switched to path.dirname() for worktree path resolution (comment #18234)
- Updated error message to include file path (comment #18235)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>For single-comment fixes, a shorter format works:
fix: use path.dirname() for worktree consistency (PR #{pr_number} review)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>gh apigh api .../repliesReview comment (id: 55123):
squadDircould be undefined here. Consider adding a null check.
Agent workflow:
get_review_commentssrc/cli/core/detect-squad-dir.tsfix: add null check for squadDir (PR #99 review)gh api repos/bradygaster/squad/pulls/99/comments/55123/replies \
-f body="Fixed in f4e5d6c — added early return when squadDir is undefined, matching the pattern in loadConfig()"Comments:
detect-squad-dir.ts:42detect-squad-dir.ts:58output.ts:15Agent handles each individually:
# Fix all three, commit
git add packages/squad-cli/src/cli/core/detect-squad-dir.ts packages/squad-cli/src/cli/core/output.ts
git commit -m "fix: address 3 review comments on PR #99
- Added null check for squadDir (comment #55123)
- Switched to path.join() for cross-platform paths (comment #55124)
- Reduced log verbosity to debug level (comment #55125)"
git push
# Reply to each thread individually
gh api repos/bradygaster/squad/pulls/99/comments/55123/replies \
-f body="Fixed — added early return when squadDir is undefined"
gh api repos/bradygaster/squad/pulls/99/comments/55124/replies \
-f body="Fixed — switched to path.join(squadDir, 'config.json') for cross-platform consistency"
gh api repos/bradygaster/squad/pulls/99/comments/55125/replies \
-f body="Fixed — changed from console.log to debug() so it only shows with --verbose flag"Copilot sometimes provides suggestion blocks with exact code to apply:
Review comment (id: 55130):
Consider using optional chaining:
```suggestion
const name = config?.agent?.name ?? 'default';
```Reply format when applying:
gh api repos/bradygaster/squad/pulls/99/comments/55130/replies \
-f body="Applied suggestion — using optional chaining with nullish coalescing"Reply format when not applying:
gh api repos/bradygaster/squad/pulls/99/comments/55130/replies \
-f body="Not applied — config is guaranteed non-null at this point (validated on line 12). Optional chaining would mask errors."Not every review comment should be accepted. When a suggestion is incorrect or doesn't apply:
gh api repos/bradygaster/squad/pulls/99/comments/55140/replies \
-f body="Considered but not applied — this file is in the zero-dependency bootstrap set (see copilot-instructions.md § Protected Files). Adding path.join() would require importing from the SDK, which breaks the bootstrap constraint."Do NOT resolve the thread when pushing back. Leave it open for the reviewer to confirm.
© bradygaster, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .squad-templates/skills/pr-review-response of bradygaster/squad.
Open the folder on GitHubat commit 71818eb
PR Review Response next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| PR Review Response this skillbradygaster/squad | 3.3k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 297k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| PR Babysitteropeninterpreter/openinterpreter | 69k | 3 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Check PRonyx-dot-app/onyx | 32k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| PR Design DocOpenHands/OpenHands | 90k | — | ~2.4k | Automated safety check: Pass | MIT | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
openinterpreter/openinterpreter
Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.
onyx-dot-app/onyx
Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.
OpenHands/OpenHands
For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
payloadcms/payload
A skill your agent uses when a Payload pull request needs a concise visual walkthrough for reviewers.
bradygaster/squad
Review and validate claims using counter-hypothesis testing.
bradygaster/squad
How to review PRs for architectural quality — module boundaries, dependency direction, export surface, pattern consistency
bradygaster/squad
Preserve content when moving entries between tracked Squad state files
bradygaster/squad
Defensive CI/CD patterns: semver validation, token checks, retry logic, and draft detection
bradygaster/squad
Checklist and patterns for wiring new CLI commands into cli-entry.ts
bradygaster/squad
Enables squad agents on different machines to share work via git-based task queuing
Categories
Teaches agents to reply to PR review comment threads after fixing issues, making resolutions traceable. PR Review Response is an agent skill from bradygaster/squad.
PR Review Response fits situations like: tasks that involve Pull requests.
Run `npx skills add bradygaster/squad --skill pr-review-response -a claude-code`. Or copy the skill folder (.squad-templates/skills/pr-review-response in bradygaster/squad) into .claude/skills/pr-review-response in your project. Claude Code loads it when a task matches its description.
Run `npx skills add bradygaster/squad --skill pr-review-response -a codex`. Or copy the skill folder (.squad-templates/skills/pr-review-response in bradygaster/squad) into .agents/skills/pr-review-response in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bradygaster/squad --skill pr-review-response -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-review-response, .gemini/skills/pr-review-response, .github/skills/pr-review-response and .opencode/skills/pr-review-response in your project.
Going by SKILL.md and its folder, PR Review Response needs the command-line tools its instructions call (gh and git).
SKILL.md contains no URLs. Its commands use gh and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
PR Review Response is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with PR Review Response: Finishing a Development Branch (obra/superpowers, 297k stars), PR Babysitter (openinterpreter/openinterpreter, 69k stars), Check PR (onyx-dot-app/onyx, 32k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
bradygaster (a GitHub user) maintains it in bradygaster/squad, which has 3,259 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on October 9, 2026.
Source: bradygaster/squad on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.