ask
Ask a codebase question and get a cited, synthesised answer with a confidence rating (costs an LLM call).
Rank a live change for review using a repo-relative percentile and an auditable supporting diff-shape score.
> /plugin marketplace add repowise-dev/repowise > /plugin install repowise@repowise
How it fires
How this command gets triggered: by you, by Claude, or both.
/riskContext preview
What this command does when you run it.
Rank a live change for review using a repo-relative percentile and an auditable supporting diff-shape score.
description: Rank a live change for review using a repo-relative percentile and an auditable supporting diff-shape score. allowed-tools: Bash, Read
Assess a *change* (not a file) for review priority. The authoritative fields are the repo-relative `risk_percentile` and `classification`. The response includes `fix_history`: the recency-weighted bug-fix record of the files the change touches, which of them carry it, and where that sits among the repo's own recent commits. The supporting 0–10 score measures diff size and spread (named in `score_measures`) rather than danger and is not a probability. Pure git + learned constants: no LLM, no network. A natural pre-merge / PR gate.
1. If `.repowise/` doesn't exist: "This repo isn't indexed yet. Run `/repowise:init` first." Stop. 2. Resolve the target from `$ARGUMENTS`, run `repowise risk`, and present the fix history first (which files keep breaking, and the repo-relative percentile), then the score and its drivers.
Useful flags:
use the `get_risk` MCP tool / the `change-review` skill.
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).
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.