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 dotnet CLI, specifically dotnet build and dotnet 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 .cs and .csproj files 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.Abstractions and Microsoft.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
Risk Level
SAFE
Analyzed
Apr 22, 2026, 09:51 AM