Skip to content
Back to skills

Custom Unresolved Pr Comments Summarize

ASecurity

The data has already been fetched and filtered for you below. Use this precomputed JSON verbatim; do NOT re-run any commands or re-fetch anything.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 20, 2026
toolsbashgitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 6, 2026

npx -y skills add mauroporras/dotfiles --skill custom-unresolved-pr-comments-summarize --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Custom Unresolved Pr Comments Summarize?

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

Security grade badge for Custom Unresolved Pr Comments Summarize
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mauroporras-custom-unresolved-pr-comments-summarize/badge)](https://www.skillsdirectory.com/skills/mauroporras-custom-unresolved-pr-comments-summarize)

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
---
disable-model-invocation: true
allowed-tools: Write, Bash(bash *)
---

# Fetch and summarize this PR's UNRESOLVED comments

## Context

The data has already been fetched and filtered for you below. Use this
precomputed JSON verbatim; do NOT re-run any commands or re-fetch anything.

<!--
The fetch lives in scripts/fetch-unresolved-comments.sh because skill `!`
commands are statically analyzed and reject the `$(...)` substitution the
GraphQL calls need.
The script resolves owner/repo/pr, queries the API, and applies every filter
(drops resolved threads, keeps only `CHANGES_REQUESTED` reviews, and drops
blank-body reviews), so the model only writes prose.
-->

- Unresolved comments data (JSON): !`bash "$HOME/.claude/skills/custom-unresolved-pr-comments-summarize/scripts/fetch-unresolved-comments.sh"`

The JSON has this shape:

```json
{
  "prNumber": 0,
  "filename": "pr-0-comments.md",
  "url": "https://github.com/owner/repo/pull/0",
  "title": "PR title",
  "unresolvedThreads": [
    {
      "threadId": "…",
      "comments": [{ "author": "…", "body": "…", "path": "…", "line": 0 }]
    }
  ],
  "reviews": [
    {
      "author": "…",
      "body": "…",
      "url": "…",
      "state": "CHANGES_REQUESTED",
      "submittedAt": "…"
    }
  ]
}
```

`unresolvedThreads` already excludes resolved threads (all authors kept,
including bots). `reviews` holds only top-level reviews in the
`CHANGES_REQUESTED` state (approvals and comment-only reviews are deliberately
left out), and already excludes blank/whitespace-only bodies.

## Your task

Write a markdown file summarizing the unresolved comments above. Everything
mechanical (fetching, filtering resolved threads, keeping only
`CHANGES_REQUESTED` reviews, and dropping blank-body reviews) is already done;
build the file purely from the precomputed Context JSON.

### Guard clause

If both `unresolvedThreads` and `reviews` are empty, do NOT create the file.
Just inform the user that there are no unresolved comments and stop.

### Create the file

Create the file named by the `filename` field (from the Context JSON) in the
current directory, like this:

```markdown
# PR #{prNumber} Review Comments

Title: {title}
URL: {url}

## Files

### {path/to/file.ext}

#### #{unique-descriptive-tag}

- [ ] Done

Line: {path/to/file.ext:line}
Author: @{the-author}
Thread ID: {threadId}
Comment:
{comment}

## Reviews

### #{unique-descriptive-tag}

- [ ] Done

URL: {review-url}
Author: @{the-author}
State: {state}
Submitted: {submittedAt}
Comment:
{body}

## Contentious Comments

{Highlight any comments that you'd push back on}
```

ALWAYS:

- Source every field from the precomputed Context JSON:
  - `{prNumber}`/`{title}`/`{url}` from the top-level fields
  - inline comments from `unresolvedThreads`, top-level reviews from `reviews`
- Break comment lines at around 80 characters
- Use the checkboxes to track progress
- For inline comments:
  Group by file path if there are multiple in the same file
- For top-level reviews:
  List each one under `## Reviews`, with a link to its review URL
- Omit any section that has no items
- When you're done:
  Suggest the first tag to start working on and ask if the user wants to address it

Files in this skill

  • SKILL.md2.8 KB
  • scripts/fetch-unresolved-comments.sh1.6 KB

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.

View all in tools →

Comments

Loading comments…

Newsletter

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