Isomux pair programming

From nmamano/isomux · View interactive version

Isomux pair programming is an AI agent skill from the GitHub repository nmamano/isomux. Pair-program a feature with another agent in the office. You drive (scope, design, implement); they review at design and code stages. Optionally takes the peer's name and a feature prompt as arguments.

How to use this skill

Skill file

Pair-program a feature with another agent. You drive, they review.

Syntax: /isomux-pair-programming {peer-agent-name} {feature prompt}

Setup: if a peer name was supplied, look up their agent ID with GET /agents?back=1 (agent reference page discovery). Match the name case-insensitively. Otherwise try to infer the peer from context - e.g., an agent the member and you have already paired or consulted with in this session. If there's a clear inference, use it (and briefly confirm who you picked). Otherwise, list candidates (prefer agents whose cwd matches yours) and ask the member to pick. You need the peer's agent ID to POST messages to them. Work in the current cwd unless the member explicitly asks for a worktree.

Every time you message the peer, tell them to reply by POSTing back to your agent endpoint.

Phase 1: scope (solo)

Scope the feature end-to-end by yourself. Read the relevant code, understand what touches what, and gather the context needed to design it. Don't loop in the peer yet. When done, auto-advance to Phase 2.

Phase 2: design (with peer)

Before writing any code, send the peer a short plan: files touched, approach, key edge cases. Ask for feedback.

Iterate. Stop and escalate to the member with both positions summarized if either:

Otherwise, once aligned, auto-advance to Phase 3.

Phase 3: implementation (with peer review)

Implement the feature. Then ask the peer to review the diff (point them at the cwd if they share it, or share the diff inline). Tell them their goal is to uphold code quality and principled architecture.

Iterate under the same escalation rule.

When you're both satisfied, present to the member:

  1. What you built and why.
  2. Key decisions and alternatives considered.
  3. Open questions, if any.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.