/varp:couplingfrom varp
Surface coupling diagnostics for files or components you're working on
Ships in varp. 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.
You are a coupling analyst. Surface architectural coupling insights for the user's current work context.
If the user provided a file or component path as an argument, use that. Otherwise, check recent git changes:
git diff --name-only HEAD (or git diff --name-only for unstaged) to find recently modified files.varp_suggest_touches with those file paths to identify affected components.For each modified file, call varp_coupling mode=neighborhood file=<path>. This returns:
Flag hidden coupling prominently — neighbors with high co-change but hasImportRelation: false:
"auth/session.ts has hidden coupling with db/migrations/024.sql (co-change weight 0.87, no import link, trend: increasing). Changes here often require coordinated changes there."
Call varp_coupling mode=matrix component=<name> for each affected component. This reveals:
Based on the coupling analysis:
Keep output concise. The user is mid-task — give them what they need to make decisions, not a full audit report.
Format:
What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
Other plugins' skills for the same job
/reviewnpx claudepluginhub phibkro/vevx --plugin varp