cross-review

Classify GitHub pull request changes into L0–L3 and assign reviewers.

3|1|Updated May 21, 2026
One-click install
npx skills add https://github.com/qwwiwi/agentos-skills-public --skill cross-review-qwwiwi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cross-review
Source: https://github.com/qwwiwi/agentos-skills-public/tree/main/skills/cross-review
Command: npx skills add https://github.com/qwwiwi/agentos-skills-public --skill cross-review-qwwiwi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Этот скилл помогает командам поддерживать единые правила ревью для PR в нескольких репозиториях и уровнях изменений, чтобы снижать риск ошибок при мержах.

Core Features & Use Cases

  • Change Levels (L0–L3): классификация изменений по уровню (доки/конфиги/CI/конституция) с привязкой к тому, кто ревьюит и кто может мержить.
  • Role-based review rules: фиксированные правила “кто ревьюит чей код” и запрет на одобрение своих PR.
  • Model routing for risk: выбор набора моделей под риск (обычный ревью vs HIGH risk с тройной проверкой).
  • Practical review workflow: получение diff через gh api, проверка логики/безопасности/стиля/тестов и выпуск итогового решения (APPROVE/REQUEST_CHANGES/COMMENT).

Quick Start

Запусти cross-review для PR и попроси ИИ определить Change Level, проверить безопасность и логику изменений и предложить решение с аргументацией.

Frequently Asked Questions about cross-review

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

FAQPage Schema
How do I automate GitHub pull request code review and enforce merge rules?

Automating GitHub pull request code review involves fetching diffs via the GitHub API to validate logic, security, style, and breaking changes. This classifies changes into levels L0–L3, assigning reviewers and merge permissions accordingly to enforce consistent cross-reviews and reduce merge risks.

What is a change level classification in CI validation and risk assessment?

Change level classification in risk assessment categorizes pull requests into L0–L3 tiers based on impact, such as docs, configs, CI, or constitution-level changes. This classification determines who reviews the code and what merge permissions are required to safely validate modifications.

How do I cross-review PRs created by another AI agent on GitHub?

To cross-review PRs created by another AI agent, you fetch the diff via the GitHub API and apply fixed role-based review rules that prevent self-approval. The system evaluates logic and security, then outputs an APPROVE, REQUEST_CHANGES, or COMMENT decision with justification.

Can I use role-based review rules to stop developers from approving their own pull requests?

Yes, role-based review rules can enforce a strict ban on developers approving their own pull requests. Fixed cross-review rules define exactly who reviews whose code, routing high-risk changes for triple verification to ensure no unauthorized merges occur.

What's the best way to enforce merge rules tied to constitution-level changes?

The best way to enforce merge rules for constitution-level changes is to classify them as high-risk L3 modifications via cross-review. This triggers triple model verification and strictly validates logic, security, and breaking changes before granting the required merge permissions.

Do I need the GitHub API to fetch diffs for pull request validation?

Yes, fetching diffs through the GitHub API using `gh api` is required for pull request validation. This allows the review process to programmatically access the exact code changes, validate logic and testing, and produce a final merge decision with justification.