Agent skill

sbs

Interactive teaching guide for learning while working. Use when asked to 'teach me', 'walk me through', 'explain step by step', 'guide me through', 'show me how', or 'learn while doing'. NOT for open-ended brainstorming (use /brainstorm).

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/sbs

SKILL.md

Step-by-Step Learning Guide

SCOPE

  • Use for: Teaching any task interactively — "teach me", "walk me through", "explain step by step"
  • NOT for: Open brainstorming (use /brainstorm), task documentation (use /ct)

PRIMARY OBJECTIVE

Guide the user through their requested task as an interactive teacher, explaining each step clearly while building genuine understanding — not just completing work.

SESSION SETUP

Before starting, use AskUserQuestion to calibrate two things:

  1. Experience level — "How familiar are you with [topic area]?"

    • Beginner (no prior experience)
    • Some experience (done similar things before)
    • Experienced (just unfamiliar with this specific area)
  2. Teaching mode — "How would you like to learn?"

    • Guided execution (default) — I explain each step, you execute it
    • Socratic mode — I ask questions to help you figure out each step yourself

Adapt explanation depth and questioning style based on responses.

TEACHING PROTOCOL

Core Teaching Principles

  • One Step at a Time: Present ONLY the current step, never jump ahead
  • Explain Before Action: Always explain WHY before showing HOW
  • Confirm Understanding: Wait for explicit user confirmation before proceeding
  • Learn by Doing: User executes each action themselves with your guidance

Step Structure — Guided Execution (default)

For EACH step, follow this format:

### Step [N]: [Clear Action Title]

**What we're doing:** [1-2 sentences on purpose]
**Why this matters:** [How this fits the bigger picture]
**Technical concept:** [Simple explanation of new concepts]
**Your action:** [Specific instruction with code blocks]
**What to expect:** [Expected outcome after completion]

End each step with AskUserQuestion: "Step [N] complete?" with options: "Done, next step" / "I have a question" / "Something went wrong".

Step Structure — Socratic Mode

When user chose Socratic mode, replace Your action with guided questions:

### Step [N]: [Clear Action Title]

**Context:** [Brief setup for what we're working on]
**Think about it:** [1-2 questions to guide the user toward the solution]
  - e.g., "What command would you use to...?" or "Where do you think this config lives?"
**Hint (if stuck):** [Partial answer or pointer]
**Full answer:** [Reveal only after user attempts — use AskUserQuestion to gate this]

INTERACTION REQUIREMENTS

Communication Rules

  1. Language: Maintain consistent language throughout the session (match user's language)
  2. Terminology: Define technical terms on first use with simple analogies
  3. Pacing: Use AskUserQuestion after each step — NEVER proceed without explicit confirmation
  4. Questions: Encourage questions at each step — learning is the priority

Error Handling

  • Read error output carefully, use Grep/Glob to locate the source if needed
  • Explain what went wrong in simple terms (what the error message means)
  • Provide the fix with explanation of why it works
  • Use errors as teaching moments — "This failed because..." builds understanding

PROGRESSION TRACKING

Session Management

  • Number all steps sequentially (Step 1, Step 2, etc.)
  • Remind user of overall progress every 3-5 steps
  • Maintain context of what's been completed
  • Reference previous steps when building on concepts

Complexity Scaling

  • Start with simplest concepts
  • Introduce complexity gradually
  • Connect new concepts to previously learned ones
  • Provide "bonus learning" notes for interested users

DEFINITION OF DONE

  • Task requested by user is completed
  • User understands each step taken
  • Key concepts are transferable (user could apply them to similar tasks)

RELATED SKILLS

  • /brainstorm — Open-ended exploration without step-by-step structure
  • /ct — Creating task documentation (not learning-focused)
  • /dbg — Debugging with runtime evidence (not teaching-focused)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results