ask
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).
> /plugin marketplace add repowise-dev/repowise > /plugin install repowise@repowise
How it fires
How this command gets triggered: by you, by Claude, or both.
/contextContext preview
What this command does when you run it.
Triage card for files, modules, or symbols — layer, hotspot, fix history, freshness (relationships, not source bytes).
description: Triage card for files, modules, or symbols — layer, hotspot, fix history, freshness (relationships, not source bytes). allowed-tools: Bash, Read
Pull a triage card for one or more files, modules, or symbols. This is the CLI adapter over `get_context`: title, summary, architectural layer, hotspot / bug-fix history, doc freshness, and optional relationship blocks. Relationships and risk signals — **not** source bytes by default.
1. If `.repowise/` doesn't exist: "This repo isn't indexed yet. Run `/repowise:init` first." Stop. 2. Resolve targets from `$ARGUMENTS`. If empty, ask which file / module / `path::Symbol` to inspect. 3. Run `repowise context` and present each card: layer, stale bit, hotspot, summary. Call out fix history when present.
TARGETS are file paths, module paths, or `path/to/file.py::Symbol` ids. Batch them in one call.
repowise context src/api/routes.py src/api/auth.py repowise context src/api/routes.py::login --include callers --include metrics repowise context src/api/routes.py --include skeleton
`--include skeleton` adds the body-elided, line-verified file shape. For the exact function body, prefer `/repowise:symbol` (or `get_symbol`) with a `symbol_id` from the card.
Shared targeting flags (`--path`, `--repo`, `--no-workspace`) work the same as the other tool-adapter commands.
plainly instead of inventing structure.
this way", use `/repowise:why`.
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).
Ingest or inspect test-coverage reports — LCOV, Cobertura/Clover, or coverage.py .coverage (builds the per-test map when contexts are present).
Report unreachable files, unused exports, and zombie packages, tiered by confidence.
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.