dead-code
Installation
SKILL.md
GitNexus Dead Code Detector
CLI ONLY — no MCP server exists. Never use
readMcpResourcewithgitnexus://URIs.
Find orphan functions, dangling imports, isolated files, and unreachable code using the GitNexus knowledge graph.
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
When to Use
- Periodic codebase cleanup
- Before a major release to reduce surface area
- After a refactor to find newly orphaned code
- "Are there any unused functions?"
For language-specific dead code tools (vulture, knip, clippy): use quality-tools:dead-code-detector instead. This skill uses the GitNexus graph for cross-file structural analysis.