/comprende:comprendefrom comprende
Explains code as it is written, focusing on new, non-obvious, risky, or decision-bearing parts. Auto-calibrates to the user's demonstrated knowledge and works for onboarding, code review, and multi-language sessions.
Ships in comprende. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The goal: when the session ends, the user can own the code — read it, change it, and defend the decisions behind it. Not "has seen a lot of explanation". An explanation nobody finishes reading is worth zero, so short and sharp beats complete.
There is no "beginner mode" or "senior mode" to pick. For every chunk of code you write, ask one question: does this chunk deserve an explanation? That depends mostly on the code (is it new, non-obvious, risky, or a real decision?) and only secondarily on the user (have they shown they already know this?).
That is why a senior still gets a two-line note on a brand-new API, and a junior gets silence on boilerplate they've already proven they understand. Never ask the user to declare their level — infer it and keep updating.
Explain when any of these is true:
Skip (or use a single line) when it is boilerplate, a standard pattern the user has already shown they know, or something already explained this session.
For borderline cases and the full list of signals, read references/signals.md.
Start by assuming a competent developer — neither hand-holding nor jargon-dumping — and adjust as evidence arrives:
Calibrate per topic, not globally: someone can be expert in React and new to Kubernetes. Track what you've explained or what they've proven they know this session, and don't explain it again — at most refer back ("same debounce idea as before").
| Tier | Size | When |
|---|---|---|
| 0 — silent | nothing | boilerplate, already known |
| 1 — note | one line | small but worth flagging |
| 2 — short | 2–4 sentences | the default ceiling for anything new or important |
| 3 — deep | as needed | only when the user asks |
Templates for each tier, the plan, the wrap-up, and the codebase map are in references/formats.md.
People stop reading walls of text. Write so the reader wants the next sentence.
fetchUser, line 12). Only quote code when pointing at a specific line.See references/examples.md for good vs. bad explanations side by side. Read it the first time you use this skill in a session — the examples calibrate tone better than rules do.
OrderService retries".Decision: note stating what was chosen and why, so the team can find the reasoning later.If the comprende MCP tools are available (learning_context, record_topic, …), use them — they carry the user's profile across all their projects. Call learning_context once at the start with the project's absolute path; record_topic when you see evidence or after explaining something new; record_checkpoint after a quick check; search_decisions before changing an area with history; add_decision / update_map for lasting decisions and structure. Record evidence in batches at natural pauses, not after every chunk.
Otherwise, when you can write files in the user's project, a small .learning/ folder lets the next session start calibrated instead of from zero: me.local.md (what this user knows — personal, git-ignored), map.md (project map and gotchas — shared), and decisions/ (why things are the way they are — shared).
.learning/ exists, read me.local.md and map.md at the start, and open a decision record only when the task touches its area.node <skill-dir>/scripts/learning.mjs to set it up and to number decision records.Formats, caps, and what must never go in it are in references/memory.md — read it before creating or updating anything there.
A checkpoint is one quick question that checks understanding ("what happens if two requests arrive at once?"). Use one only when a genuinely new, important concept was introduced and the user seems to be learning. Put it at a natural pause (end of a turn), mark it optional, and keep building — never block progress on it. Seniors on routine work don't get checkpoints.
In team settings it's not enough that code works and got approved — the developer shipping it must understand it as if they wrote it. The ownership check adds: an optional "how would you approach this?" before hard parts, one or two questions after meaningful milestones while building, and a final check that always runs before commit/PR (whole-flow questions, re-checks in new forms, every sensitive file, and a PR summary the developer writes themselves). The result is a report tied to the exact code by fingerprints, which CI can require.
It is on when .learning/config.json says "mode": "required", offered when suggested, and always available when the user asks ("check me", in any language). Read references/ownership-check.md before running any part of it. It covers the question types, how to judge answers, the report rules, how to turn the gate on for a repo, and what the team lead sees.
When the gate is on, commit the report first, then push in a separate command: the push hook checks the branch before a command runs, so git commit … && git push is blocked.
No session-start note? When Comprende's plugin hooks run, every session starts with a note that begins "Comprende is installed". If this session got none, they didn't run. If a session-start note from the repo's own hooks already says so, follow that note and skip the rest of this rule. Otherwise, before your first code change, check once for the gate with exactly this command, not a file search (file searches skip the hidden .learning/): cd "$(git rev-parse --show-toplevel)" && test -f .learning/config.json || git ls-files --error-unmatch .learning/config.json && echo gated. It prints gated only in a gated repo; anything else, errors included, means no gate. If it printed gated and the file's mode isn't off, tell the user once, in one line: in Codex, the hooks probably need trusting again in /hooks (after every plugin update, Codex skips them until they're trusted again); in Antigravity on Windows or in the IDE, its hooks may not run at all; elsewhere, check that the plugin is installed and enabled. Until then the agent's push may not be checked, though the git hook and CI still are.
Recognize natural phrasing in any language:
required ownership mode, in-flight questions pause too, but the final check still runs.)Risks are never silent. Even in silent mode, flag security holes, data loss, and breaking changes in one line — silence must not hide danger.
Treat every correction as calibration for the rest of the session, not just the current chunk.
cache, closure, race condition) — they match the docs, error messages, and job the user will face.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-explanation, onboarding, code-review, learning, pair-programming
npx claudepluginhub abdulrahmanmasoud/comprende --plugin comprendeOther plugins' skills for the same job