er-risk-sort

Reorder review queues by risk using findings from .er-review.json.

2|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/VilfredSikker/easy-review --skill er-risk-sort
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: er-risk-sort
Source: https://github.com/VilfredSikker/easy-review/tree/main/skills/er-risk-sort
Command: npx skills add https://github.com/VilfredSikker/easy-review --skill er-risk-sort

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Repetitive and error-prone manual ordering of files for code reviews by risk makes reviews slower. This skill automatically reorders the review queue based on per-file risk data from .er-review.json and produces a structured .er-order.json.

Core Features & Use Cases

  • Reads per-file risk levels and findings from .er-review.json to score and sort files.
  • Reads or creates .er-order.json and writes an updated, risk-prioritized order with grouped related files.
  • Supports typical PR review workflows by presenting a risk-focused sequence that improves inspection efficiency.

Quick Start

Run /er-risk-sort to reorder your .er-order.json based on risk insights in .er-review.json.

Frequently Asked Questions about er-risk-sort

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

FAQPage Schema
How do I automate prioritizing files in a code review by risk level?

Automate code review prioritization by reading per-file risk levels and findings from .er-review.json, sorting files from high to low risk, and writing a deterministic review sequence to .er-order.json.

How do I sort a PR review queue to speed up feedback?

Sort your PR review queue by reordering files based on risk scores and finding counts. This produces a structured .er-order.json sequence that improves inspection efficiency and speeds up feedback.

Can I group related files together when sorting code review findings?

Yes, related files are grouped together logically during the sorting process. The tool sorts by risk level first, then by number of findings, and applies logical grouping before writing the updated order.

Does er-risk-sort work with my existing JSON review files?

It works with existing .er-review.json files containing per-file findings. It reads or initializes .er-order.json, making the risk-prioritized order file deterministic and reusable for subsequent reviews.

What is the best way to maintain a consistent file review order across multiple PR reviews?

Maintain consistent file review order by generating a reusable .er-order.json file. It provides a deterministic, risk-prioritized sequence that scales across typical PR reviews for repeated use.