Skip to content
Development
Command

/doctor

Diagnose the Repowise setup — install, API keys, index/store drift — and optionally repair it.

From plugin
repowise
8.1k17 skills17 commands1 MCP
> /plugin marketplace add repowise-dev/repowise
> /plugin install repowise@repowise

Command definition

doctor.md
description: Diagnose the Repowise setup — install, API keys, index/store drift — and optionally repair it.
allowed-tools: Bash(repowise doctor:*), Read

Repowise Doctor

Check that Repowise is healthy: the install, configured provider / API keys, and whether the index and stores are consistent with the repo.

Steps

1. Run `repowise doctor`. 2. Summarize what passed and what didn't. For each problem, give the concrete fix (set an env var, run `/repowise:update`, re-run `/repowise:init`, etc.).

Flags from `$ARGUMENTS`

  • "repair" / "fix" → `repowise doctor --repair` (attempts to fix detected

mismatches). Tell the user what it changed.

  • "workspace" → `repowise doctor --workspace` (check every repo in the workspace);

`--no-workspace` to force single-repo.

  • a path → `repowise doctor <path>`

Common findings

  • **repowise not installed / not on PATH** → suggest `pip install repowise` (or

`python -m pip install repowise` on Windows), then `/repowise:init`.

  • **No API key for the configured provider** → show the exact `export` for the

provider in `.repowise/config.yaml`. This is not fatal for `init`, which falls back to the template wiki. Only an explicitly named `--provider` errors out.

  • **Index drift (HEAD ahead of last sync)** → run `/repowise:update`.
  • **Missing embeddings / store drift** → `/repowise:reindex`.
@repowise-dev
Ships withrepowise

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

8.1k8 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8.1k
Star history of repowise-dev/repowise on GitHub, a chart by star-history.com

Other commands on repowise.

ask

ask

Command

Ask a codebase question and get a cited, synthesised answer with a confidence rating (costs an LLM call).

@repowise-dev@repowise-devInstall Command
context

context

Command

Triage card for files, modules, or symbols — layer, hotspot, fix history, freshness (relationships, not source bytes).

@repowise-dev@repowise-devInstall Command
coverage

coverage

Command

Ingest or inspect test-coverage reports (LCOV, Cobertura, Clover, Go cover profiles, JaCoCo, Salesforce Apex JSON, or repowise…

@repowise-dev@repowise-devInstall Command
decision

decision

Command

Work with architectural decisions — list, inspect health, add, or confirm auto-proposed decisions.

@repowise-dev@repowise-devInstall Command
export

export

Command

Export the wiki (or architecture model) to markdown, HTML, JSON, or Structurizr DSL.

@repowise-dev@repowise-devInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command