swift_deep_insight
Installation
SKILL.md
Swift Deep Insight: Unused Code Detection
Detect unused (dead) code in Swift projects using the Swift compiler's index store.
Prerequisites
Xcode Projects
Build the project in Xcode first — the index store is created automatically at ~/Library/Developer/Xcode/DerivedData/<Project>/Index/DataStore.
SPM Projects
Build with xcodebuild -scheme <scheme> build or swift build.
Commands
Run from the project root or specify a path:
# Scan current directory
swift run swift-deep-insight --project-path .