review-gitcode-pr

Reviews GitCode pull requests combining oh-gc remote metadata with local file validation.

31|6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill review-gitcode-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-gitcode-pr
Source: https://github.com/openharmonyinsight/openharmony-skills/tree/main/skills/review-gitcode-pr
Command: npx skills add https://github.com/openharmonyinsight/openharmony-skills --skill review-gitcode-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires oh-gc, python3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you perform a rigorous review of a GitCode pull request by combining remote PR metadata (diff, hunks, and comments) with deep local code inspection so findings are evidence-backed and submission-ready.

Core Features & Use Cases

  • PR context collection via oh-gc: Fetch PR view, diff (raw and name-only), and existing PR/diff comments into an artifact directory for traceable review.
  • Deep, file-by-file verification: Reviews every changed file using a required deep-review checklist, assigning an explicit status (reviewed / mechanical-low-risk / skipped-with-reason) instead of stopping early.
  • Evidence-driven findings & optional draft submission: Produces concrete findings with severity and fix guidance, and can prepare a structured draft for GitCode comment submission only after explicit user confirmation.

Quick Start

Use the skill to review a specific GitCode PR by providing its number or URL to an AI agent, then review and return a set of evidence-backed findings and an optional submission draft.

Frequently Asked Questions about review-gitcode-pr

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

FAQPage Schema
How do I review a GitCode pull request with evidence-backed findings?

Reviewing a GitCode pull request with evidence requires fetching PR metadata and diffs via oh-gc, then validating each changed file against local repository context to produce anchored, submission-ready findings.

How does hunk evidence anchoring work for pull request review?

Hunk evidence anchoring works by collecting remote PR diff and view data via oh-gc, then validating each changed file against local repository context to ensure findings are accurately mapped to specific lines.

What do I need to set up before doing a deep code inspection on a GitCode PR?

Before deep code inspection on a GitCode PR, you need the oh-gc dependency and python3 installed, plus a local repository clone to provide the local context required for validating changed files.

Can I draft submission comments directly for a GitCode pull request review?

You can draft submission comments for a GitCode pull request review by generating a structured output of findings, which the skill prepares for comment submission only after explicit user confirmation.

What is the best way to ensure every changed file in a PR is reviewed?

The best way to ensure every changed file in a PR is reviewed is by applying a required deep-review checklist that assigns an explicit status like reviewed, mechanical-low-risk, or skipped-with-reason to each file, preventing early stops.

Why does my pull request review stop before checking all changed files?

A pull request review may stop early if it lacks deep-review checklist enforcement, which this skill solves by requiring an explicit reviewed, mechanical-low-risk, or skipped-with-reason status for every single changed file before completing.