GitHub PR workflow automation including fetching unresolved comments, resolving review threads, and parallel comment resolution. Use this skill when working with PR reviews, addressing reviewer feedback, or automating PR comment workflows.
/plugin marketplace add kylesnowschwartz/SimpleClaude/plugin install sc-skills@simpleclaudeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/format-pr-tree.rbscripts/get-pr-comments.shscripts/resolve-pr-thread.shThis skill provides tools and workflows for automating GitHub pull request review processes.
# Current branch's PR
./scripts/get-pr-comments.sh
# Specific PR
./scripts/get-pr-comments.sh 123
Returns JSON with unresolved threads, paths, line numbers, and comment bodies.
./scripts/resolve-pr-thread.sh PRRT_kwDO...
The thread ID comes from the threadId field in get-pr-comments.sh output.
Agent: sc-pr-comment-resolver - Resolves individual PR comments by implementing requested changes and reporting resolution status.
Command: /sc-resolve-pr-parallel - Orchestrates parallel resolution of all unresolved PR comments using multiple agents.
get-pr-comments.shsc-pr-comment-resolver agentresolve-pr-thread.shgh api repos/{owner}/{repo}/pulls/{pr}/comments
gh api graphql -f query='
query($owner: String!, $name: String!, $pr: Int!) {
repository(owner: $owner, name: $name) {
pullRequest(number: $pr) {
reviewThreads(first: 100) {
nodes {
id
isResolved
path
line
comments(first: 10) {
nodes { body author { login } }
}
}
}
}
}
}'
gh api graphql -f query='
mutation($threadId: ID!) {
resolveReviewThread(input: {threadId: $threadId}) {
thread { isResolved }
}
}'
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.