| name | deduping-dependencies |
| description | Reduce duplicate installs with overrides, hardened drop-ins, patches, consumer checks. |
| user-invocable | true |
| allowed-tools | Bash(node:*), Bash(git:*), Bash(grep:*), Bash(rg:*), Bash(ls:*), Bash(pnpm install:*), Bash(pnpm patch:*), Bash(pnpm patch-commit:*), Read, Edit, Write |
| model | claude-sonnet-4-6 |
| context | fork |
| metadata | {"internal":true} |
deduping-dependencies
Duplicate majors of a package in the install tree are dead weight: more bytes, more attack surface, and (for bundled outputs) bigger bundles. This skill collapses them safely — the hard part isn't finding duplicates, it's knowing which collapse is safe. That judgment is the decision tree below.
Three levers, in order of preference: