Pair Programming

Runs AI-assisted pair programming sessions with role switching, verification, and testing.

1|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/KentwareDemo/RuView --skill pair-programming-kentwaredemo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Pair Programming
Source: https://github.com/KentwareDemo/RuView/tree/main/.claude/skills/pair-programming
Command: npx skills add https://github.com/KentwareDemo/RuView --skill pair-programming-kentwaredemo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires claude-flow.

What problem does it solve? Collaborative coding sessions often lack structure, consistent code review, and enforced quality gates, leading to bugs, missed tests, and inconsistent standards. This Skill orchestrates structured pair programming sessions with an AI partner, managing driver/navigator roles, continuous verification, and integrated testing. ## Core Features & Use Cases - Multiple Collaboration Modes: Driver, Navigator, Switch, TDD, Review, Mentor, and Debug modes with automatic role switching at configurable intervals. - Real-Time Verification: Truth-score quality checks with automatic rollback on failures, plus security scanning and performance analysis. - Testing Integration: Auto-generate unit, integration, and e2e tests, track coverage thresholds, and run continuous test watching. - Use Case: A developer fixing a memory leak starts a debug session with the debugger-expert agent, profiles memory usage, identifies unremoved event listeners, implements cleanup code, and commits only after the truth score passes the 0.95 threshold. ## Quick Start Start a pair programming session in TDD mode with test-first enabled and a 90 percent coverage target.

Frequently Asked Questions about Pair Programming

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start an AI pair programming session?

Run claude-flow pair --start to begin a basic session. Add flags like --mode tdd, --agent senior-dev, or --verify to customize the collaboration mode, AI partner, and quality verification level.

What is the difference between driver and navigator mode?

In driver mode you write code while the AI provides guidance and review. In navigator mode the AI writes implementation code while you provide high-level direction and architectural decisions.

How does automatic role switching work in pair programming?

Switch mode alternates driver and navigator roles at configurable intervals, defaulting to 10 minutes. A 30-second warning precedes each handoff, and a context summary is generated so the new driver continues smoothly.

What is the truth score threshold in code verification?

The truth score measures code quality on each change, with 0.95 as a common threshold. Scores below 0.90 are errors, 0.95-0.98 is good, and above 0.98 is excellent; failed checks can trigger automatic rollback.

Can I save and resume a pair programming session?

Yes, sessions support auto-save at configurable intervals and manual save with claude-flow pair --save. You can reload with --load, export sessions to JSON or Markdown, and recover disconnected sessions with --recover.

Why won't my pair programming session start?

Check that the claude-flow CLI is installed, the agent is available, and the configuration JSON is valid. Also ensure a clean workspace and review log files for specific errors.