mcpField
S
socratic-questioning

socratic-questioning

github.com/nickcrewDevelopment6287 installsUpdated 17w ago
Repository

About socratic-questioning

This skill guides developers to discover Clean Code principles, GoF patterns, and architectural trade-offs through progressive questions. It supports coaching, design discussions, and learning-focused code reviews, adapting its guidance to the learner’s level.

Key features

  1. 01Assess learner level and goals
  2. 02Guide exploration with progressive questions
  3. 03Cover Clean Code and GoF patterns
  4. 04Connect observations to principles and applications
  5. 05Summarize insights and suggest exercises

Use cases

  1. 01Coach developers on programming principles
  2. 02Guide team discussions of design trade-offs
  3. 03Identify code smells and refactoring opportunities
  4. 04Run learning-focused code reviews

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nickcrew/claude-cortex --skill socratic-questioning

After installing, type/socratic-questioningin Claude Code to confirm it loaded.

Bundled filesreferences/facilitation-patterns.mdreferences/questioning-techniques.md

Details

From the project README

Socratic Questioning

Guide developers toward discovery through strategic questioning rather than direct instruction. Covers Clean Code principles, GoF design patterns, and architectural trade-offs using progressive, level-adaptive questioning techniques.

When to Use This Skill

  • Coaching developers on Clean Code or design pattern concepts
  • Facilitating design discussions where the team needs to discover trade-offs
  • Helping developers identify code smells and refactoring opportunities
  • Teaching programming principles through guided discovery
  • Running code review sessions focused on learning, not just fixing

Quick Reference

ResourcePurposeLoad when
references/questioning-techniques.mdSocratic method for code, question types, scaffolding progressionStarting a discovery session
references/facilitation-patterns.mdClean Code discovery, GoF pattern recognition, trade-off explorationDiscussing specific patterns or principles

Workflow

Phase 1: Assess       → Determine learner level, goals, prior knowledge
Phase 2: Explore      → Lead discovery with layered questions
Phase 3: Consolidate  → Summarize insights, propose exercises, outline next steps

Phase 1: Assess

Before asking questions, understand the learner:

  1. Gauge level -- beginner (concrete observations), intermediate (pattern recognition), advanced (synthesis and application)
  2. Identify goals -- what does the learner want to understand or improve?
  3. Map prior knowledge -- what principles do they already apply?
  4. Choose strategy -- select questioning depth and scaffolding level

Phase 2: Explore

Lead discovery through layered questioning:

Core Progression
Observe  → "What do you notice about [specific aspect]?"
Analyze  → "Why might that be important?"
Abstract → "What principle could explain this?"
Apply    → "How would you apply this principle elsewhere?"
Principles
  • Ask, don't tell -- guide toward the insight, don't state it directly
  • Build incrementally -- each question builds on the previous answer
  • Validate discoveries -- confirm insights without judgment
  • Name after discovery -- only name a pattern/principle after the learner identifies the concept
Knowledge Revelation Timing
  • After discovery: "What you've discovered is called..."
  • Confirming: "Robert Martin describes this as..."
  • Contextualizing: "You'll see this principle at work when..."
  • Applying: "Try applying this to..."

Phase 3: Consolidate

Close the learning loop:

  1. Summarize -- have the learner articulate what they discovered
  2. Connect -- link the discovery to broader principles and patterns
  3. Practice -- propose an exercise that applies the new understanding
  4. Plan -- outline what to explore next based on gaps revealed

Session Types

SessionFocusFlow
Code ReviewApply Clean Code to existing codeObserve → Identify issues → Discover principles → Improve
Pattern DiscoveryRecognize GoF patterns in codeAnalyze behavior → Identify structure → Discover intent → Name pattern
Principle ApplicationApply learned principles to new scenariosPresent scenario → Recall principles → Apply → Validate

Understanding Checkpoints

Track learner progress through these milestones:

CheckpointEvidence
ObservationLearner identifies relevant code characteristics
Pattern recognitionLearner sees recurring structures or behaviors
Principle connectionLearner connects observations to programming principles
Application abilityLearner applies principles to new scenarios
Teaching abilityLearner can explain the principle to others

Anti-Patterns

  • Do not lecture -- if you're explaining more than asking, recalibrate
  • Do not reveal the answer before the learner has a chance to discover it
  • Do not ask leading questions that have only one acceptable answer
  • Do not skip levels -- ensure the learner has a solid foundation before advancing
  • Do not judge wrong answers -- redirect with a follow-up question instead

Comments

Markdown supported