pr-lawyer

Fetch unresolved GitHub or GitLab PR comments and triage them into fixes, challenges, or clarifications.

2|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/mdelapenya/coding-skills --skill pr-lawyer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-lawyer
Source: https://github.com/mdelapenya/coding-skills/tree/main/skills/pr-lawyer
Command: npx skills add https://github.com/mdelapenya/coding-skills --skill pr-lawyer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Triages GitHub or GitLab PR review comments by fetching unresolved comments and identifying actionable issues.

Core Features & Use Cases

  • Platform-aware review handling: detects GitHub or GitLab and loads the corresponding reference instructions.
  • Comment triage: classifies each comment as Accept (fix), Challenge (push back with a reason), or Clarify (answer questions).
  • Safe workflow: never pushes on behalf of the user; requires explicit user confirmation before any git push; supports clustered or single-commit workflows.
  • Platform-specific references: loads platform commands from references/github.md or references/gitlab.md based on the detected hosting platform.

Quick Start

Provide a PR number and let the skill fetch unresolved comments, triage them into fixes or challenges, and prepare platform-specific replies.

Frequently Asked Questions about pr-lawyer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I triage unresolved pull request review comments on GitHub and GitLab?

Pull request review comment triage fetches unresolved comments from GitHub or GitLab and classifies each as Accept, Challenge, or Clarify to prepare structured, platform-aware replies.

How does platform detection work for PR reviews?

Platform detection for PR reviews works by reading the git remote configuration to identify the hosting platform, then automatically loading the corresponding GitHub or GitLab specific reference instructions for reply formatting.

Can I automatically push code fixes after triaging PR review comments?

No, you cannot automatically push code fixes after triaging PR review comments. The workflow enforces safe operations by requiring explicit user confirmation before executing any git push commands.

What is the best way to handle multiple unresolved comments on a pull request?

The best way to handle multiple unresolved PR comments is to triage them individually into fixes, push backs with reasons, or clarifications, supporting both clustered and single-commit workflows.

Does PR review comment triage work without installing additional dependencies?

Yes, PR review comment triage works without installing additional dependencies. It operates by detecting the hosting platform via git remote and loading built-in platform-specific reference files.

Why should I challenge a pull request review comment instead of accepting it?

You should challenge a PR review comment instead of accepting it when the feedback is invalid or misaligned with project goals, providing a structured reason for the push back during the triage process.