triage

Rank RuboCop cops by FP and FN divergence from corpus oracle results.

18|2|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/6/nitrocop --skill triage-6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: triage
Source: https://github.com/6/nitrocop/tree/main/.claude/skills/triage
Command: npx skills add https://github.com/6/nitrocop --skill triage-6

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It helps developers quickly identify RuboCop cops that produce false positives or false negatives, enabling targeted improvements in ongoing Quality Assurance and code hygiene efforts.

Core Features & Use Cases

  • FP/FN ranking: Ranks cops by divergence using corpus oracle results to surface the most impactful fixes.
  • Flexible filtering: Supports department selection, result limits, and FP-only or FN-only views for focused triage.
  • Investigation workflow: Allows examining FP/FN locations and corresponding source to understand root causes before changes.

Quick Start

Run the triage script to identify the top cops to fix in your codebase.

Frequently Asked Questions about triage

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

FAQPage Schema
How do I prioritize RuboCop false positives and false negatives for fixes?

You can prioritize RuboCop false positives and false negatives by ranking cops based on FP and FN divergence using corpus oracle results to surface the most impactful fixes.

How does ranking cops by FP and FN divergence work?

Ranking cops by FP and FN divergence works by analyzing corpus oracle results to measure the statistical divergence of false positives and false negatives, identifying which cops need the most urgent attention.

Can I filter RuboCop triage results by department or FP/FN status?

Yes, you can filter RuboCop triage results by department, apply a result limit, and specify FP-only or FN-only views to focus your code analysis on targeted areas.

What data do I need to run a RuboCop FP and FN divergence triage?

You need the corpus results JSON from a previous corpus oracle run and the gh CLI installed to fetch data, which automatically excludes cops fixed since that oracle run.

How do I investigate the root cause of RuboCop false positives after ranking?

After ranking, you can investigate root causes by examining the specific FP and FN locations alongside the corresponding source code to understand why the cop diverged before making changes.

Does the triage script exclude cops that were already fixed?

Yes, the triage script automatically excludes cops that have been fixed since the original corpus oracle run, ensuring your FP and FN divergence rankings reflect only currently active issues.