LaunchKit · 2026
Back to Skills

code-mentor

Comprehensive AI programming tutor for all levels.

2
5.0k downloads
by @samuelkahessay

Setup & Installation

openclaw skills install @samuelkahessay/code-mentor

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install code-mentor

Version History

v1.0.2Jan 31, 2026 - Version note by skill developer:

- Updated metadata: author and version information revised, new license and compatibility sections added. - Language support now explicitly limited to Python and JavaScript. - Added a .DS_Store file (no functionality change). - No core skill logic or documentation content updated beyond metadata adjustments.

What This Skill Does

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.

When to use it

  • 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

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: My Python function returns None instead of the sum — help me debug it

AGENT
  1. 1Asks what the user expected the function to return and what input was provided
  2. 2Prompts the user to trace execution line by line through their code
  3. 3Asks the user to form a hypothesis about why the return value disappears
  4. 4Suggests adding print statements to verify where the value is lost
  5. 5Guides the user to identify the missing return statement without stating it directly
OUTPUT

User discovers and fixes the missing return statement on their own