Solution explainer
Skill a5c-ai/babysitter/library/specializations/algorithms-optimization/skills/solution-explainer
Generate clear explanations of algorithm solutionsFrom its SKILL.md
npx -y skills add a5c-ai/babysitter --skill solution-explainerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
2.0 KB, 428 tokens by cl100k_base, as published. Nobody here has run it
Solution Explainer Skill
Purpose
Generate clear, educational explanations of algorithm solutions suitable for interviews, learning, and documentation.
Capabilities
- Step-by-step solution walkthrough
- Time/space complexity explanation
- Alternative approach comparison
- Common mistake highlights
- Visual aids generation
- Interview-style explanation formatting
Target Processes
- interview-problem-explanation
- leetcode-problem-solving
- mock-coding-interview
- algorithm-implementation
Explanation Framework
- Problem Understanding: Restate the problem clearly
- Approach Overview: High-level strategy
- Algorithm Details: Step-by-step breakdown
- Complexity Analysis: Time and space with justification
- Code Walkthrough: Annotated implementation
- Edge Cases: Special scenarios handled
- Alternatives: Other valid approaches
Input Schema
{
"type": "object",
"properties": {
"problem": { "type": "string" },
"solution": { "type": "string" },
"language": { "type": "string" },
"depth": {
"type": "string",
"enum": ["brief", "standard", "detailed"]
},
"includeVisuals": { "type": "boolean", "default": false },
"interviewStyle": { "type": "boolean", "default": false }
},
"required": ["problem", "solution"]
}
Output Schema
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"explanation": { "type": "string" },
"complexity": { "type": "object" },
"commonMistakes": { "type": "array" },
"alternatives": { "type": "array" },
"visuals": { "type": "array" }
},
"required": ["success", "explanation"]
}
What ships with it: 1 file
670 B alongside SKILL.md
- README.md670 B