Triage backlog, scan open issues, rank what to tackle first, or which PRs are production-ready.
日本語の概要は準備中です。原文の説明を表示しています。
Fetch PR review comments, verify each against real code/docs, fix valid issues, commit and push
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Fetch all review comments on the current PR, verify each finding against real code, fix valid issues, and push.
Determine the PR number:
$ARGUMENTS if providedgh pr view --json number --jq .numberFetch ALL comments (reviewers post in multiple places):
gh api --paginate repos/{owner}/{repo}/pulls/{pr}/reviews
gh api --paginate repos/{owner}/{repo}/pulls/{pr}/comments
gh api --paginate repos/{owner}/{repo}/issues/{pr}/comments
Extract unique findings — deduplicate across Copilot, Greptile, and human reviewers. Group by file and line.
For EVERY finding, verify against real code before accepting or rejecting:
btca resources to see what's available, then btca ask -r <resource> -q "..." for library/framework questionsgit add only changed files, git commit with message:
fix: Address PR review feedback
- <one-line summary per fix>
gt submit (or git push if not using Graphite)Pushing the fix isn't enough. Each inline review comment lives in its own thread that GitHub keeps showing as "Unresolved" until someone explicitly resolves it. The skill must close that loop for every Valid and False-positive finding so the PR view actually reflects what was triaged.
Workflow per finding:
Reply on the thread with the verdict and evidence:
Fixed in <short-sha>. <one-line what changed>.Valid, deferred to follow-up. Reason: <why>.False positive. <one-line evidence: file:line shows X, or doc link Y>.Resolve the thread only when the finding is Fixed or False positive. Valid + unfixed threads must stay open so the PR view continues to surface the real bug. Resolving them would let the PR look ready while the bug is still in the code. Leave the maintainer to close those threads when they file the follow-up.
GitHub's review threads can only be resolved via GraphQL (REST has no endpoint). The thread ID is a GraphQL node ID, not the REST comment ID, so fetch both together. Use --paginate so PRs with more than 100 threads are covered, the page size cap is per-request not total:
PR=<pr-number>
OWNER=<owner>
REPO=<repo>
gh api graphql --paginate -f query='
query($owner: String!, $repo: String!, $pr: Int!, $endCursor: String) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $pr) {
reviewThreads(first: 100, after: $endCursor) {
pageInfo { hasNextPage endCursor }
nodes {
id
isResolved
comments(first: 1) { nodes { databaseId path line body } }
}
}
}
}
}' \
-F owner="$OWNER" -F repo="$REPO" -F pr=$PR \
--jq '.data.repository.pullRequest.reviewThreads.nodes[] | select(.isResolved == false) | {threadId: .id, commentId: .comments.nodes[0].databaseId, path: .comments.nodes[0].path, line: .comments.nodes[0].line}' \
> /tmp/triage-threads-$PR.json
Each entry now has {threadId, commentId, path, line}. Match it against your Phase-2 finding map (by path + line or commentId). For each match:
# Post reply (REST endpoint for replies on a specific review comment)
gh api -X POST "/repos/$OWNER/$REPO/pulls/$PR/comments/$COMMENT_ID/replies" \
-f body="Fixed in $SHORT_SHA. <one-line>."
# Resolve the thread (GraphQL) — Fixed and False-positive only. SKIP for Valid+unfixed.
gh api graphql -f query="
mutation {
resolveReviewThread(input: {threadId: \"$THREAD_ID\"}) {
thread { isResolved }
}
}"
If the parent review left a separate top-level summary comment (Greptile's Greptile Summary issue-level comment, for example), leave it alone, only inline review threads need resolving.
Cap: resolve only threads tied to findings you actually classified. Do not bulk-resolve unrelated threads (other reviewers, human discussion, follow-up questions that aren't from this triage round).
Present a final summary table of ALL findings with verdicts:
| # | Source | File:Line | Finding | Verdict | Reason | Thread |
|---|
Last column: replied + resolved, replied + still open (e.g. waiting on reviewer), or n/a (no inline thread, only summary). If any thread stayed open, name it explicitly so the next pass picks it up.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Triage backlog, scan open issues, rank what to tackle first, or which PRs are production-ready.
日本語の概要は準備中です。原文の説明を表示しています。
Reproduce #N, investigate #N, try #N locally, or verify the bug in #N.
日本語の概要は準備中です。原文の説明を表示しています。
Verify PR #N, does this PR fix #M, check the fix in #N, or test the candidate PR.
日本語の概要は準備中です。原文の説明を表示しています。
Invoke this skill when the user says "use btca"
日本語の概要は準備中です。原文の説明を表示しています。
Open or file a GitHub issue, bug report, feature request, docs issue, or chore. Add evidence to an existing issue. Run gh issue create or gh issue comment.
日本語の概要は準備中です。原文の説明を表示しています。
Use LinkedIn data for profile, company, job, post, feed, inbox, recruiting, and outreach work through the bundled LinkedIn MCP server. Use only for an explicit LinkedIn request.
日本語の概要は準備中です。原文の説明を表示しています。