# Skill Address Pr Review

> Look at the pull request review comments and address any issues raised.

- **Type:** Skill
- **Install:** `agentstack add skill-mnapoli-skill-address-pr-review-skill-address-pr-review`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [mnapoli](https://agentstack.voostack.com/s/mnapoli)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [mnapoli](https://github.com/mnapoli)
- **Source:** https://github.com/mnapoli/skill-address-pr-review

## Install

```sh
agentstack add skill-mnapoli-skill-address-pr-review-skill-address-pr-review
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## Step 1: Fetch unresolved review threads and CI status

Run both helper scripts:

```bash
bash ./get-unresolved-threads.sh
```

```bash
bash ./get-failing-ci.sh
```

The first returns a JSON array of unresolved threads. Each thread has:
- `id` — thread ID (needed to reply)
- `path` — file path
- `line` / `startLine` — line numbers in the diff
- `isOutdated` — whether the diff has changed since the comment
- `comments.nodes[]` — the comment thread (first = original comment, rest = replies), each with `author.login`, `body`, and `url`

The second checks CI status and outputs failure details if any jobs failed (exit code 1 = failures, 0 = all passed).

If there are no unresolved threads and CI is green, stop here.

## Step 2: Address each issue

If there are many items, create one task per item to keep things organized.

For each unresolved review thread:

1. Read the comment thread to understand the issue
2. Determine if a code change is needed, or if no change is needed (e.g. the comment is invalid or the suggestion is not appropriate)
3. If a change is needed, make the necessary code changes

For each CI failure:

1. Read the failure output to understand what broke
2. Fix the code or tests to make CI pass

## Step 3: Commit and push changes

After addressing all review comments and CI failures, commit your changes and push.

## Step 4: Reply to each review thread

After addressing each comment, reply using the helper script:

```bash
bash ./reply-to-thread.sh "" "" [--resolve]
```

- If the code was fixed as mentioned in the thread, reply with simply: "Fixed as suggested." and pass `--resolve` to mark the thread as resolved.
- If no change was applied, briefly explain why and keep the thread unresolved (omit `--resolve`) so the reviewer can reply if they disagree.
- Don't be unnecessarily verbose.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [mnapoli](https://github.com/mnapoli)
- **Source:** [mnapoli/skill-address-pr-review](https://github.com/mnapoli/skill-address-pr-review)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mnapoli-skill-address-pr-review-skill-address-pr-review
- Seller: https://agentstack.voostack.com/s/mnapoli
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
