Use a repo-root `.editorconfig` to configure free .NET analyzer and style rules.
ReSharper Command Line Tools
Use the free official JetBrains ReSharper Command Line Tools for .NET repositories. Use when a repo wants powerful `jb inspectcode` inspections, `jb cleanupcode` cleanup profiles, solution-level `.DotSettings` enforcement, or a stronger CLI quality gate for C# than the default SDK analyzers alone.
Trigger On
- the repo uses or wants ReSharper Command Line Tools
- the team wants
jb inspectcodeorjb cleanupcode - the user asks for stronger C# inspections, cleanup profiles, or ReSharper-based CI gates
Workflow
- Prefer solution-level runs when possible so ReSharper can resolve references and apply full inspections.
- Build the solution before
jb cleanupcodewhen working at solution scope. - Use
jb inspectcodefirst to surface issues before editing anything broad. - Treat surfaced issues as mandatory fixes when this gate is enabled for the repo; do not just dump a report and stop.
- Use
jb cleanupcodewith an explicit cleanup profile:
- Built-in: Full Cleanup - Built-in: Reformat Code - Built-in: Reformat & Apply Syntax Style - or a checked-in custom profile
- Keep durable ReSharper settings in the team-shared solution layer and commit the solution
.DotSettingsfile when policy changes. - Re-run
jb inspectcodeafter cleanup or fixes, then run the repo's normal quality pass and tests.
Deliver
- explicit
jb inspectcodeandjb cleanupcodecommands - durable ReSharper settings in shared solution config
- a quality gate that surfaces issues which are then fixed, not ignored
Validate
- the target solution or project builds before solution-wide cleanup
jb inspectcodeoutput is reviewed and acted on- cleanup profiles and shared settings are explicit
- tests and the wider quality pass still run after ReSharper-driven fixes
Load References
references/resharper-clt.mdreferences/commands.mdreferences/config.md
Related skills
Use the open-source free `CSharpier` formatter for C# and XML.
CSharpier
Use Chous in .NET repositories that ship sizeable frontend codebases and want file-structure linting, naming convention enforcement, and folder-layout policy as a CLI gate.
Chous