migrate-static-to-wrapper
Maintained by dotnet
ALWAYS USE when asked to migrate, replace, or make testable existing C# static calls with a named wrapper or built-in abstraction: DateTime.UtcNow/Now or DateTimeOffset.UtcNow to TimeProvider/IClock, File.* to IFileSystem or an existing store such as ITextFileStore, and Environment.* to an existing reader such as IEnvi
- Current version
- Unknown
- License
- MIT
- Network access
- Unknown / not assessed
- Review status
- Not verified
Problem it solves
This catalog entry helps users find and evaluate migrate-static-to-wrapper for the task described by its available catalog summary. Confirm the exact scope in the linked original source when one is available.
When to use it
Consider migrate-static-to-wrapper when its available catalog summary matches the task at hand. When available, review the linked original source before use for precise instructions, requirements, and limitations.
Installation and updates
These commands are displayed for copying only and are never executed on RefHub servers. Review the linked upstream source before running them.
npx skills add dotnet/skills --skill migrate-static-to-wrapper -y
Agent compatibility
No compatibility test has been recorded
Do not assume agent compatibility until documented test evidence is available.