Advanced git workflows with diff analysis, risk scoring, and reviewer recommendations.
/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-jujutsu@ruflo
- Diff analysis: Comprehensive change analysis with risk scoring
- Change classification: Auto-categorize as feature, bugfix, refactor, etc.
- Reviewer recommendations: Suggest reviewers based on code ownership
- File-level risk: Per-file risk breakdown for targeted review
/jujutsu-- Analyze current diff with risk scoring
diff-analyze-- Analyze diffs for risk, reviewers, and classificationgit-workflow-- Advanced branch management and PR lifecycle
All defined at v3/@claude-flow/cli/src/mcp-tools/analyze-tools.ts:
| Tool | Purpose |
|---|---|
analyze_diff |
Full diff analysis (risk + classification + reviewers + stats) |
analyze_diff-risk |
Risk score for the staged/unstaged diff |
analyze_diff-classify |
Classify change as feature, bugfix, refactor, perf, security, docs, … |
analyze_diff-reviewers |
Recommend reviewers based on code ownership |
analyze_file-risk |
Per-file risk breakdown |
analyze_diff-stats |
Lines added/removed, files touched, complexity delta |
- CLI: pinned to
@claude-flow/cliv3.6 major+minor. - Verification:
bash plugins/ruflo-jujutsu/scripts/smoke.shis the contract.
This plugin's diff analysis is the substrate that ruflo-adr ADR-0001's /adr check runs on. When ADR compliance is queried for a diff:
/adr checkcallsanalyze_diffto get the structured diff- Then
analyze_diff-classifyto determine change type - Then cross-references the
adr-patternsnamespace for ADRs related to the touched files - Flags violations: code referencing deprecated/superseded ADRs, or code contradicting accepted ADRs
Without this plugin, /adr check falls back to plain git diff parsing — usable but no risk scoring or reviewer recommendations.
This plugin owns the git-patterns AgentDB namespace (kebab-case, follows the convention from ruflo-agentdb ADR-0001 §"Namespace convention"). Reserved namespaces (pattern, claude-memories, default) MUST NOT be shadowed.
bash plugins/ruflo-jujutsu/scripts/smoke.sh
# Expected: "10 passed, 0 failed"ruflo-adr—/adr checkconsumes this plugin'sanalyze_diffoutputruflo-agentdb— namespace convention owner