Skip to content
Development
Command

/update

Trigger an incremental Repowise update to sync documentation with recent code changes.

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

Command definition

update.md
description: Trigger an incremental Repowise update to sync documentation with recent code changes.
allowed-tools: Bash(repowise update:*), Read

Repowise Update

Trigger an incremental update of the Repowise index.

Steps

1. Check if `.repowise/` exists. If not: "This repo isn't indexed yet. Run `/repowise:init` first."

2. Run: `repowise update`

This will:

  • Detect files changed since last sync commit
  • Update git metadata for changed files
  • Regenerate affected documentation pages (the cascade budget scales with the change)
  • Decay confidence scores for indirectly affected pages
  • Update dead code analysis
  • Update CLAUDE.md if enabled

3. Show the output summary to the user.

Available flags

  • `--full`: upgrade the index. On an Index only repo (`init --mode fast`) it backfills the full git history and builds the documentation: from code with no key, or written by a model when one is configured. On a repo built from code, a configured model writes the documentation. A model run shows the cost first; `--yes` accepts it.
  • `--provider NAME`: override the LLM provider
  • `--model NAME`: override the model
  • `--since REF`: base git ref to diff from (overrides saved last_sync_commit). Accepts a commit SHA, tag, or branch name.
  • `--cascade-budget N`: max pages to regenerate per run (auto-scaled when unset)
  • `--working-tree`: also index uncommitted work
  • `--dry-run`: show affected pages without regenerating
  • `-v, --verbose`: show the full changed-file list, per-phase internals, and debug logs (the run is quiet by default)

Handling $ARGUMENTS

If the user provides arguments:

  • "dry-run" or "dry run": add `--dry-run`
  • "full" or "force": run `repowise update --full`. If a model is configured, ask the user before adding `--yes`, which accepts the cost estimate.
  • a git ref like a SHA or tag: add `--since {ref}`
  • a file path: update does not take one; suggest `repowise update`, which detects changes itself
Read more
@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
doctor

doctor

Command

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

@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