lsp-dead-code
CommunityIdentify dead code by auditing exported symbols.
Authorblackwell-systems
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Enumerate exported symbols in a file and surface those with zero references across the workspace, enabling targeted dead-code audits and API cleanup.
Core Features & Use Cases
- Enumerate exported symbols for a target file via LSP, then gather references to determine usage.
- Produce a structured Dead Code Report highlighting zero-reference candidates and test-only references, with caveats for dynamic usage patterns.
- Use cases include cleaning up APIs before releases, reducing maintenance surface area, and validating public interfaces.
Quick Start
Open a target project and run this skill against a file to identify exported symbols with zero references.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: lsp-dead-code Download link: https://github.com/blackwell-systems/agent-lsp/archive/main.zip#lsp-dead-code Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.