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 wrappers

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

Source

  • Spec: SKILL.md
C#
static dependency migration
testability
dependency injection
wrapper abstraction
codemod
Replace static dependency calls
Add constructor injection
Apply ambient seams
Preserve DateTimeKind
C# workspace
Static call pattern
Replacement abstraction
Modified C# files
Updated tests
Migration diff