fix-cops

Triage, investigate, and fix corpus false positives in nitrocop.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fix Cops provides an end-to-end workflow to triage, investigate, and apply test-driven fixes to corpus false positives in nitrocop, reducing FP noise.

Core Features & Use Cases

  • Triage and ranking: Prioritize high-impact cops for investigation.
  • Investigate and reproduce: Use guided scripts to gather root causes and minimal reproductions.
  • TDD-driven fixes: Implement fixes with test-driven development and fixture validation.
  • Use Case: After a corpus oracle run, fix FP-heavy cops in a dedicated worktree to improve corpus quality.

Quick Start

Begin by running the triage phase on the latest corpus results and iteratively fix up to four high-impact cops in a dedicated git worktree.

Frequently Asked Questions about fix-cops

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

FAQPage Schema
How do I triage and fix corpus false positives in nitrocop?▼

To triage corpus false positives in nitrocop, run the triage phase on your latest corpus oracle results to rank and select up to four high-impact cops for targeted, reproducible fixes within a dedicated git worktree.

What is the workflow for investigating cop false positives?▼

The investigation workflow for cop false positives uses guided Python-based scripts to gather root causes and minimal reproductions, enforcing a multi-phase process before applying test-driven fixes with fixture validation.

Do I need a separate git worktree to apply test-driven cop fixes?▼

Yes, you need a separate git worktree along with test fixtures and a controlled code-editing environment to execute the TDD-driven fixes and ensure targeted, reproducible patch workflows for high-impact cops.

How many cops can I fix in a single triage and patch workflow?▼

You can fix up to four high-impact cops in a single triage and patch workflow, prioritizing them based on corpus oracle run results to effectively reduce false positive noise.

What's the best way to reduce false positive noise from corpus-based cop runs?▼

The best way to reduce false positive noise from corpus-based cop runs is an end-to-end workflow that automates triage, investigation, and test-driven patch application for high-impact cops in a controlled environment.

When should I use a multi-phase Triage, Investigation, and Fix workflow for cops?▼

You should use this multi-phase workflow for cops after a corpus oracle run when you need to systematically rank, investigate root causes, and apply reproducible test-driven fixes to improve corpus quality.