# Run AI Pair Programming Sessions

Developers need structured AI collaboration without losing testing, review, and session context. This skill provides guided modes for coding, debugging, refactoring, and verification.

## Install

```bash
npx skillstore add ruvnet/pair-programming
```

## Metadata

- Status: approved
- Slug: ruvnet-pair-programming
- Skillstore revision: r1
- Version status: missing
- Tree hash: d9f19e20fef660f490158928f4dca79e7be5bbb4b30d1e45978534450b4f4373
- Author: ruvnet
- GitHub username: ruvnet
- License: MIT
- Repository: https://github.com/ruvnet/claude-flow/tree/main/.claude/skills/pair-programming
- Ref: dbe0e719813583400773166a0621f8a9b8185c72
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands
- Quality score: 74
- Public page: https://skillstore.pages.dev/skills/ruvnet-pair-programming
- Manifest: https://skillstore.pages.dev/api/skills/ruvnet-pair-programming/manifest

## Capabilities

- Starts pair programming sessions in driver, navigator, switch, TDD, review, mentor, and debug modes.
- Documents slash commands for suggestions, implementation, testing, review, navigation, Git actions, metrics, and role changes.
- Defines configuration options for verification thresholds, testing, code review, Git behavior, sessions, and AI partner settings.
- Provides templates and examples for features, bugs, TDD, refactoring, performance work, and API development.
- Describes session persistence, background sessions, history, analytics, IDE, Git, and CI integration commands.

## Use Cases

- Guide Feature Development: Use switch mode to alternate implementation and review while building a feature with tests and verification.
- Teach Safer Coding Habits: Use mentor mode for explanations, examples, and paced guidance while learning a codebase or pattern.
- Coordinate Review Workflows: Use review and TDD modes to organize security review, coverage checks, and refactoring before a commit.

## Prompt Templates

### Start a Guided Session

```
Use the pair programming skill in driver mode. Help me define the goal, choose tests, and review each change before continuing.
```

### Plan a TDD Feature

```
Use TDD mode for this feature. First list expected behavior, then propose failing tests, implementation steps, and verification checks.
```

### Debug With Evidence

```
Use debug mode to investigate this issue. Track hypotheses, inspect likely causes, suggest fixes, and verify the result with tests.
```

### Run a Full Review Session

```
Use review mode with security, performance, and maintainability focus. Summarize risks, required fixes, and the final verification status.
```

## Limitations

- Requires the Claude Flow CLI for the documented command workflows.
- Does not include executable implementation files in this skill package.
- Command examples may change files, tests, Git history, or local configuration when used.
- Quality scores depend on project tooling and available test coverage.

## Best Practices

- Start each session with a goal, mode, verification level, and test expectations.
- Review generated changes before running commands that modify files, commits, or configuration.
- Keep verification thresholds realistic for the project and adjust them after test feedback.

## Anti Patterns

- Do not enable auto-commit or background sessions without clear review checkpoints.
- Do not use generated tests as the only proof for security-sensitive behavior.
- Do not run broad refactors without a clean workspace and rollback plan.

## Security Audit

- Audited at: 2026-07-20T03:52:32.342\+00:00
- Summary: All 144 static findings are false positives. The analyzer treated Markdown backticks, fenced examples, and ordinary API documentation as executable shell activity or reconnaissance. No executable code, prompt injection attempt, data-exfiltration intent, or malicious instruction was found in the reviewed skill content.

## Stats

- Views: 221
- Downloads: 13
- Favorites: 0
- Popularity score: 0
