skills/code-review-general/SKILL.md
Address PR code review feedback. Fetches review comments, helps prioritize human feedback over automated ones, verifies changes, commits, and resolves threads. Use when asked to address code review, fix PR comments, or respond to reviewer feedback.
npx skillsauth add abhiroopb/synthetic-mind code-review-generalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Your job is to address PR feedback.
Make sure to prioritize human review comments over automated ones.
If you have an existing skill for reading PR comments (e.g., one that maintains thread grouping), prefer using that. Otherwise, use these commands:
# For current branch's PR - get human inline comments
gh api repos/{owner}/{repo}/pulls/$(gh pr view --json number -q .number)/comments --jq '.[] | "File: \(.path)\nLine: \(.line // .original_line)\nAuthor: \(.user.login)\nBody:\n\(.body)\n---"'
# General PR comments
gh pr view --json comments --jq '.comments[] | "Author: \(.author.login)\nCreated: \(.createdAt)\nBody:\n\(.body)\n---"'
# All comments (automated + human)
gh pr view --comments
Replace {owner}/{repo} with the actual repository (e.g., myorg/my-service).
Human comments represent architectural decisions and requirements that automated tools may miss.
Note: Some comments may be informational or acknowledgements requiring no code changes. Check if comments are marked as resolved before addressing them - resolved comments don't need action.
First list all the code review comments you're planning on addressing and explain how you want to address them.
Use a sub agent to verify changes BEFORE committing, but only for non-trivial changes.
When you're done commit and push the changes. If you have an existing skill for creating/managing PRs, prefer using that. Make separate commits if the change is substantial or several minor changes can be committed together with "Addressed code review" and a list of changes in the body.
After pushing, resolve the review threads you addressed:
# List review threads with their IDs and resolved status
PR_NUMBER=$(gh pr view --json number -q .number)
gh api graphql -f query='
query($owner: String!, $repo: String!, $pr: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $pr) {
reviewThreads(first: 50) {
nodes {
id
isResolved
comments(first: 1) {
nodes { body path }
}
}
}
}
}
}' -f owner={OWNER} -f repo={REPO} -F pr=$PR_NUMBER
# Resolve a specific thread by its ID
gh api graphql -f query='
mutation($threadId: ID!) {
resolveReviewThread(input: {threadId: $threadId}) {
thread { isResolved }
}
}' -f threadId=<THREAD_ID>
Replace {OWNER} and {REPO} with the actual values.
When you're done, wait for CI following the check-ci skill.
testing
Track TV shows and movies with Trakt.tv. Search, get watchlist, history, up-next, recommendations, trending, calendar, ratings, stats, add/remove from watchlist, mark watched, rate, and check in. Use when asked about what to watch, TV shows, movies, watch history, or Trakt.
development
Send and receive SMS messages via Twilio API. Used for text message notifications, forwarding important alerts, and two-way SMS communication.
documentation
Organizes files in the local Downloads folder into proper folders. Use when asked to organize, sort, or file downloaded documents.
tools
Book and manage appointments on Sutter Health MyHealth Online portal. Uses browser automation via Playwright MCP to interact with the patient portal.