ask
Ask a codebase question and get a cited, synthesised answer with a confidence rating (costs an LLM call).
Report unreachable files, unused exports, and zombie packages, tiered by confidence.
> /plugin marketplace add repowise-dev/repowise > /plugin install repowise@repowise
How it fires
How this command gets triggered: by you, by Claude, or both.
/dead-codeContext preview
What this command does when you run it.
Report unreachable files, unused exports, and zombie packages, tiered by confidence.
description: Report unreachable files, unused exports, and zombie packages, tiered by confidence. allowed-tools: Bash, Read
Find dead code through graph reachability + git context. No LLM — works in index-only mode. Findings are tiered by confidence; only `safe_to_delete` ones should be proposed for removal.
1. If `.repowise/` doesn't exist: "This repo isn't indexed yet. Run `/repowise:init` first." Stop. 2. Run `repowise dead-code` (with any filters from `$ARGUMENTS`). 3. Present findings grouped by confidence. Mark which are `safe_to_delete`. For lower-confidence ones, frame them as "candidates to investigate," not deletions.
Other flags: `--format json`, `--include-internals` (aggressive, private-symbol scan; higher false-positive rate), `--include-zombie-packages` / `--no-include-zombie-packages`, `--no-unreachable`, `--no-unused-exports`, `--repo <alias>` / `--no-workspace`.
For per-directory or per-owner rollups, use the `get_dead_code` MCP tool with `group_by="directory"` or `group_by="owner"` (these are tool params, not CLI flags).
can look unused but aren't. Repowise filters the common cases; edge cases remain.
or exported symbols.
Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Repo: repowise-dev/repowise
Ask a codebase question and get a cited, synthesised answer with a confidence rating (costs an LLM call).
Triage card for files, modules, or symbols — layer, hotspot, fix history, freshness (relationships, not source bytes).
Ingest or inspect test-coverage reports — LCOV, Cobertura/Clover, or coverage.py .coverage (builds the per-test map when contexts are present).
Work with architectural decisions — list, inspect health, add, or confirm auto-proposed decisions.
Diagnose the Repowise setup — install, API keys, index/store drift — and optionally repair it.
Export the wiki (or architecture model) to markdown, HTML, JSON, or Structurizr DSL.