ワンクリックで
triage
Rank cops by FP+FN from the corpus oracle to find the next batch to fix
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Rank cops by FP+FN from the corpus oracle to find the next batch to fix
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Review PRs created by the agent cop fix workflow and approve, fix, or close them.
Fix variant (EnforcedStyle) FP/FN on a cop — either a CI regression on a bot PR, or outstanding divergence from the corpus oracle. Auto-reads docs/corpus.md for examples.
Get a department or gem all the way to 100% conformance using per-cop validation and generated corpus reports, never manual README/docs edits.
Drive a department or gem all the way to 100% conformance using per-cop validation and generated corpus reports, never manual README/docs edits.
Checklist of files to update when adding or updating a rubocop plugin gem
| name | triage |
| description | Rank cops by FP+FN from the corpus oracle to find the next batch to fix |
| allowed-tools | Bash(*), Read, Grep, Glob |
Run the triage script to find the top cops to fix:
python3 .claude/skills/triage/scripts/triage.py $ARGUMENTS
This report is corpus-only. Synthetic-only cops do not appear here; use
/fix-department when the synthetic benchmark is the only signal.
If no --input is provided, it auto-downloads the latest corpus-results.json from CI via gh run download.
Common invocations:
/triage — top 30 cops by divergence/triage --limit 50 — show more/triage --department RSpec — filter to one department/triage --exclude-department Layout — skip complex layout cops/triage --fp-only — only cops with false positives/triage --input /tmp/corpus-report/corpus-results.json — use local fileAfter identifying targets, use check_cop.py --examples to see all FP/FN locations with source context:
python3 scripts/check_cop.py Department/CopName --examples --fp-only
Then read the cop source in src/cop/<dept>/<cop>.rs and the vendor spec at vendor/rubocop*/spec/ to understand the root cause before fixing.
This skill is read-only. Parallel-agent activity may leave unrelated local modifications in the working tree; do not edit or revert them while triaging.
If triage transitions into code edits, switch to a dedicated git worktree before making changes, then use a fix skill workflow that integrates retained progress back into main before ending the run.