eliminate-redundant-restores
95 / 100 · Low risk
Fine to try.
Remove repeated NuGet restores from multi-step .NET builds safely. USE FOR: build/test/publish steps that each restore, Directory.Build.rsp with -restore, safe restore suppression, NETSDK1004/NETSDK1047 after --no-restore. DO NOT USE FOR: slow first restore, only one restore, version or lock errors, unranked build slowness (use build-perf-baseline).
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'eliminate-redundant-restores' ] || [ -L ~/.agents/skills/'eliminate-redundant-restores' ]; then echo 'A skill folder named eliminate-redundant-restores already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/dotnet/skills' "$d" && git -C "$d" checkout --quiet '2877c712edc20643b72f64e2983b168e6661d607' -- 'plugins/dotnet-msbuild/skills/eliminate-redundant-restores' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/dotnet-msbuild/skills/eliminate-redundant-restores' ~/.agents/skills/'eliminate-redundant-restores' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'eliminate-redundant-restores' ~/.claude/skills/'eliminate-redundant-restores' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/dotnet/skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-14 | 2877c71 | 95 |
| 2026-11-08 | 96c3d68 | 95 |
| 2026-11-07 | 96c3d68 | 95 |