migrate-static-to-wrapper - Migrate C# static calls to wrappers
Replaces scoped C# static dependency calls with existing injected wrappers or built-in abstractions while preserving call behavior.
Tags
Updated: 2026-10-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Replace static dependency calls
- Add constructor injection
- Apply ambient seams
- Preserve DateTimeKind
- Update affected tests
- Validate migration scope
Inputs
- C# workspace
- Static call pattern
- Replacement abstraction
- Migration scope
- Injection strategy
Outputs
- Modified C# files
- Updated tests
- Migration diff
- Prerequisite status
- Remaining-scope report
Requirements
- Available wrapper or built-in abstraction
- Supported .NET target
- Required package references
- Production composition access
- Workspace file access
