migrate-static-to-wrapper - Migrate C# static calls to existing wrappers
Mechanically 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
- Inject wrapper dependencies
- Update affected tests
- Preserve DateTime kinds
- Preserve read call counts
- Validate migration changes
Inputs
- C# source files
- Project files
- Migration request
- Migration scope
- Replacement abstraction
- Injection strategy
Outputs
- Modified source files
- Updated test files
- Migration diff
- Prerequisite report
- Validation status
- Out-of-scope item list
Requirements
- Workspace access
- Existing wrapper or built-in abstraction
- Available production composition
- Supported .NET target or referenced abstraction package
