agentsclimarketplace

Explain

Skill weicheng95/skills-hub/skills/explain

Explain code, systems, concepts, or design decisions at an adjustable depth — a function, a file, a module, a data flow, an algorithm, an error, or a general technical concept. Use whenever the user explicitly asks to understand rather than change something: "explain this", "walk me through X", "how does X work", "what does this function do", "why is it built this way", "ELI5 this", "help me understand the auth flow", or an `explain` with a file path, symbol, line range, or `--simple` / `--deep` / `--learn` flag. Also fires when the ask is comprehension dressed as a question about the codebase ("what talks to what here", "where does the request go after the router"). Not for making changes, reviewing, debugging to a fix, or summarizing a diff — those are different jobs that happen to involve reading code.From its SKILL.md

Install
npx -y skills add weicheng95/skills-hub --skill explain

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.4 KB, as published. Nobody here has run it

Explain

The user wants to understand something, not change it. Give them the answer in the first two sentences — no preamble — then go only as deep as the depth level below calls for. Someone who gets it after the first line should be able to stop there.

Depth levels

Depth is the main dial. Read it from the flags and phrasing; the size of the response should differ visibly between levels.

SignalDepthWhat that means
--simple, "ELI5", "quick version", "I'm new to this"SimpleThe answer plus at most one analogy. No code walkthrough, no section headers, under ~200 words. Trust the brevity — a reader who wants more will ask.
Default — a plain "explain X"StandardAnswer, then how it actually works (with real names: file.ts:42, the actual function), then the one thing that would bite them. Usually under a screen.
--deep, "walk me through", "why is it built this way"DeepStandard plus design decisions, alternatives passed over, edge cases, and a short "where to look next" list of the files that matter.

--learn is orthogonal to depth: teach the transferable idea, not just this instance — name the pattern, say where else they'll meet it. Without it, stay on the concrete thing they asked about.

When in doubt, go one notch lighter than you're tempted to. Sections that would be empty don't get a header; a three-sentence answer with no headers is a fine explanation of a small thing.

Scope the verification to the depth

Ground claims in the actual code, but match the digging to the level: Simple and Standard need the relevant file(s) read, not a research project. Save call-site greps, test reading, and git log -S archaeology for Deep or for "why" questions — don't spin up probes and experiments to answer a walkthrough. When you hit something you can't determine, name the gap precisely instead of guessing; that's part of the answer, not a failure of it. The same goes for behavior you infer but didn't confirm — how a tool's internals work, what a loader accepts: mark it as inference ("my read is…"), never state it as fact.

If the thing has shape — a flow, a hierarchy, a sequence across actors — a small diagram beats paragraphs (the ascii-diagram skill covers how).

What this isn't

Explaining is not the first half of fixing. Don't append an unrequested refactor plan or a list of improvements. If you spot something genuinely alarming while reading (a real bug, a security hole), one line at the end — then let them decide.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.