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运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。