Audits .NET test mock usage by tracing each mock setup through the production code's execution path to find dead, unreachable, redundant, or replaceable mocks. Use when the user asks to audit mock usage, find unused or unnecessary mock setups, check if mocks are needed, reduce mock duplication or over-mocking, simplify test setup, or review whether mock configurations like ILogger/IOptions…
安装
npx skills add dotnet/skills --skill exp-mock-usage-analysisnpx skills add dotnet/skills --skill exp-mock-usage-analysis -a claude-code -gnpx skills add dotnet/skills --skill exp-mock-usage-analysis -a codex -ggemini skills install https://github.com/dotnet/skills.git --path plugins/dotnet-experimental/skills/exp-mock-usage-analysisgh skill install dotnet/skills exp-mock-usage-analysisgit clone --depth 1 https://github.com/dotnet/skills /tmp/dotnet__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/dotnet__skills/plugins/dotnet-experimental/skills/exp-mock-usage-analysis ~/.claude/skills/exp-mock-usage-analysis # Claude Code
cp -R /tmp/dotnet__skills/plugins/dotnet-experimental/skills/exp-mock-usage-analysis ~/.agents/skills/exp-mock-usage-analysis # Codex, Cursor, Gemini CLI, Copilot, OpenCode