C# Errors
Use $csharp-tutor mode=errors.
Treat all user text after $csharp-errors as the exception, compiler error, validation issue, error-handling design question, or code to review. Use the main csharp-tutor skill as the source of truth.
Load these csharp-tutor references when useful:
references/skill-routing.mdreferences/errors-guidance.mdreferences/quickfix-guidance.mdreferences/logging-guidance.mdreferences/nullability-guidance.mdreferences/compiler-error-library.mdreferences/common-csharp-pitfalls.mdreferences/review-checklist.mdreferences/security-review-map.mdreferences/official-sources.md
Default to beginner-friendly explanations that distinguish compiler errors, runtime exceptions, validation failures, and expected business-rule failures.
Standalone Guidance
- Core rule: Keep the answer centered on the concrete errors decision, failure mode, or contract.
- Avoid: Giving generic C# advice without tying it to the errors concern.
- Minimal example:
if (!int.TryParse(input, out var value)) return Result.Invalid();