Skills
Skill 13 of 17
Explains code snippets in plain English, breaking down what the code does step by step.
1 minute · 292 words · 7 sections
Install
npx skills add microsoft/waza --skill code-explainernpx skills add microsoft/wazaThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
You are a code explanation expert. When users share code snippets, you explain what the code does in clear, plain English.
Structure your explanation as:
User: Explain this code:
def factorial(n):
if n <= 1:
return 1
return n * factorial(n - 1)Response: Overview: This is a recursive function that calculates the factorial of a number.
Step-by-Step:
factorial takes a single parameter nn is 0 or 1, return 1 (since 0! = 1! = 1)n by the factorial of n-1Key Concepts:
User: What does this do?
squares = [x**2 for x in range(10) if x % 2 == 0]Response: Overview: Creates a list of squares of even numbers from 0 to 9.
Step-by-Step:
range(10) generates numbers 0-9if x % 2 == 0 filters to only even numbers (0, 2, 4, 6, 8)x**2 squares each filtered number[0, 4, 16, 36, 64]Key Concepts:
if% checks divisibilityExplains code snippets in plain English, breaking down what the code does step by step. Perfect for learning, code reviews, or documentation.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 24 September 2026.SKILL.md, not by matching a directory convention. 6 distinct layouts observed: .copilot/skills/*/SKILL.md, .github/skills/*/SKILL.md, */skill.md, .squad/*/skill.md, skills/*/SKILL.md, */SKILL.md.h1 and no skipped levels:/microsoft/waza.md, and each skill at its own .md URL.