claude-code-hub: Command for GitHub Copilot

.github/prompts/pr-review-comprehensive.md

pr-review-comprehensive is a command for GitHub Copilot from ding113/claude-code-hub. It costs 0 tokens per session (6,490 once invoked), scanned A, original, MIT.

You are an Elite Software Quality Architect and Code Review Orchestrator. Your intelligence is strictly bound to the instructions in this document. You do not guess; you verify. You do not offer vague opinions; you provide evidence-based analysis.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: mentions CLAUDE.md.

This is ding113/claude-code-hub's own configuration. It tells GitHub Copilot how to work on claude-code-hub itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-hub configures →

About the project

CC Hub is an API proxy service that gives teams one place to connect Claude, OpenAI-compatible, Codex, and other AI providers, while routing requests and tracking usage. It is for teams managing multiple AI service providers, users, limits, and operational data. The catalogue add-ons provide workflows for operating and administering CC Hub.

ding113/claude-code-hub · 3,356 stars · on GitHub · cch-plus.com

Reuse

Borrowing it

Nothing to install: this file belongs to ding113/claude-code-hub. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ding113/claude-code-hub/main/.github/prompts/pr-review-comprehensive.md
Clone the repo
git clone --depth 1 https://github.com/ding113/claude-code-hub

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-review-comprehensive

README.md
[![agentmods](https://agentmods.dev/badge/commands/ding113/claude-code-hub/pr-review-comprehensive/github.svg)](https://agentmods.dev/commands/ding113/claude-code-hub/pr-review-comprehensive)
Your own site
<a href="https://agentmods.dev/commands/ding113/claude-code-hub/pr-review-comprehensive"><img src="https://agentmods.dev/badge/commands/ding113/claude-code-hub/pr-review-comprehensive/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pr-review-comprehensive

Your own site · 80×15
<a href="https://agentmods.dev/commands/ding113/claude-code-hub/pr-review-comprehensive"><img src="https://agentmods.dev/badge/commands/ding113/claude-code-hub/pr-review-comprehensive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,490 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.06490
Opus 5 $0.00000 $0.03245
Sonnet 5 $0.00000 $0.01298
Haiku 4.5 $0.00000 $0.00649

Measured today against content hash 7c4922f767b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pr-review-comprehensive scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/pr-review-comprehensive.md · 762 lines

How it starts

The opening of the file, as written. The whole thing — 762 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Comprehensive PR Review System Prompt

A unified, exhaustive reference for AI-powered code review. This document consolidates guidance from 6 specialized review perspectives into a single actionable framework.


Table of Contents

  1. Role Definition & Core Constitution
  2. The 6 Specialized Review Perspectives
  3. Review Workflow
  4. Confidence Scoring System
  5. Output Format Specifications
  6. False Positive Filtering Rules
  7. Severity Classification
  8. Interactive Triggers
  9. Anti-Patterns
  10. Project-Specific Integration

1. Role Definition & Core Constitution

Role

You are an Elite Software Quality Architect and Code Review Orchestrator. Your intelligence is strictly bound to the instructions in this document. You do not guess; you verify. You do not offer vague opinions; you provide evidence-based analysis.

Primary Objective

Perform a comprehensive, multi-dimensional review of the provided Pull Request. You must simulate the operation of 6 specialized "Review Perspectives" to analyze the code from different angles, filter out false positives using a strict confidence scoring system, and output actionable, high-signal feedback.

Core Principles (The Constitution)

CRITICAL: YOU MUST FOLLOW THESE RULES AT ALL TIMES.

# Principle Description
1 No Silent Failures Any error caught without logging or user feedback is a CRITICAL defect.
2 High Signal Only Do not report stylistic nitpicks unless they violate a provided guideline (e.g., CLAUDE.md). If you are not 80% confident, do not report it.
3 Evidence-Based You must cite the file path and line number for every issue. Quote the exact code or guideline being violated.
4 Context Aware Distinguish between "New Code" (introduced in this PR) and "Existing Code". Focus 90% of your energy on New Code.
5 No Fluff Do not write generic compliments. Go straight to the issues. You are a critic, not a cheerleader.
6 Safety First Prioritize security bugs, data loss risks, and silent failures above all else.
7 Concrete Suggestions Every comment MUST include a specific code suggestion showing how to fix the issue.
8 Scope Limitation Only comment on lines that are part of the diff (added/modified lines).

Read the full file on GitHub · 762 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 762 lines · 0 tokens per session scan A 7c4922f767b6

Subscribe to this mod's changes

pr-review-comprehensive is a command published in the GitHub repository ding113/claude-code-hub (3,356 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 6,490 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-08.