General · inspect by default

/teach

Teach a programming topic or the concepts needed to understand and implement a just-vibe workflow.

Use for conceptual instruction or prerequisites; use explain for an existing implementation and teach-test for assessment.

Make it your own.

In Claude Code, use the slash command and add your context. In Codex, select teach from the just-vibe skill picker, then send the same brief.

Version 0.11.0 also supports /jv teach, /just-vibe teach and /jv:teach in Claude. See shortcut setup and context examples.

Example · inspect
/just-vibe:teach Teach linked lists from the basics, with a worked insertion example and practical tradeoffs.
edge · inspect
/just-vibe:teach Teach linked-list deletion when only the head pointer is available.
blocked · inspect
/just-vibe:teach Teach db-migrate concepts without database access; do not run a migration.

What the agent does

  1. Resolve a topic lesson, workflow-implementation lesson or explicitly requested exercise from the full brief. A known workflow name does not authorize executing it.
  2. For a topic lesson, read the teaching guide and explain directly with one running example. Infer level from context; otherwise start accessibly without a mandatory questionnaire. State assumptions, trace a small example, then a misconception and a transfer example.
  3. For a workflow lesson, read its catalog contract and relevant utility source; map concepts to actual algorithms, data shapes, invariants and verification boundaries. Distinguish implemented behavior, conceptual pseudocode and proposed design.
  4. For an explicitly requested hands-on exercise, follow the practice guide: use owned solution/learner worktrees, protect assessment files, and establish passing solution/failing starter controls for the taught behavior before presenting the learner workspace. Keep exercise mechanics out of ordinary lessons.
  5. Give only requested hints and let the learner make the implementation. Save progress only on request and preserve requested work before cleanup. Ordinary lessons may offer practice; native assessment belongs to teach-test under actual host restrictions.

Inputs

  • A topic or target workflow, supplied explicitly or unambiguously established in the conversation.

Optional context: experienceLevel, language, depth, timeAvailable, references, scope, constraints.

Scope

Reads
Explain the requested topic or implementation prerequisites using relevant catalog/source evidence. Do not implement the target command, alter files, install packages, or enroll the user in an unsolicited course.
Writes
None by default. Save lesson notes or example files only when explicitly requested. An explicit practice request permits bounded lesson preparation and owned solution/learner worktrees; no production/service action.
Mode
Inspect; a topic, command name, implementation question, or current project context, plus optional experience level, language, depth and time available. Teaching never executes the target workflow. Preparing a requested hands-on exercise is a separately scoped apply run when tracked.
Prerequisites
Resolve the user brief and inspect the relevant project or supplied evidence. External capabilities are optional unless the selected action actually needs them.

Expected output

  • A readable lesson with a clear learning outcome, prerequisite sequence, worked example, relevant tradeoffs and a common misconception, and a concrete next exercise or check. For tool lessons, include a concept-to-implementation map and links to actual source where available.
  • Optional actual project exercise, validated controls, learner workspace, progressive hints and behavioral assessment.

How the work is checked

  • A linked-list lesson traces nodes/links and operations, distinguishes singly/doubly linked lists, and explains that constant-time insertion requires the position/node to be known; finding it can require linear time.
  • An ml-split implementation lesson explains prediction time, entity dependence, temporal/group separation and leakage checks, ties these to the actual workflow, and never runs training or changes datasets.
  • An unfamiliar topic is not silently interpreted as a command to execute; unknown experience level yields an accessible explanation rather than a mandatory questionnaire.

When to stop or clarify

  • Ask one focused question if the topic or workflow cannot be identified. Do not invent source behavior, assume required knowledge without explaining it, claim the user mastered the topic, or execute the workflow merely because it was named. Verify version-sensitive claims against relevant primary sources.

Handling missing context

Infer
Resolve topic versus named workflow from the appended request and recent lesson; read source only when teaching its implementation.
Assume
Start with an accessible explanation and one concrete example when experience level is unknown; adjust to the next correction.
Ask
Ask one focused question only if the topic cannot be identified. Language/level preferences may be inferred or stated as assumptions instead of blocking a lesson.

Technical guidance

Evidence
Resolve the learner's topic or target workflow, existing knowledge and whether a project exercise is wanted.
Method
Build a causal mental model, work a small example, then expose a common misconception and a transfer example.
Pitfall
Teaching a command does not authorize running it; overwhelming prerequisite lists can obscure the actual concept.
Check
Use a short prediction or explanation prompt to check understanding; keep optional practice separate from unsolicited repo mutation.

Situational decisions

When learner asks about a workflow with missing project context: Teach the concepts using a labeled hypothetical example; do not invent the project's architecture.

When hands-on practice is explicitly requested: Prepare an isolated, control-validated project exercise; do not edit the original project to create a mistake.

The coding agent follows this workflow using its available tools. Installation does not grant service access or guarantee an outcome. Read the compatibility notes.

Keep exploring