No slash command · from Repowise
Before editing shared or core files, assesses impact using Repowise risk data: hotspot scores, defect history, dependents, co-change partners, ownership, and test gaps.
Ships in Repowise. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before modifying files in a Repowise-indexed codebase, assess the impact.
Call get_risk(targets=["path/to/file.py"]). Per file it returns
hotspot_score, trend, risk_type, impact_surface (top 3),
dependents_count, co_change_partners, primary_owner,
test_gap, and security_signals. Read it for:
defect_profile) — present only on files with counted
fixes: fix_count over the trailing 6 months, last_fix_days_ago, a
bug_magnet flag for sustained recent fix pressure, and top_symbols (the
per-symbol counts are approximate — read them as "mostly here"). A file that
keeps getting fixed is the strongest single signal that the next edit breaks
something; lead with it.hotspot_score, trend) — high-churn × complex? Extra care needed.dependents_count, impact_surface) — how wide is the blast radius?Batch all targets into one call: get_risk(targets=["file1.py", "file2.py", "module/"]).
If get_risk shows:
defect_profile with bug_magnet set — say so plainly: this file has been fixed repeatedly and recentlyCall get_context(targets=["file.py"]) first to understand the full context: what uses this file, what decisions govern it, and why it's structured this way. This prevents accidentally violating architectural decisions.
For a heavy refactor, also call get_health(targets=["file.py"]) — the
marker findings (complexity, deep nesting, low cohesion, duplication) tell
you what to improve while you're in there, and give you a before/after score.
If get_risk returns a tool error, the MCP server may not be running. Proceed with the modification but note that risk assessment was unavailable.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
risk-assessment, impact-analysis, code-modification, repowise
7 skills in this plugin
/architectural-decisionsWhy code is built this way, before changing a pattern./change-reviewReview a PR, branch or local diff before it merges./codebase-explorationHow code works or where something lives./code-healthCode health, tech debt, what to refactor next./dead-code-cleanupFind and safely remove unused code./settingsRepowise options, what they cost, and changing them.npx claudepluginhub repowise-dev/repowise --plugin repowiseOther plugins' skills for the same job