Pair Programming

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

11|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/ishandutta2007/claude-agent-orchestration --skill pair-programming-ishandutta2007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Pair Programming
Source: https://github.com/ishandutta2007/claude-agent-orchestration/tree/main/.claude/skills/pair-programming
Command: npx skills add https://github.com/ishandutta2007/claude-agent-orchestration --skill pair-programming-ishandutta2007

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Working alone on code often means slower debugging, missed defects, and no second opinion on design decisions. This Skill provides a structured AI pair programming partner that manages driver/navigator roles, continuously reviews code, runs tests, and enforces quality thresholds throughout a development session. ## 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, security scanning, performance analysis, and coverage enforcement. - Session Management: Auto-save, recovery, history, export, background sessions, and reusable profiles for recurring workflows. - Use Case: Start a TDD session to build a shopping cart feature where the AI writes failing tests, you implement the minimal code, and the pair refactors together while coverage and truth scores are tracked on every commit. ## Quick Start Start a pair programming session in switch mode with verification enabled by asking the AI to run claude-flow pair --start --mode switch --verify.

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 style, AI partner, and quality enforcement.

What is the difference between driver and navigator mode?

In driver mode you write the code while the AI gives strategic guidance and reviews. In navigator mode the AI writes the implementation while you provide direction and architectural decisions. Switch mode alternates roles at set intervals.

Does pair programming support test-driven development?

Yes, TDD mode follows the red-green-refactor cycle: the AI generates failing tests first, you implement minimal code to pass, then refactor together. Use --test-first and --coverage flags to enforce coverage minimums.

What is the truth score in pair programming sessions?

The truth score is a quality metric from 0 to 1 computed during verification. Scores below 0.90 are errors, 0.95-0.98 is good, and above 0.98 is excellent. With auto-rollback enabled, commits failing the threshold are blocked.

Can I recover a disconnected pair programming session?

Yes, sessions auto-save at configurable intervals. Use claude-flow pair --recover to restore a disconnected session, or --load with a session ID to resume a previously saved session.

How do I configure default pair programming settings?

Create a .claude-flow/pair-config.json file defining modes, verification thresholds, testing frameworks, and AI agent preferences. You can also use claude-flow pair config set or save reusable profiles with pair profile create.