generate-testability-wrappers
Skill0 starsChanged 5 months agoNo licenceView on GitHub
Generate wrapper interfaces and DI registration for hard-to-test static dependencies in C#, when the abstraction does NOT exist yet. Produces IFileSystem, IEnvironmentProvider, IConsole, IProcessRunner wrappers, or guides first-time adoption of TimeProvider and IHttpClientFactory and registering them in DI. USE FOR: generate wrapper for static, create IFileSystem wrapper, wrap DateTime.Now, make static testable, make class testable, create abstraction for File.*, generate DI registration, set up/adopt TimeProvider when it is not registered yet, IHttpClientFactory setup, testability wrapper, create the right abstraction to mock, what abstraction for Environment, how to make statics injectable, adopt System.IO.Abstractions. DO NOT USE FOR: detecting statics (use detect-static-dependencies), migrating call sites or replacing existing DateTime.*/File.* usages once the wrapper is created or already registered in DI (use migrate-static-to-wrapper), general interface design.
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- microsoft/testfxedited, first seen Oct 9, 2026
- VincentH-Net/dotnet-agentic-engineeringedited, first seen May 12, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- microsoft/testfx★ 1.1k37% same
- VincentH-Net/dotnet-agentic-engineering★ 1192% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- analyzing-dotnet-performanceSkill
- angular-developerSkill
- angular-new-appSkill
- assertion-qualitySkill
- code-testing-agentSkill
- code-testing-extensionsSkill
- configuring-opentelemetry-dotnetSkill
- coverage-analysisSkill
- crap-scoreSkill
- detect-static-dependenciesSkill
- dotnet-aot-compatSkill
- dotnet-trace-collectSkill
- dotnet-webapiSkill
- dump-collectSkill
- filter-syntaxSkill
- find-untested-sourcesSkill
- grade-testsSkill
- microbenchmarkingSkill
- migrate-dotnet10-to-dotnet11Skill
- migrate-dotnet8-to-dotnet9Skill
- migrate-dotnet9-to-dotnet10Skill
- migrate-nullable-referencesSkill
- migrate-static-to-wrapperSkill
- minimal-api-file-uploadSkill
- mtp-hot-reloadSkill
- optimizing-ef-core-queriesSkill
- platform-detectionSkill
- run-testsSkill
- system-text-json-net11Skill
- test-analysis-extensionsSkill
- test-anti-patternsSkill
- test-gap-analysisSkill
- test-smell-detectionSkill
- test-taggingSkill
- thread-abort-migrationSkill
- writing-mstest-testsSkill
- branch-from-ticketSkill
- commit-ticketSkill
- develop-ticketSkill
- plan-ticketSkill
- run-scriptsSkill
- tailwind-scss-stylingSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

