
from generator.equals190
A C# source generator that auto-implements IEquatable<T>, Equals/GetHashCode, comparison operators and provides a structured Inequalities() diff API via attribu
Generator.Equals is a compile-time C# source generator that produces robust equality members (IEquatable<T>, Equals, GetHashCode), ==/!= operators and a readable Inequalities() diff API based on simple attributes. It avoids runtime reflection by generating code during compilation and supports fine-grained control for fields, properties and collections via attributes like [OrderedEquality], [UnorderedEquality], [SetEquality], [PrecisionEquality] and [CustomEquality].
Use this when you want consistent, maintainable equality logic across domain types without hand-writing Equals/GetHashCode or fragile reflection-based comparers. It's particularly useful for DTOs, value types, records, and cases where you need per-field diffs for auditing or sync (using Inequalities()). Works well in libraries, domain models and test fixtures where deterministic equality matters.
Inferred: agents that understand developer tooling and code actions (e.g., Copilot-style assistants, code-focused Claude/Code models).
A well-documented reference skill for Generator.Equals, a C# source generator that auto-implements IEquatable<T>, Equals, GetHashCode, operators, and an Inequalities diff API. The SKILL.md is thorough with attribute quick-reference, examples, common pitfalls, and diagnostics. No scripts included — purely informational. Niche audience of C#/.NET developers using source generators, but genuinely useful for that group.
Clean informational skill with no executable code. Comprehensive documentation quality. Niche but well-targeted usefulness for .NET developers.