Free alternatives to migrate-static-to-wrapper
200 free apps like migrate-static-to-wrapper, closest match first.
Top picks
- T

testability-obstacle
Gettestability-obstacle is an agent skill for C# and .NET projects that helps write deterministic tests when the code under test depends on something the test cannot control. Examples include the current time, a delay, a random value, an envir
- C

csharp-refactoring
Getcsharp-refactoring is an agent skill for C# and .NET code that changes the structure of a program without changing what it does. It covers renaming, moving, extracting, inlining, merging, consolidating and deduplicating code. Before any edi
- M

modern-csharp-coding-standards
GetWrite modern, high-performance C# code using records, pattern matching, value objects, async/await, Span /Memory , and best-practice API design patterns.
- M

migrate-nullable-references
GetMigrate Nullable References is an agent skill for turning on C# nullable reference types in an existing project and working through the warnings until none are left. The outcome is a project or solution with nullable enabled, zero nullable
- D

dotnet-best-practices
GetValidate.NET/C# code against comprehensive best practices for your solution and project. Covers 10+ practice areas including XML documentation, design patterns, dependency injection, async/await, testing standards, and error handling. Enfor
- S

safe-refactor
GetRestructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.
More like migrate-static-to-wrapper

generate-testability-wrappers
DO NOT USE when the target already consumes an injected interface or built-in

migrate-nunit-to-mstest
Convert .NET tests from NUnit 3/4 to MSTest v4 while preserving VSTest or MTP

migrate-mstest-v1v2-to-v3
Use this skill before answering or editing whenever an MSTest v1/v2 project is

principle-outcome-oriented-execution
Apply during planned rewrites and migrations with explicit phase boundaries

migrate-dotnet9-to-dotnet10
Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes

msbuild-antipatterns
DO NOT INVOKE when the primary request explicitly asks to convert, migrate

observability-edot-dotnet-migrate
Migrate a .NET application from the classic Elastic APM .NET agent

dart-migrate-to-checks-package
Replace the usage of `expect` and similar functions from `package:matcher`

tool-rename-deprecation
Ensure renamed built-in tool references preserve backward compatibility

detect-static-dependencies
ACTIVATION PREREQUISITE: the request or discovered target must explicitly

principle-migrate-callers-then-delete-legacy-apis
Apply when introducing a new internal API while old callers still exist

refactor-method-complexity-reduce
Refactor a method to reduce cognitive complexity by extracting helper methods

migrating-motoko-actors
Motoko actor migration and schema evolution with the enhanced migration chain

java-refactoring-extract-method
Java method extraction refactoring for improved readability and maintainability
About migrate-static-to-wrapper

migrate-static-to-wrapper
ALWAYS USE when asked to migrate, replace
Migrate Static to Wrapper is an agent skill for replacing static dependency calls in C# code with calls to injected wrapper interfaces or built-in abstractions. A typical change is moving DateTime.UtcNow or DateTime.Now to TimeProvider.GetUtcNow(), or moving File calls to an IFileSystem abstraction. The work is mechanical and codemod-style, and it runs over a bounded scope such as one file, one project or one namespace, so a migration can be done in steps. It adds constructor injection for the new abstraction to the affected classes. For a static utility class that needs to be testable, it can add an ambient seam while the existing call sites keep compiling unchanged. When the requested migration names the replacement, it also updates the affected tests with fakes. The skill is meant to run after wrappers have been generated with the generate-testability-wrappers skill, or after built-in abstractions have been identified for the calls in question. It is part of the dotnet/skills repository on GitHub.
- Price
- Free
- Made by
- dotnet
- Category
- AI Skills
- Website
- github.com/dotnet/skills/migrate-static-to-wrapper













