Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Review Pr Comments

ASecurity

Review and triage PR review comments (from Copilot, bots, or human reviewers) against the actual codebase. Use when a user wants to evaluate the validity, priority, or accuracy of PR review comments before deciding which ones to act on. Also handles applying approved fixes. Triggers on requests like "review all comments in this PR", "evaluate PR feedback", "which PR comments are valid", "apply the PR suggestions".

10 stars
0 votes
0 copies
0 views
Added 9/28/2026
ai-agentsshellgitperformance

Security Analysis

A100/100

Scanned 9/28/2026

Install to Claude Code

$npx -y skills add fritzprix/libr-agent --skill review-pr-comments --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Pr Comments?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Review Pr Comments
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fritzprix-review-pr-comments-libr-agent/badge)](https://www.skillsdirectory.com/skills/fritzprix-review-pr-comments-libr-agent)

More formats (shields.io, HTML) on the badges page.

Files
SKILL.md
---
name: review-pr-comments
description: Review and triage PR review comments (from Copilot, bots, or human reviewers) against the actual codebase. Use when a user wants to evaluate the validity, priority, or accuracy of PR review comments before deciding which ones to act on. Also handles applying approved fixes. Triggers on requests like "review all comments in this PR", "evaluate PR feedback", "which PR comments are valid", "apply the PR suggestions".
---

# Review PR Comments

Systematically pull, evaluate, and optionally apply review comments from a pull request.

## Workflow

### 1. Fetch PR Data

Use `github-pull-request_activePullRequest` (or `github-pull-request_openPullRequest` if not checked out).

Extract from the result:

- `comments[]` — inline review comments (attached to files/lines)
- `timelineComments[]` — general PR comments (overviews, bots, etc.)
- `changes[]` — the actual diff

### 2. Read Affected Code

For each comment with a `file` field, read the **current** file at the referenced location — not just the diff. The diff shows what was changed; the file shows what exists now.

Read enough context (±20 lines) to understand whether the suggestion is already satisfied, partially applied, or still needed.

If a comment references another file as a "pattern" or "example," read that file too to verify the claim.

### 3. Evaluate Each Comment

For every comment assess:

| Dimension     | Questions                                                                                                                            |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **Valid?**    | Does the issue actually exist in the current code? Has it already been fixed?                                                        |
| **Accurate?** | Are file paths, line numbers, and named references correct?                                                                          |
| **Priority**  | Would ignoring it cause a bug / bad UX / policy violation (High), a maintainability issue (Medium), or is it purely stylistic (Low)? |
| **Action**    | Apply immediately / Apply optionally / Skip with reason                                                                              |

### 4. Report

Produce a summary table per comment:

```
| # | File | Key / Location | Valid? | Priority | Action |
|---|------|---------------|--------|----------|--------|
| 1 | foo.tsx | line 29 | ✅ Yes | Medium | Apply |
| 2 | bar.tsx | line 193 | ⚠️ Partial | Low | Optional |
```

Include a short rationale for each verdict. Call out inaccuracies in the comment itself (wrong line numbers, wrong file references) even if the underlying suggestion is valid.

### 5. Apply Fixes (if instructed)

When the user confirms, apply all approved changes using targeted edits (not wholesale file replacement). Re-read the current file state before editing — it may have changed since the PR was opened.

### 6. Generate Live Test Prompt (after fixes applied)

After all approved fixes have been applied, produce a **ready-to-paste agent prompt** that verifies the PR's actual runtime behavior inside LibrAgent.

**When to generate:**

- After Step 5 completes, OR
- When the user asks "테스트 프롬프트 만들어줘" / "give me a test prompt"

**How to construct the prompt:**

1. Read the PR `changes[]` diff to identify what runtime behavior changed (not just what code changed).
2. For each changed behavior, design a concrete, observable test step the agent can execute with its tools (shell commands, file search, browser, etc.).
3. Instruct the agent to report actual output for each step, not just "success/fail."

**Template:**

```
다음 변경 사항의 실동작을 순서대로 검증해줘.

## 테스트 N: [변경 이름]
1. [도구 호출 또는 명령]
2. [예상 출력 또는 확인 기준]
3. [엣지 케이스가 있다면 추가 단계]

각 단계의 실제 출력을 그대로 보고해줘.
```

**Rules:**

- Each test must be fully self-contained (set up its own fixtures if needed).
- Expected output must be **concrete and observable** — not "should work correctly" but "output contains `./subdir`".
- Cover the main success path AND at least one error/edge case per change.
- Clean up any temp files/directories created during tests at the end.

## Evaluation Heuristics

**Mark as High priority if:**

- Missing fallback/defaultValue on i18n keys that could surface raw key strings to users
- Type safety violations (unsafe casts, missing validation)
- Logic bugs or race conditions
- Accessibility regressions

**Mark as Medium priority if:**

- Inconsistency with an established codebase pattern
- Missing error handling that degrades gracefully
- Performance issues under realistic load

**Mark as Low / Optional if:**

- Purely cosmetic or stylistic (matches one valid style but not the only one)
- Suggestion is already covered by a neighboring line or fallback
- The referenced "pattern" doesn't actually match the claim

**Mark as Invalid if:**

- The issue no longer exists in the current file state
- The suggestion would introduce a regression
- The referenced example file/line doesn't exist or doesn't demonstrate what is claimed

## Notes

- Bot reviewers (Copilot, Jules, etc.) often reference incorrect line numbers — always verify against the actual file.
- `defaultValue` in i18next `t()` matters most for **plural keys** (`_one`/`_other` suffix). For simple interpolation keys that exist in all locale files, it is optional.
- When a comment says "follow the pattern in X:Y-Z", read those lines to confirm the pattern actually exists there before accepting the claim.

Attribution

fritzprixfritzprix
View sourceMore from fritzprix →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

695601 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →