Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configures the built-in .NET SDK analyzers, analysis levels, and gradual Roslyn warning promotion to errors in CI.
Use this skill ↓41% 64%+23 ptsof test cases passed
Passed 14 of 22 test cases with the skill, and 9 of 22 without it.
Our CI build fails because a legacy C# file generates CA1062 (validate arguments of public methods) in 40 public methods. The fix requires significant architectural changes across multiple public APIs. What interaction step must be taken next?
Asks the user whether to defer fixing or temporarily suppress the specific warning ID when a fix is too large.
3 of 3 safety checks passed
AnalysisLevel or AnalysisMode guidanceAGENTS.mdDirectory.Build.propsNon-negotiable. Violating these undermines the user's explicit intent.
TreatWarningsAsErrors or WarningsAsErrors if the project has set them. Do not comment them out, set to false, wrap in a condition, or add <TreatWarningsAsErrors>false</TreatWarningsAsErrors> to make the build pass.<NoWarn> or #pragma warning disable for warnings the user chose to treat as errors, unless the user explicitly approves the suppression..editorconfig (e.g. error to warning or none) to make a build succeed.flowchart TD
A[Start] --> B{New or legacy project?}
B -->|New| C[TreatWarningsAsErrors=true immediately]
B -->|Legacy| D[dotnet build, count warnings by ID]
D --> E{"< 30 warnings?"}
E -->|Yes| F[Fix all, then enable TreatWarningsAsErrors]
E -->|No| G[Report counts to user, ask which batch first]
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.