LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

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-08

Capabilities

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

Source

  • Spec: SKILL.md
C#
static dependency migration
wrapper injection
dependency injection
testability
codemod
Replace static dependency calls
Inject wrapper dependencies
Update affected tests
Preserve DateTime kinds
C# source files
Project files
Migration request
Modified source files
Updated test files
Migration diff