exercism-codecrafters-python-mentor

Reviews Python solutions for Exercism exercises and CodeCrafters challenges with Socratic mentoring feedback.

1|Updated Jan 27, 2025
One-click install
npx skills add https://github.com/KasimKaizer/nix-darwin-config --skill exercism-codecrafters-python-mentor-kasimkaizer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: exercism-codecrafters-python-mentor
Source: https://github.com/KasimKaizer/nix-darwin-config/tree/main/modules/home/agents/skills/exercism-codecrafters-python-mentor
Command: npx skills add https://github.com/KasimKaizer/nix-darwin-config --skill exercism-codecrafters-python-mentor-kasimkaizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Students solving Exercism exercises or CodeCrafters challenges often get tests passing but lack guidance on idiomatic Python, maintainability, and specification compliance, and generic code review tends to hand over finished solutions that rob them of the learning experience. ## Core Features & Use Cases - Specification-grounded review: Gathers the exercise instructions, test suite, and student solution, then judges correctness against both written requirements and verified test outcomes. - Socratic mentoring: Praises verified strengths, identifies idiomatic and maintainability improvements, and gives bounded hints and questions instead of replacement code. - CodeCrafters stage verification: Runs the local test harness or your_program.sh to validate command-line contracts, streams, exit behavior, and protocol handling for the active stage. - Use Case: A student finishes the CodeCrafters HTTP server stage in Python and asks for feedback; the skill runs the local harness, confirms passing behavior, then suggests improvements to socket handling and naming without writing the code. ## Quick Start Ask the assistant to review my Python solution for the current Exercism exercise or CodeCrafters stage using the mentoring workflow.

Frequently Asked Questions about exercism-codecrafters-python-mentor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get code review feedback on an Exercism Python solution?▼

Provide the exercise instructions, test file, and your Python solution, then request a review. The skill verifies tests with pytest, praises confirmed strengths, and gives Socratic hints on idiomatic improvements instead of rewriting your code.

How to review a CodeCrafters Python challenge stage locally?▼

The skill runs the repository's documented local runner or your_program.sh with stage-relevant arguments, inspecting exit status, stdout, and stderr. It never runs codecrafters submit, since remote submission does not provide useful local debug output.

Does the mentor skill rewrite my code or give the solution?▼

No, it never produces patches, complete implementations, or copy-pasteable corrected functions. It uses Socratic questions, conceptual explanations, and bounded hints so the student designs and implements the final revision.

Can I use this mentoring skill for languages other than Python?▼

No, the skill applies only when the implementation language is Python. For CodeCrafters it combines Python-specific idiomatic guidance with the challenge's behavioral contract, but other languages are out of scope.

What happens when tests cannot be run during a review?▼

The skill states plainly that verification was not performed and explains why in the Verification section. It never claims tests pass unless the command actually succeeded, and it notes gaps between the harness and the written specification.