Skip to main content
Run any Skill in Manus
with one click

thinktecture-runtime-extensions

Stars90
Forks5
UpdatedJune 25, 2026 at 06:43

Design and implement domain types with Thinktecture.Runtime.Extensions — Smart Enums ([SmartEnum<TKey>] / [SmartEnum]), Value Objects ([ValueObject<TKey>] / [ComplexValueObject]), Discriminated Unions ([Union<T1,T2,…>] / [AdHocUnion] / [Union]), and Object Factories ([ObjectFactory<T>]). Use both to pick the right building block AND to implement it: validation via ValidateFactoryArguments / CreateCore / ValidateCore, Switch/Map, factory methods (FactoryMethodGeneration), equality comparers (KeyMemberEqualityComparer), generic types via TypeParamRef1-5, backing-field merging (UseSingleBackingField), serialization/EF/ASP.NET integration, setting cascades, and TTRESG diagnostics. Trigger on any of these attributes, primitive-obsession refactors (Email, Amount, ISBN), fixed enum-like sets, one-of / Success|Failure modeling, IsT1/AsT1, or TTRESG codes (047/057-062/068-076). Type-specific detail is loaded on demand from this skill's references/.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
12 files
SKILL.md
readonly