merge-review-json-and-submit-pr-review

Merge review JSON files and submit consolidated GitHub PR reviews.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/D3Hunter/ai-engineer --skill merge-review-json-and-submit-pr-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge-review-json-and-submit-pr-review
Source: https://github.com/D3Hunter/ai-engineer/tree/main/skills/merge-review-json-and-submit-pr-review
Command: npx skills add https://github.com/D3Hunter/ai-engineer --skill merge-review-json-and-submit-pr-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually merging multiple code review output files and submitting a consolidated GitHub pull request review is time-consuming and prone to human error, especially when dealing with large volumes of findings across multiple review runs.

Core Features & Use Cases

  • Deterministic JSON Merging: Combines multiple review output format JSON files with exact deduplication and sorts findings by severity (Blocker, Major, Minor, Info, Nit) for consistent ordering.
  • Automated PR Review Submission: Generates a valid GitHub PR review payload with one inline comment per anchored finding and a grouped summary of all findings, then submits it via the GitHub CLI in a single API call.
  • Use Case: A development team running multiple code review tools (linters, AI reviewers, security scanners) on a single PR can use this skill to consolidate all findings into one unified, easy-to-scan GitHub review instead of managing separate review threads.

Quick Start

Use the merge-review-json-and-submit-pr-review skill to combine all review JSON files from the latest PR scan and submit the consolidated review to the associated GitHub pull request.

Frequently Asked Questions about merge-review-json-and-submit-pr-review

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

FAQPage Schema
How do I merge multiple static analysis JSON files into a single GitHub PR review?

To merge multiple static analysis JSON files into a single GitHub PR review, combine the review outputs with exact deduplication, severity-based sorting, and anchor resolution, then submit via GitHub CLI in one API call.

Can I consolidate code review findings from different security scanners and linters into one pull request review?

Yes, you can consolidate code review findings from different security scanners and linters by merging multiple review output format JSON files into a unified dataset with grouped summaries and inline comments.

What is the best way to deduplicate code review findings from multiple AI review runs before submitting a pull request review?

The best way to deduplicate code review findings from multiple AI review runs is applying exact deduplication during the JSON merge process, which removes redundant entries before severity-based sorting and PR submission.

Does submitting a consolidated pull request review require GitHub CLI?

Submitting a consolidated pull request review requires GitHub CLI because the merged JSON payload is submitted as a valid GitHub PR review through a single GitHub CLI API call.

Can I test merged code review JSON output without actually submitting the pull request review?

Yes, you can test merged code review JSON output without submitting the pull request review by using dry-run mode, which performs the merge and payload generation without executing the final GitHub CLI submission.

How are inline comments anchored when merging review output format JSON files for GitHub pull requests?

Inline comments are anchored during the JSON merge process through anchor resolution, ensuring each finding maps to a valid GitHub PR review payload with one inline comment per anchored finding.