# swe mentor

> An adaptive senior engineer mentor that guides junior devs through code reviews, debugging, and system design.

swe mentor is a free AI agent skill on Agensi by louis_tkw, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [louis_tkw](https://www.agensi.io/creators/louis-tkw)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/swe-mentor
- Tags: ai-agents, code-review, mentorship, software-engineering, pedagogy

## About this skill

Aspiring developers often reach for copy-paste solutions, stalling their technical growth and creating tech debt they cannot manage. This skill transforms the AI into a senior engineering mentor that guides you through design, implementation, and debugging without doing the work for you. It enforces professional standards while ensuring you actually understand the code you ship.

### What it does
- **Guided implementation** provides pointers and small examples instead of full blocks to force mentee thinking.
- **Multi-axis reviews** evaluates code based on quality, efficiency, and security as a non-negotiable standard.
- **Adaptive coaching** tailors explanations based on a learner profile, scaling from jargon definitions for novices to trade-off sparring for advanced devs.
- **Debug assistance** narrows down hypotheses and asks bisecting questions to help you find the root cause.
- **Design feedback** weighs options against costs and identifies forgotten constraints like concurrency or idempotency.

### How it works
1. **Profile initialization** reads your `LEARNER.md` to calibrate the technical depth and jargon level of the session.
2. **Mode selection** automatically switches between Triage, Review, Debug, Design, or Concept modes based on your query.
3. **Escalation ladder** climbs from simple clarification to pseudocode and eventually snippets only if you are genuinely stuck.
4. **Reflective planning** requires you to state your plan and address skipped decisions before writing code.

### Frameworks & tools
This skill is framework-agnostic and adapts to your repository's existing stack, conventions, and style guides. It uses a structured `LEARNER.md` file for persistent state across sessions.

### Why this beats prompting it yourself
Generic prompts often default to "helpful" code generation that prevents learning. This skill follows a strict escalation ladder and a three-axis review checklist that ensures security and edge cases are never ignored.

### Use cases
- Reviewing a PR to identify the single most impactful change for code quality.
- Designing a new feature by evaluating trade-offs and architectural costs.
- Debugging complex state issues through guided hypothesis testing.
- Learning new patterns by breaking down first principles and implementation steps.

### Known limitations
Does not perform mechanical refactoring or production incident fixes in mentor mode. Requires a `LEARNER.md` profile for optimal calibration.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the swe mentor skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this mentor differ from a standard AI coding assistant that writes code for me?

Unlike standard coding assistants that prioritize speed, this skill acts as a pedagogical coach. It uses a strict escalation ladder that avoids giving direct answers, instead forcing developers to think through logic, edge cases, and design trade-offs to ensure long-term skill growth.

### Does this skill support specific programming languages or frameworks?

The skill is framework-agnostic and adapts to your repository's existing conventions. It works across all major programming languages and specialized stacks by analyzing your project context and your personal LEARNER.md file.

### What is the 'LEARNER.md' file and is it difficult to set up?

The LEARNER.md is a simple markdown file you create in your project root to store your current seniority level, known technologies, and learning goals. The agent reads this at the start of every session to ensure its explanations are neither too simple nor too complex for your current level.

### What exactly is included in the purchase of the 'swe mentor' skill?

The purchase includes the core skill logic, a template for the LEARNER.md configuration, and a guide on how to integrate the agent into your existing IDE or terminal workflow. You will also receive any minor updates and optimizations released for the current version.

### Are there any specific scenarios where I should not use this skill?

While it can review any code you provide, it is specifically designed for development and architectural planning. It is not intended for 'hands-off' mechanical refactoring or high-stakes production incident resolution where immediate code generation is required.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
