What problem does it solve?
.NET library authors often struggle to keep their APIs stable across releases, risking binary and source breaking changes that force consumers to update code or cause runtime failures. This skill provides clear guidance on what changes are safe, what are breaking, and how to map them to proper Semantic Versioning increments.
Core Features & Use Cases
- Binary vs. source compatibility analysis: detailed tables of safe and breaking changes with runtime failure examples.
- Type forwarder guidance: step‑by‑step instructions for moving types between assemblies without breaking consumers.
- SemVer impact mapping: direct correlation between API modifications and required version bumps.
- Compatibility verification: usage of
EnablePackageValidation and ApiCompat tooling to automatically detect breaking changes.
- Use Case: A library maintainer wants to add a new overload to
MyLib.Widget.Calculate and needs to know whether it will break existing binaries, how it affects source compilation, and what version bump is appropriate.
Quick Start
Ask the dotnet-library-api-compat skill to assess whether adding a new overload to MyLib.Widget.Calculate will break binary or source compatibility.