Skill page Code Quality v1.0.0

CSharpier for .NET

Use the open-source free `CSharpier` formatter for C# and XML. Use when a .NET repo intentionally wants one opinionated formatter instead of a highly configurable `dotnet format`-driven style model.

Trigger On

  • the repo uses or wants CSharpier
  • the team prefers an opinionated formatter over many configurable style knobs

Workflow

  1. Decide whether CSharpier is the primary formatter or only complements other tools.
  2. Use check mode in CI.
  3. Keep ignore files and config explicit in repo.
  4. Do not let CSharpier and dotnet format both own the same formatting space without documentation.

Deliver

  • explicit CSharpier ownership and commands
  • CI-safe formatter checks

Validate

  • formatter ownership is not ambiguous
  • the repo is comfortable with opinionated formatting decisions

Load References

Related skills