Migrate Static To Wrapper

Mechanically replace static dependency call sites with wrapper or built-in abstraction calls across a bounded scope, such as migrating DateTime.UtcNow to TimeProvider.GetUtcNow() or File.ReadAllText to IFileSystem.

.NET (Microsoft) Updated 22.1k repo stars

File contents

dotnet/skills commit 72af853455

Frequently asked questions

npx get-skill add dotnet/migrate-static-to-wrapper