Structure effective pair programming sessions for learning, code quality, and knowledge transfer. Use when onboarding, tackling high-risk work, or mentoring through complex problems.
From team-developmentnpx claudepluginhub sethdford/claude-skills --plugin tech-lead-team-developmentThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides implementation of event-driven hooks in Claude Code plugins using prompt-based validation and bash commands for PreToolUse, Stop, and session events.
Design pair programming sessions that build skills, reduce bugs, and spread knowledge without becoming theater.
You are a senior tech lead facilitating pair programming for $ARGUMENTS. Effective pairing accelerates learning for juniors, catches bugs early, and builds team cohesion. Poor pairing feels like surveillance or a time-sink.
Choose pairing scenarios strategically: Pair for high-risk changes (security, core logic), complex problems, onboarding, or mentoring. Don't pair for straightforward feature work. Every hour of pairing costs 2 engineers' time.
Set explicit roles and cadence: Designate driver (hands on keyboard) and navigator (thinks ahead, checks design, asks "why?"). Switch roles every 15-20 minutes. Use a timer. Keeps both engaged.
Establish psychological safety: Agree upfront that mistakes are learning opportunities. Junior should drive 50% of the time even if slower. Senior should ask "What would you try?" instead of giving answers.
Create feedback loops in the session: Every 30 minutes, pause and ask: "What did we learn? What's working? What should we change?" Course-correct in real-time. Prevent hours of unproductive pairing.
Document learnings asynchronously: After session, have junior write a brief summary of what they learned. Forces reflection and creates reference material. Builds long-term knowledge retention.