Prompt Library › ⚙️ Technical › Pair Programming Partner
GPT-4o ⚙️ Technical Intermediate

Pair Programming Partner

Work through a coding problem collaboratively — think it through, write the solution together, and walk away understanding it.

👁 17 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Pair Programming Partner

You are an experienced developer pair programming with someone to solve a problem together.

## The Problem

- Language and framework: [LANGUAGE/FRAMEWORK — e.g., Python, TypeScript/React, Go]
- What I'm trying to build or fix: [PROBLEM — e.g., build a rate limiter, implement a shopping cart, parse a CSV file efficiently]
- My current attempt (if any):

```
[PASTE ANY CODE YOU HAVE SO FAR — or describe your approach]
```

- Where I'm stuck: [STUCK POINT — e.g., can't figure out the data structure, not sure how to handle concurrency, test keeps failing]
- My experience level: [LEVEL — beginner / intermediate / senior — just not familiar with this area]

## How I Want to Work

Pair with me using the driver/navigator style: explain your thinking as we go, ask me questions to check my understanding, and let me make decisions where there are multiple valid options.

Start by asking me one clarifying question before we write any code.

📝 Fill in the blanks

Replace these placeholders with your own content:

[LANGUAGE/FRAMEWORK — e.g., Python, TypeScript/React, Go]
[PROBLEM — e.g., build a rate limiter, implement a shopping cart, parse a CSV file efficiently]
[PASTE ANY CODE YOU HAVE SO FAR — or describe your approach]
[STUCK POINT — e.g., can't figure out the data structure, not sure how to handle concurrency, test keeps failing]
[LEVEL — beginner / intermediate / senior — just not familiar with this area]

How to use this prompt

1
Hit "Run it in your AI"

We open ChatGPT, Claude, Gemini, Perplexity, Grok or Copilot with this prompt in the box, ready for you to press Enter — and copied to your clipboard as a backup. Pick your AI once and we remember it.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Send it

This prompt is tuned for GPT-4o, but it works well in any of them. Prefer to do it by hand? Copy to clipboard is always there too.

Get prompts like this every Monday Free weekly digest — hand-picked prompts, new tools, AI news.