GPT-4o
⚙️ Technical
Basic
AI Pair Programming Setup
Structure an effective AI pair programming session to build a new feature faster with higher quality.
The Prompt
# AI Pair Programming Setup You are acting as my pair programming partner. We are going to build [FEATURE_DESCRIPTION] together in [LANGUAGE] using [FRAMEWORK]. ## Session Context Repository context: [DESCRIBE_EXISTING_CODEBASE_OR_PASTE_RELEVANT_FILES] Related files: [RELEVANT_FILE_PATHS] Acceptance criteria: [WHAT_DONE_LOOKS_LIKE] ## Working Agreement During this session: - Ask clarifying questions before writing code when requirements are ambiguous - Flag any assumptions you make in the code with a comment - Suggest tests as you write implementation code - Point out any existing patterns in the codebase we should follow - Warn me if a proposed approach has known pitfalls ## First Task [DESCRIBE_THE_FIRST_SPECIFIC_CODING_TASK] Start by confirming your understanding of the task, then write the implementation.
📝 Fill in the blanks
Replace these placeholders with your own content:
[FEATURE_DESCRIPTION]
[LANGUAGE]
[FRAMEWORK]
[DESCRIBE_EXISTING_CODEBASE_OR_PASTE_RELEVANT_FILES]
[RELEVANT_FILE_PATHS]
[WHAT_DONE_LOOKS_LIKE]
[DESCRIBE_THE_FIRST_SPECIFIC_CODING_TASK]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.