review-pr

Fetch Bitbucket PR data, detect code domain, and generate a structured review.

173|42|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/cyanluna-git/cyanluna.skills --skill review-pr-cyanluna-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-pr
Source: https://github.com/cyanluna-git/cyanluna.skills/tree/main/review-pr
Command: npx skills add https://github.com/cyanluna-git/cyanluna.skills --skill review-pr-cyanluna-git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) components.

What problem does it solve?

PR reviews require manual analysis and consistent formatting; this Skill automates fetching PR data, analyzing diffs, and generating a structured review, with optional posting and local MD save.

Core Features & Use Cases

  • Analyzes code from a Bitbucket PR URL and automatically posts structured review comments to the PR. Auto-detects the code domain (backend, frontend, PLC) from file extensions in the diff.
  • Saves the generated review as Markdown locally for traceability and historical review records.
  • Supports options to post the review and/or skip saving, and to fetch target branch history for context.

Quick Start

Run /review-pr with a Bitbucket PR URL to fetch data, generate a structured code review, and optionally post it to the PR while saving a local Markdown file.

Frequently Asked Questions about review-pr

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

FAQPage Schema
How do I automate Bitbucket pull request reviews with domain detection?

Automate Bitbucket pull request reviews by fetching PR metadata, commits, and diffs, then auto-detecting the code domain (backend, frontend, PLC) from file extensions to apply a matching rubric and generate a structured review.

Can I post structured code review comments directly to a Bitbucket PR?

Posting structured code review comments directly to a Bitbucket PR is supported. The Skill fetches the diff, analyzes it using domain-specific rubrics, and optionally posts the generated review output back to the pull request.

Does this PR review automation support frontend and PLC code domains?

This PR review automation supports frontend and PLC code domains. It auto-detects the primary domain from the diff's file extensions and applies the corresponding reference rubric for backend, frontend, or PLC code analysis.

How do I save automated PR review results as a local Markdown file?

Save automated PR review results as a local Markdown file by running the default review process. The generated structured review is saved locally for traceability, unless the option to skip saving is explicitly set.

Do I need the requests library to run this Bitbucket PR review automation?

The requests library is required to run this Bitbucket PR review automation. This dependency enables the script components to fetch pull request URLs, metadata, commits, and diffs from the Bitbucket API.