plugins/ruflo-jujutsu/README.md
Advanced git workflows with diff analysis, risk scoring, and reviewer recommendations.
/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-jujutsu@ruflo
/jujutsu -- Analyze current diff with risk scoringdiff-analyze -- Analyze diffs for risk, reviewers, and classificationgit-workflow -- Advanced branch management and PR lifecycleAll 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 |
@claude-flow/cli v3.6 major+minor.bash plugins/ruflo-jujutsu/scripts/smoke.sh is 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 check calls analyze_diff to get the structured diffanalyze_diff-classify to determine change typeadr-patterns namespace for ADRs related to the touched filesWithout 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 check consumes this plugin's analyze_diff outputruflo-agentdb — namespace convention owner