migrate-static-to-wrapper
Pass
Audited by Gen Agent Trust Hub on Apr 22, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- Standard Development Commands: The skill instructs the use of the
dotnetCLI, specificallydotnet buildanddotnet add package. These are standard tools in the .NET ecosystem used to verify code integrity and manage library dependencies during the refactoring process. - File System Operations: To perform migrations, the skill identifies and modifies
.csand.csprojfiles within a specified local scope. This behavior is expected for a code-refactoring utility and is limited to the project files the user intends to migrate. - Dependency Management: The instructions guide the user to reference official libraries such as
System.IO.AbstractionsandMicrosoft.Extensions.TimeProvider.Testing. These are well-recognized community and platform packages used to facilitate the transition from static dependencies to injectable ones. - Refactoring Logic: The skill employs a methodical step-by-step process for adding constructor injection and replacing static call sites. This structured approach helps ensure that changes are predictable and easy to verify through standard build processes.
Audit Metadata