Pair Programming
What it does
This skill lets the AI work with you like a pair programmer, switching roles and reviewing code as you go. It is for developers who want a second set of eyes while building or learning.
When to use it
- ✓When you want a partner to check your code as you write it.
- ✓When you are learning a new codebase and want step-by-step guidance.
- ✓When you want to build a feature with test-first development.
Skill link
https://github.com/ruvnet/RuView/blob/main/.claude/skills/pair-programming/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Let's pair on this feature. You take the navigator role and review each change I make.”
5 new skills a week. 1 minute to read.
How it works
The AI takes one role, such as driver who writes code or navigator who reviews it, and switches between them. It checks the work for quality and security as the session goes on.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Pair Programming
Collaborative AI pair programming with intelligent role management, real-time quality monitoring, and comprehensive development workflows.
What This Skill Does
This skill provides professional pair programming capabilities with AI assistance, supporting multiple collaboration modes, continuous verification, and integrated testing. It manages driver/navigator roles, performs real-time code review, tracks quality metrics, and ensures high standards through truth-score verification.
Key Capabilities:
- Multiple Modes: Driver, Navigator, Switch, TDD, Review, Mentor, Debug
- Real-Time Verification: Automatic quality scoring with rollback on failures
- Role Management: Seamless switching between driver/navigator roles
- Testing Integration: Auto-generate tests, track coverage, continuous testing
- Code Review: Security scanning, performance analysis, best practice enforcement
- Session Persistence: Auto-save, recovery, export, and sharing
Prerequisites
Required:
- Claude Flow CLI installed (
npm install -g claude-flow@alpha) - Git repository (optional but recommended)
Recommended:
- Testing framework (Jest, pytest, etc.)
- Linter configured (ESLint, pylint, etc.)
- Code formatter (Prettier, Black, etc.)
Quick Start
Basic Session
# Start simple pair programming
claude-flow pair --start
TDD Session
# Test-driven development
claude-flow pair --start \
--mode tdd \
--test-first \
--coverage 90
Complete Guide
Session Control Commands
Starting Sessions
# Basic start
claude-flow pair --start
# Expert refactoring session
claude-flow pair --start \
--agent senior-dev \
--focus refactor \
--verify \
--threshold 0.98
# Debugging session
claude-flow pair --start \
--agent debugger-expert \
--focus debug \
--review
# Learning session
claude-flow pair --start \
--mode mentor \
--pace slow \
--examples
Session Management
# Check status
claude-flow pair --status
# View history
claude-flow pair --history
# Pause session
/pause [--reason <reason>]
# Resume session
/resume
# End session
claude-flow pair --end [--save] [--report]
Available Modes
Driver Mode
You write code while AI provides guidance.
claude-flow pair --start --mode driver
Your Responsibilities:
- Write actual code
- Implement solutions
- Make immediate decisions
- Handle syntax and structure
AI Navigator:
- Strategic guidance
- Spot potential issues
- Suggest improvements
- Real-time review
- Track overall direction
Best For:
- Learning new patterns
- Implementing familiar features
- Quick iterations
- Hands-on debugging
Commands:
/suggest - Get implementation suggestions
/review - Request code review
/explain - Ask for explanations
/optimize - Request optimization ideas
/patterns - Get pattern recommendations
Navigator Mode
AI writes code while you provide direction.
claude-flow pair --start --mode navigator
Your Responsibilities:
- Provide high-level direction
- Review generated code
- Make architectural decisions
- Ensure business requirements
AI Driver:
- Write implementation code
- Handle syntax details
- Implement your guidance
- Manage boilerplate
- Execute refactoring
Best For:
- Rapid prototyping
- Boilerplate generation
- Learning from AI patterns
- Exploring solutions
Commands:
/implement - Direct implementation
/refactor - Request refactoring
/test - Generate tests
/document - Add documentation
/alternate - See alternative approaches
Switch Mode
Automatically alternates roles at intervals.
# Default 10-minute intervals
claude-flow pair --start --mode switch
# 5-minute intervals (rapid)
claude-flow pair --start --mode switch --interval 5m
# 15-minute intervals (deep focus)
claude-flow pair --start --mode switch --interval 15m
Handoff Process:
- 30-second warning before switch
- Current driver completes thought
- Context summary generated
- Roles swap smoothly
- New driver continues
Best For:
- Balanced collaboration
- Knowledge sharing
- Complex features
- Extended sessions
Specialized Modes
TDD Mode - Test-Driven Development:
claude-flow pair --start \
--mode tdd \
--test-first \
--coverage 100
Workflow: Write failing test → Implement → Refactor → Repeat
Review Mode - Continuou
FAQ
What modes are available?
The skill lists driver, navigator, switch, test-driven, review, mentor and debug modes.
Does it save session progress?
Yes. The skill covers auto-save and session recovery.
What should I have ready first?
The claude-flow tool, and ideally a Git repository and a test framework.
Details
Original description by the author
AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning sessions. Features automatic role switching, continuous code review, security scanning, and performance optimization with truth-score verification.
repo: ruvnet/RuView
Popularity
- GitHub stars
- 102k
- Ranking position
- #835
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
AgentDB Advanced Features
102kShows your agent advanced AgentDB features, such as syncing databases across machines and combining vector search with metadata filters.
AgentDB Learning Plugins
102kLets your agent build and train learning plugins for AgentDB, using reinforcement learning methods that improve from past experience.
AgentDB Memory Patterns
102kLets your agent remember conversations and context across sessions, using AgentDB as its persistent memory store.
AgentDB Performance Optimization
102kShows your agent how to speed up AgentDB searches and reduce memory use, with compression, a fast search index and caching.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.