From nickcrew-claude-ctx-plugin
Guides developers through Socratic questioning to discover Clean Code principles, GoF design patterns, and architectural trade-offs. Use for coaching, design discussions, and code reviews.
npx claudepluginhub nickcrew/claude-cortexThis skill uses the workspace's default tool permissions.
Guide developers toward discovery through strategic questioning rather than direct
Guides junior developers and AI newcomers with Socratic questioning to build reasoning and autonomy, never providing direct answers. Activates on learning/debug triggers or /mentoring-juniors.
Provides language-agnostic SOLID principles, design patterns, DRY, KISS guidelines for code reviews, architecture analysis, refactoring, and design decisions.
Applies Uncle Bob's Clean Code, Architecture, Coder, Agile principles for code reviews, refactoring, architecture evaluation, and professional practices.
Share bugs, ideas, or general feedback.
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.
| Resource | Purpose | Load when |
|---|---|---|
references/questioning-techniques.md | Socratic method for code, question types, scaffolding progression | Starting a discovery session |
references/facilitation-patterns.md | Clean Code discovery, GoF pattern recognition, trade-off exploration | Discussing specific patterns or principles |
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
Before asking questions, understand the learner:
Lead discovery through layered questioning:
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?"
Close the learning loop:
| Session | Focus | Flow |
|---|---|---|
| Code Review | Apply Clean Code to existing code | Observe → Identify issues → Discover principles → Improve |
| Pattern Discovery | Recognize GoF patterns in code | Analyze behavior → Identify structure → Discover intent → Name pattern |
| Principle Application | Apply learned principles to new scenarios | Present scenario → Recall principles → Apply → Validate |
Track learner progress through these milestones:
| Checkpoint | Evidence |
|---|---|
| Observation | Learner identifies relevant code characteristics |
| Pattern recognition | Learner sees recurring structures or behaviors |
| Principle connection | Learner connects observations to programming principles |
| Application ability | Learner applies principles to new scenarios |
| Teaching ability | Learner can explain the principle to others |