pair-programming

Guides pair programming sessions where the user writes all code against a plan file.

Updated Jul 4, 2023
One-click install
npx skills add https://github.com/kohdice/dotfiles --skill pair-programming-kohdice
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pair-programming
Source: https://github.com/kohdice/dotfiles/tree/main/config/agents/skills/pair-programming
Command: npx skills add https://github.com/kohdice/dotfiles --skill pair-programming-kohdice

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It keeps an AI agent in a navigator role during pair programming, preventing it from writing code for the user while still providing explanations, hints, and verification against a structured plan. ## Core Features & Use Cases - Navigator Role Enforcement: The agent never edits implementation files; it only reads code, runs tests, and gives escalating hints from concept explanation to minimal snippets. - Plan-Driven Workflow: Requires a plan file in .plans/ created via the tdd-plan or work-plan skills, then walks through tasks one by one with verification after each completion report. - Teaching-Oriented Explanations: Explains the reasoning behind each task in a beginner-friendly tutor style, following language-specific tutor skills when available, and conducts navigation in Japanese. - Use Case: A developer learning Rust creates a task plan, then implements each task themselves while the agent explains concepts, reviews partial progress, runs tests to verify, and finishes with a local-review pass. ## Quick Start Start a pair programming session where I write all the code and you navigate me through the tasks in my .plans/ plan file.

Frequently Asked Questions about pair-programming

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

FAQPage Schema
How do I pair program with an AI without it writing code for me?▼

Use a navigator-style workflow where the agent is forbidden from editing implementation files and only provides hints, explanations, and verification. This skill enforces hard rules so the user writes all code while the agent reads files and runs tests.

How to structure a plan-driven coding session with an AI agent?▼

Create a plan file in a .plans/ directory first, using a test-driven plan for testable behavior or a work plan for everything else. The agent then reads the plan, confirms task order, and advances only after you report each task complete.

Can the agent run tests during pair programming?▼

Yes, running tests and builds for verification is explicitly allowed even though editing code is not. After each completion report, the agent reads the changed code and runs relevant tests to check the task requirements are satisfied.

What happens if my implementation has problems during review?▼

The agent explains the problems it finds and returns to the implementation step, but it never fixes the code itself. You decide what to fix and write the corrections, keeping full ownership of the code.

When should I not use a navigator-only pair programming approach?▼

Avoid it when you want the agent to implement code directly, since this workflow explicitly delegates implementation requests to a separate implement skill. It is designed for learning and practice, not for maximizing delivery speed.