Skip to content
Back to skills

Sc Pull Request Skills

ASecurity

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.

  • 57 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 17, 2026
toolsbashnodegitapi

Works with

  • api

Security analysis

A100/100

Scanned October 17, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill sc-pull-request-skills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sc Pull Request Skills?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sc Pull Request Skills
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-sc-pull-request-skills/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-sc-pull-request-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sc-pull-request-skills
description: 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.
---

This skill provides tools and workflows for automating GitHub pull request review processes.

## Quick Reference

### Fetch Unresolved PR Comments

```bash
# 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.

### Resolve a Review Thread

```bash
./scripts/resolve-pr-thread.sh PRRT_kwDO...
```

The thread ID comes from the `threadId` field in `get-pr-comments.sh` output.

## Related Components

**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.

## Workflow Pattern

1. Fetch unresolved comments with `get-pr-comments.sh`
2. For each comment, spawn `sc-pr-comment-resolver` agent
3. After changes, commit and push
4. Mark threads resolved with `resolve-pr-thread.sh`
5. Verify all threads resolved

## GitHub API Patterns

### Get PR Review Comments (REST)

```bash
gh api repos/{owner}/{repo}/pulls/{pr}/comments
```

### Get Review Threads (GraphQL)

```bash
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 } }
          }
        }
      }
    }
  }
}'
```

### Resolve Thread (GraphQL Mutation)

```bash
gh api graphql -f query='
mutation($threadId: ID!) {
  resolveReviewThread(input: {threadId: $threadId}) {
    thread { isResolved }
  }
}'
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.