Skip to content
Development
Command

/config

Complete configuration guide for pair programming sessions.

From plugin
agentic-flow
788133 skills103 agents133 commands2 MCP
Install
$ npx -y skills add ruvnet/agentic-flow --agent claude-code

How it fires

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

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/config

Context preview

What this command does when you run it.

Complete configuration guide for pair programming sessions.

Command definition

config.md

Pair Programming Configuration

Complete configuration guide for pair programming sessions.

Configuration File

Main configuration file: `.claude-flow/pair-config.json`

Basic Configuration

{
  "pair": {
    "enabled": true,
    "defaultMode": "switch",
    "defaultAgent": "auto",
    "autoStart": false,
    "theme": "professional"
  }
}

Complete Configuration

{
  "pair": {
    "general": {
      "enabled": true,
      "defaultMode": "switch",
      "defaultAgent": "senior-dev",
      "autoStart": false,
      "theme": "professional",
      "language": "javascript",
      "timezone": "UTC"
    },
    
    "modes": {
      "driver": {
        "enabled": true,
        "suggestions": true,
        "realTimeReview": true,
        "autoComplete": false
      },
      "navigator": {
        "enabled": true,
        "codeGeneration": true,
        "explanations": true,
        "alternatives": true
      },
      "switch": {
        "enabled": true,
        "interval": "10m",
        "warning": "30s",
        "autoSwitch": true,
        "pauseOnIdle": true
      }
    },
    
    "verification": {
      "enabled": true,
      "threshold": 0.95,
      "autoRollback": true,
      "preCommitCheck": true,
      "continuousMonitoring": true,
      "blockOnFailure": true
    },
    
    "testing": {
      "enabled": true,
      "autoRun": true,
      "framework": "jest",
      "onSave": true,
      "coverage": {
        "enabled": true,
        "minimum": 80,
        "enforce": true,
        "reportFormat": "html"
      },
      "watch": true,
      "parallel": true
    },
    
    "review": {
      "enabled": true,
      "continuous": true,
      "preCommit": true,
      "security": true,
      "performance": true,
      "style": true,
      "complexity": {
        "maxComplexity": 10,
        "maxDepth": 4,
        "maxLines": 100
      }
    },
    
    "git": {
      "enabled": true,
      "autoCommit": false,
      "commitTemplate": "feat: {message}",
      "signCommits": false,
      "pushOnEnd": false,
      "branchProtection": true
    },
    
    "session": {
      "autoSave": true,
      "saveInterval": "5m",
      "maxDuration": "4h",
      "idleTimeout": "15m",
      "breakReminder": "45m",
      "metricsInterval": "1m",
      "recordSession": false,
      "shareByDefault": false
    },
    
    "ai": {
      "model": "advanced",
      "temperature": 0.7,
      "maxTokens": 4000,
      "contextWindow": 8000,
      "personality": "professional",
      "expertise": ["backend", "testing", "security"],
      "learningEnabled": true
    },
    
    "interface": {
      "theme": "dark",
      "fontSize": 14,
      "showMetrics": true,
      "notifications": true,
      "sounds": false,
      "shortcuts": {
        "switch": "ctrl+shift+s",
        "suggest": "ctrl+space",
        "review": "ctrl+r",
        "test": "ctrl+t"
      }
    },
    
    "quality": {
      "linting": {
        "enabled": true,
        "autoFix": true,
        "rules": "standard"
      },
      "formatting": {
        "enabled": true,
        "autoFormat": true,
        "style": "prettier"
      },
      "documentation": {
        "required": true,
        "format": "jsdoc",
        "checkCompleteness": true
      }
    },
    
    "advanced": {
      "parallelSessions": false,
      "multiAgent": false,
      "customAgents": [],
      "plugins": [],
      "webhooks": {
        "onStart": "",
        "onEnd": "",
        "onCommit": "",
        "onError": ""
      }
    }
  }
}

Agent Configuration

Built-in Agents

{
  "agents": {
    "senior-dev": {
      "expertise": ["architecture", "patterns", "optimization"],
      "style": "thorough",
      "reviewLevel": "strict"
    },
    "tdd-specialist": {
      "expertise": ["testing", "mocks", "coverage"],
      "style": "test-first",
      "reviewLevel": "comprehensive"
    },
    "debugger-expert": {
      "expertise": ["debugging", "profiling", "tracing"],
      "style": "analytical",
      "reviewLevel": "focused"
    },
    "junior-dev": {
      "expertise": ["learning", "basics", "documentation"],
      "style": "questioning",
      "reviewLevel": "educational"
    }
  }
}

Custom Agents

{
  "customAgents": [
    {
      "id": "security-expert",
      "name": "Security Specialist",
      "expertise": ["security", "cryptography", "vulnerabilities"],
      "personality": "cautious",
      "prompts": {
        "review": "Focus on security vulnerabilities",
        "suggest": "Prioritize secure coding practices"
      }
    }
  ]
}

Mode-Specific Configuration

Driver Mode

{
  "driver": {
    "autocomplete": {
      "enabled": false,
      "delay": 500,
      "minChars": 3
    },
    "suggestions": {
      "enabled": true,
      "frequency": "onChange",
      "inline": true
    },
    "review": {
      "realTime": true,
      "highlighting": true,
      "annotations": true
    }
  }
}

Navigator Mode

{
  "navigator": {
    "generation": {
      "style": "verbose",
      "comments": true,
      "tests": true
    },
    "explanation": {
      "level": "detailed",
      "examples": true,
      "alternatives": 3
    }
  }
}

Switch Mode

{
  "switch": {
    "intervals": {
      "default": "10m",
      "minimum": "5m",
      "maximum": "30m"
    },
    "handoff": {
      "summary": true,
      "context": true,
      "nextSteps": true
    }
  }
}

Quality Thresholds

{
  "thresholds": {
    "verification": {
      "error": 0.90,
      "warning": 0.95,
      "success": 0.98
    },
    "coverage": {
      "error": 70,
      "warning": 80,
      "success": 90
    },
    "complexity": {
      "error": 15,
      "warning": 10,
      "success": 5
    }
  }
}

Language-Specific Settings

JavaScript/TypeScript

{
  "languages": {
    "javascript": {
      "framework": "react",
      "linter": "eslint",
      "formatter": "prettier",
Read more
Ships withagentic-flow

Production-ready AI agent orchestration with 66 self-learning agents, 213 MCP tools, and autonomous multi-agent swarms.

Get the whole plugin