a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

detect-static-dependencies

ACTIVATION PREREQUISITE: the request or discovered target must explicitly identify C#, .NET, `.cs`, or `.csproj`; otherwise stay dormant without invoking this skill. USE FOR: locating System.DateTime.Now/UtcNow, System.IO.File/Directory, System.Environment, HttpClient, Console, or Process usage in C#; auditing C# code for hard-to-test framework…

Full publisher description

ACTIVATION PREREQUISITE: the request or discovered target must explicitly identify C#, .NET, `.cs`, or `.csproj`; otherwise stay dormant without invoking this skill. USE FOR: locating System.DateTime.Now/UtcNow, System.IO.File/Directory, System.Environment, HttpClient, Console, or Process usage in C#; auditing C# code for hard-to-test framework dependencies; or verifying those C# calls are already abstracted. DO NOT USE FOR: any target lacking the activation prerequisite; generating wrappers (use generate-testability-wrappers); migrating code (use migrate-static-to-wrapper); or general code review.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

microsoft/testfx

.agents/skills/detect-static-dependencies/SKILL.md

Pinned revision 54980bc56a22eb758c040a20b8f3571ee2d50417

Source checked

Reviewed licence: MIT
Specific instruction/source terms; preserve the linked licence conditions, notices and attribution.

Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.

This skill page is available in English. Publisher instructions stay in their original language.