ask
CommandAsk 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
description: Rank a live change for review using a repo-relative percentile and an auditable supporting diff-shape score. allowed-tools: Bash(repowise risk:*), Read disable-model-invocation: true
Rank a *change* (not a file) by size and spread. `risk_percentile` is its rank among the repo's recent commits by diff size: not a bug predictor. The response includes `fix_history`: the recency-weighted bug-fix record of the files the change touches, manifests and lockfiles excluded. 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 size-and-spread percentile, then the fix history (which files carry prior bug fixes), then the score and its drivers.
Useful flags:
use `repowise risk --target <path> --changed-file <path>` / 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.
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, Go cover profiles, JaCoCo, Salesforce Apex JSON, or repowise…
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.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.