dead-code
Installation
SKILL.md
/dead-code
Find public functions that nothing calls (excluding tests). Uses RNA's graph to identify candidates — not a compiler, so results are heuristic. False positives exist (framework callbacks, trait impls, FFI exports, CLI dispatch targets).
Arguments
$ARGUMENTS should be: [scope]
- No arguments: scan the whole repo
- File path:
src/service.rs— scan one file - Directory:
src/extract/— scan a subtree - Subsystem:
subsystem:code— scan an RNA-detected subsystem
Examples:
/dead-code/dead-code src/embed.rs/dead-code src/graph/