Skip to main content

run-and-fix-resharper-inspections

Stars12
Forks6
UpdatedJune 12, 2026 at 19:17

Run a headless ReSharper inspection pass (jb inspectcode) over a .NET solution and systematically correct the findings: parse the SARIF output, scope to one inspection type at a time, fix in build-gated batches grouped by file, dodge the known traps (override chains, Newtonsoft silently losing data on internal getters, making the wrong overload private), then build + full test suite and re-run to confirm zero. Use for whole-solution inspection sweeps and systematic cleanup campaigns — "fix all MemberCanBeInternal", "clean up inspection warnings", severities below warning, or when no IDE is running. Not for targeted per-file diagnostics — a live ReSharper-backed MCP (get_diagnostics / lint_files) is faster when one is available.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly