Dead Code banner
cognitx-leyton cognitx-leyton

Dead Code

Development community

Description

--- allowed-tools: Bash(codegraph query:*), Bash(codegraph query:*), Bash(.venv/bin/codegraph query:*) description: List orphan functions, classes, atoms, and endpoints with no inbound references — framework entry points excluded --- ## Usage ``` /dead-code [path_prefix] ``` Scope defaults to `codegraph/codegraph/` if no prefix is given. Pass any string that matches a `:File.path` prefix to scope elsewhere (e.g. `packages/twenty-server/src/engine/`). Returns four categories of orphan, each t

Installation

Installs to ~/.claude/commands/cognitx-leyton-graphrag-code-dead-code.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/cognitx-leyton/graphrag-code/HEAD/.claude/commands/dead-code.md -o ~/.claude/commands/cognitx-leyton-graphrag-code-dead-code.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository