migrate-static-to-wrapper

SKILLFlusso di lavorocommunity
v0.0.0dotnetMITAggiornato 6 g faFonte →

Replace existing static dependency call sites with a wrapper or built-in abstraction that already exists or is registered in DI, across a bounded scope (file, project, namespace). USE FOR: replace DateTime.UtcNow/DateTime.Now with TimeProvider and add the constructor parameter, migrate static call s

Community-submitted skill. Not yet reviewed by the Forge team. Full prompt content may not be available.Request review →
5kStelle del repo
1Client
1Formati
6 g faUltimo aggiornamento
Skill
Autoredotnet
Versione0.0.0
LicenzaMIT
CategoriaFlusso di lavoro
Formatiskill.md
PromptApri (vedi la scheda Prompt)
Compatibilità
Claude✓ Supportato
Cursor
Copilot
ChatGPT
Gemini
Descrizione

Replace existing static dependency call sites with a wrapper or built-in abstraction that already exists or is registered in DI, across a bounded scope (file, project, namespace). USE FOR: replace DateTime.UtcNow/DateTime.Now with TimeProvider and add the constructor parameter, migrate static call sites to a wrapper already in DI, bulk replace File.* with IFileSystem, scoped migration of statics i

Parole chiave
skillclaude