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.

Aller à l'installation

Informations de source

Dépôt
managedcode/dotnet-skills
Dernière activité de la source
29 août 2026 à 13:21
Langue détectée de SKILL.md
anglais
Étoiles
477
Forks
33

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.