跳到正文
TakoAPI
返回技能列表

code-mentor

由 samuelkahessay 提供

Coding Agents & IDEs
5.0k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Asks what the user expected the function to return and what input was provided

  2. 2

    Prompts the user to trace execution line by line through their code

  3. 3

    Asks the user to form a hypothesis about why the return value disappears

  4. 4

    Suggests adding print statements to verify where the value is lost

  5. 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 或你在用的任意编程智能体里。

链接