ry-review

star 1

Отчётное (report-only) глубокое ревью diff/PR/scope с reviewer tracks. Используй для: /rldyour-flow:ry-review, проверь реализацию, сделай ревью, найди проблемы, инспекция кода, проанализируй diff. EN triggers: review diff, review PR, code review, audit changes, find issues, deep review, report-only review, multi-track review.

NDDev-it-com By NDDev-it-com schedule Updated 5/30/2026

name: ry-review description: "Отчётное (report-only) глубокое ревью diff/PR/scope с reviewer tracks. Используй для: /rldyour-flow:ry-review, проверь реализацию, сделай ревью, найди проблемы, инспекция кода, проанализируй diff. EN triggers: review diff, review PR, code review, audit changes, find issues, deep review, report-only review, multi-track review."

ry-review

Purpose

Find real issues before merge or deploy. Default mode is report-only: do not edit files unless the user explicitly asks after seeing findings.

Workflow

  1. Determine review target: current diff, branch vs main, PR, file scope, or prompt scope.
  2. Initialize missing context with ry-init if needed.
  3. Use Serena to map changed symbols and affected integration graph (get_symbols_overview, targeted find_symbol, find_referencing_symbols).
  4. Use rldyour-explore for current implementation best practices when the review depends on external technology behavior.
  5. Run reviewer tracks. Use parallel subagents when this review request or an explicit-review ry-start request calls for parallel review.
  6. Consolidate findings by severity and confidence. Validate uncertain findings with code evidence.
  7. Output Russian report with exact paths, impact, suggested fixes, and whether each finding is must-fix.

Review Target Parsing

When the user asks for a time-window or history-based review, resolve the review target before dispatching reviewers:

  • last N days / за последние N дней: compute the exact commit range with git log --since.
  • since DATE / с DATE: use the explicit date as the lower bound.
  • PR #N or issue #N: inspect the GitHub PR/issue and verify its relevance against current code before treating it as a finding.
  • branch vs main: review the merge-base diff plus related commits.
  • since last deploy: identify the last verified deployment marker or ask for it if the repository has no durable deploy record.

Report the resolved commit range, PR/issue IDs, and any unresolved evidence gap.

Reviewer Tracks

Read ${CLAUDE_PLUGIN_ROOT}/references/reviewer-protocol.md. These tracks are orchestrated by ry-review or ry-start; they are not broad implicit-entry skills.

  • flow-architecture-review - boundary, dependency, module shape, data flow.
  • flow-quality-review - correctness, edge cases, error handling, hacks, tech debt.
  • flow-consistency-review - naming, style, imports, public APIs.
  • flow-integration-review - contracts, schemas, configs, generated types, migrations.
  • flow-verification-review - tests, quality gates, browser/server evidence.
  • flow-security-review - auth, secrets, OWASP, injection, SSRF/XSS - when sensitive or requested.

Output Transport

Reviewer subagents follow the file-first output contract in ${CLAUDE_PLUGIN_ROOT}/references/reviewer-protocol.md (section "Output Transport"). The orchestrator (this skill body, executed by the main session model) coordinates the wave:

  1. Generate one run_id per review wave in the form <UTC-ISO-compact>-<git-short-sha>. Example: 2026-05-16T1433Z-91cc276 (minute-precision). Use the same run_id for all reviewers in the wave.
  2. Compute report_dir = .serena/reviews/<run_id>/ (relative to repo root, gitignored runtime artefact).
  3. Inject run_id and report_dir into every reviewer prompt alongside scope, diff, constraints, expected reviewer-protocol citation, and read-only reminder.
  4. After all reviewers complete, read each compact summary from the agent result. Aggregate counts across tracks.
  5. Must read each per-reviewer report file via Read for every critical and high finding before deciding disposition (flow-security-review carries fields that exist only in the report file). Medium and low findings may be read on demand.
  6. Resolve contradictions between reviewer tracks against code evidence.
  7. Write a consolidated <report_dir>/_summary.md with cross-track findings, severity ranking, and disposition (must-fix / should-fix / defer / false-positive). Required whenever any track reported one or more findings.
  8. Report in Russian with exact paths, impact, suggested fixes, and disposition. Report-only mode by default: edit files only when the user explicitly asks after seeing findings.

Rationale: Claude Code 2.0.77+ has a confirmed task.output regression (Anthropic issues #16789, #20531, #23463, all closed as "not planned") that can deliver 200-500 KB of JSONL transcript per subagent to the parent session and overflow the parent context. Capping each reviewer at a 4 KB summary while keeping full evidence on disk prevents that failure mode.

Anti-patterns

  • Edit files в default mode без user'ского explicit ask после findings.
  • Reporting confidence <30 без validation.
  • Run reviewer agents implicitly (без ry-start или ry-review trigger) - ломает orchestration intent.
  • Skip Serena symbol/reference mapping для changed code.
  • Dispatch reviewer subagents without run_id / report_dir in the prompt - reviewers fall back to defaults, but explicit values keep wave artefacts consistent and inspectable.
  • Return long-form findings from a reviewer inline instead of via the report file - triggers the Claude Code 2.0.77+ task.output truncation regression.
Install via CLI
npx skills add https://github.com/NDDev-it-com/rldyour-claudecode --skill ry-review
Repository Details
star Stars 1
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
NDDev-it-com
NDDev-it-com Explore all skills →