What is it?
A collaborative review process for Pull Requests (PRs) that encourages reviewers to ask open ended questions instead of pointing our flaws or giving orders.
Why is it beneficial?
Traditional code reviews can:
Make people defensive
Slow down communication
Overlook the reasons behind the codeās design
Socratic Questioning works because it:
Encourages Ownership: Guiding devs to find the best solutions on their own builds their confidence and encourages independence.
Reveals Blind Spots: Helps developers identify overlooked edge cases, security issues, and hidden assumptions.
Reduces Friction: Questions feel collaborative, whereas direct commands can feel adversarial or critical.
Builds Future Skills: Helps the engineer identify similar potential issues the next time they code.
Who participates?
Junior Developers:
Review the Pre-Flight Checklist to correct obvious bugs before submitting PR.
Team Leads:
Use Socratic Questioning to guide Junior Devs in identifying and resolving any remaining logic errors.
How to?
When reviewing Pull Requests, follow these 3 steps to help the Junior Developer resolve any issues.
Step 1: Ask- Diagnose with Clarifying and Edge Case Questions
Ask open-ended, clarifying questions
Ask edge-case questions
Is the issue a typo?
Is there a true knowledge gap or misunderstanding you need to address?
Step 2: Align- Co-Create a Fix with Trade-off Questions (I Do, We Do)
Ask questions to explore trade-offs
Sketch out high-level ideas & system boundaries
Work together to create pseudocode
Verify structural logic together
Step 3: Assign- Independent Practice & Workflow Reflection (You Do)
Assign final execution to developer
Ask workflow reflection questions to help build long-term engineering habits