What problem does it solve?
This Skill prevents avoidable build failures by validating your local .NET SDK environment against what your solution targets, then capturing a baseline state before any code changes happen.
Core Features & Use Cases
- SDK/runtime compatibility verification: Compares installed SDKs from dotnet --list-sdks with all TargetFramework and TargetFrameworks values across .csproj files to flag gaps and assess rollforward viability.
- Dependency graph mapping: Runs dotnet list {solution}.sln reference to identify project reference relationships and potential layering violations, including circular dependencies.
- Baseline build capture: Executes dotnet build {solution}.sln and records error/warning counts plus messages so later failures can be distinguished from pre-existing issues.
- Use cases: onboarding to a .NET solution, starting new tasks safely, or diagnosing build failures caused by SDK mismatches or architectural reference direction problems.
Quick Start
Run tech-preflight-dotnet to validate SDK compatibility, map the solution’s project reference graph, and capture a baseline dotnet build for comparison after changes.