GitLab Well Architected
Cookbook navigation
Prompts / AI Pairing Partner for Exploring Approaches

AI Pairing Partner for Exploring Approaches

CollaborationBrainstormingDeveloperCreateBeginner

Think through approaches collaboratively. Get challenged on tradeoffs and edge cases you might miss.

For GitLab Duo

prompt

I'm weighing pros and cons of different approaches for [FEATURE/PROBLEM].

Approach A: [DESCRIBE FIRST APPROACH]
Approach B: [DESCRIBE SECOND APPROACH]

Please help me think through:
1. What edge cases am I missing for each approach?
2. What are the tradeoffs of each approach?
3. Which approach scales better?
4. Performance implications of each?
5. Testing complexity differences?

Use the prompt

You can start the conversation in GitLab Duo Chat by replacing the placeholders with your problem and the two approaches you're considering. A little context—such as the code you're changing or a constraint you can't relax—helps Duo weigh the options against what matters to you.