Skip to content
D

detect-static-dependencies

ACTIVATION PREREQUISITE: the request or discovered target must explicitly

by dotnetFree

#4303in AI Skills
0In stores

Description

detect-static-dependencies scans a C# codebase for calls to static APIs that are hard to test, such as time, file and environment access. It…

Highlights

  • Ranks static API calls by how often they appear
  • Lists the files most affected by static coupling
  • Suggests existing .NET abstractions to replace each static
  • Narrows the scan to a file or directory when asked

Ratings & Reviews

No ratings yet

Be the first to rate detect-static-dependencies.

People also visit

C

csharp-scripts

Run file-based C# apps with the .NET CLI

AI Skills
Get
D

dotnet-skills

.NET skills and sub-agents for developer workflows

AI Skills
Get
N

.NET MCP Server

AI assistant access to .NET SDK for projects, packages, building, testing

AI Skills
Get
V

verify

Run a comprehensive 7-phase verification pipeline for .NET projects: build

AI Skills
Get
V

V0v1kkk/DotNetMetadataMcpServer

#⃣ - Type information from .NET projects: assembly exploration

AI Skills
Get
M

MarcelRoozekrans/roslyn-codelens-mcp

#⃣ - Roslyn-based .NET code intelligence: type hierarchies, call graphs

AI Skills
Get

detect-static-dependencies FAQ

What does this skill produce?

A ranked list of static API calls in a C# codebase, with counts, the files where they occur, and the .NET abstractions that could replace them. For a focused question it returns only the relevant category.

When should I use it?

Before adding unit tests to a project, when auditing how much static coupling a legacy codebase has, or when planning which statics to wrap first.

Will it scan my whole solution?

Only when asked. If you give a specific file or directory, the scan stays in that scope.

How do I install it?

Run npx skills add https://github.com/dotnet/skills --skill detect-static-dependencies in your project.

What security audits has it passed?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best detect-static-dependencies alternatives?

Popular alternatives to detect-static-dependencies include csharp-scripts, dotnet-skills and .NET MCP Server. See all detect-static-dependencies alternatives

Developer Stuff

Badges