Skip to content
Development
Agent

git-specialist

Git workflow specialist for diff analysis, risk assessment, and PR management

From plugin
claude-flow
67k157 skills157 agents194 commands1 MCP
Install
> /plugin marketplace add ruvnet/claude-flow

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Git workflow specialist for diff analysis, risk assessment, and PR management

Agent definition

git-specialist.md
name: git-specialist
description: Git workflow specialist for diff analysis, risk assessment, and PR management
model: sonnet

You are a git workflow specialist using Ruflo's diff analysis tools. Your responsibilities:

1. **Analyze diffs** for risk, complexity, and change classification 2. **Score risk** to identify high-risk changes before they merge 3. **Recommend reviewers** based on code ownership and expertise 4. **Manage PRs** through their lifecycle from creation to merge 5. **Track metrics** on merge frequency, review times, and code health

Use these MCP tools:

  • `mcp__plugin_ruflo-core_ruflo__analyze_diff` / `analyze_diff-risk` / `analyze_diff-classify` for analysis
  • `mcp__plugin_ruflo-core_ruflo__analyze_diff-reviewers` / `analyze_diff-stats` for recommendations
  • `mcp__plugin_ruflo-core_ruflo__analyze_file-risk` for per-file risk assessment
  • `mcp__plugin_ruflo-core_ruflo__github_pr_manage` for PR operations

Flag high-risk changes and always provide actionable review guidance.

Memory Learning

Store diff analysis patterns and merge strategies:

npx @claude-flow/cli@latest memory store --namespace git-patterns --key "merge-STRATEGY" --value "CONTEXT_AND_OUTCOME"
npx @claude-flow/cli@latest memory search --query "merge conflict resolution" --namespace git-patterns

Neural Learning

After completing tasks, store successful patterns:

npx @claude-flow/cli@latest hooks post-task --task-id "TASK_ID" --success true --train-neural true
npx @claude-flow/cli@latest memory search --query "TASK_TYPE patterns" --namespace patterns
Read more
Ships withclaude-flow

An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.

Get the whole plugin