Skip to main content

generate-testability-wrappers

Generate C# testability abstractions and DI registration when none exists: minimal Environment/Console/Process wrappers, or first-time TimeProvider, IHttpClientFactory, and System.IO.Abstractions adoption. USE FOR: generate a wrapper for statics, make a class testable, wrap DateTime/File/Process, create IProcessRunner, add DI registration, or preserve a static API with an ambient seam. DO NOT USE FOR: wrapping an API already consumed through an interface or built-in abstraction such as IFileSystem or TimeProvider; detecting statics (detect-static-dependencies); migrating call sites to an existing/registered abstraction (migrate-static-to-wrapper); a single blocked behavior where the request includes adding deterministic tests (testability-obstacle); or general interface design.

Zur Installation springen

Quellinformationen

Repository
managedcode/dotnet-skills
Letzte Quellaktivität
29. August 2026 um 13:21
Erkannte Sprache von SKILL.md
Englisch
Sterne
477
Forks
33

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.