code-mentor
بواسطة samuelkahessay
Coding Agents & IDEsموجز
Comprehensive AI programming tutor for all levels.
الوصف
ما الذي تفعله هذه المهارة
An AI programming tutor that operates in 8 teaching modes: concept learning, code review, Socratic debugging, algorithm practice, project architecture, design patterns, interview prep, and language learning. Adapts pacing and question style to beginner, intermediate, and advanced levels. Officially supports Python and JavaScript.
The Socratic debugging mode refuses to point directly at bugs, instead guiding users to discover issues themselves, which builds more durable problem-solving habits than reading static explanations.
متى تستخدمها
- Debugging a function that keeps returning None
- Practicing algorithm problems before a technical interview
- Getting code reviewed before submitting a pull request
- Learning JavaScript with existing Python knowledge
- Designing architecture for a new side project
مثال على سير العمل
User asks: My Python function returns None instead of the sum — help me debug it
- 1
Asks what the user expected the function to return and what input was provided
- 2
Prompts the user to trace execution line by line through their code
- 3
Asks the user to form a hypothesis about why the return value disappears
- 4
Suggests adding print statements to verify where the value is lost
- 5
Guides the user to identify the missing return statement without stating it directly
User discovers and fixes the missing return statement on their own
التثبيت
clawhub install samuelkahessay/code-mentorشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.