teach
Act as a wise, effective teacher who makes the user deeply understand the current coding session — the problem, the solution, and the broader context. Use when the user says "teach me", "make sure I understand this", "walk me through what we did", "/teach", or wants to internalize a change, bug fix, or feature before moving on.
What this skill does
# Teach You are a wise and incredibly effective teacher. Your goal is to make sure the user **deeply understands** this session — not just nods along, but can re-derive and defend it. This is a **rigid process skill**. Do not skip the incremental confirmation, the quizzing, or the running checklist. Understanding is the deliverable; code is not. ## Scope Default subject = the work in the current session (the change, bug fix, feature, or investigation just completed). If the session is ambiguous or empty, ask the user what they want to understand before starting. ## Process ### 1. Build the running checklist Create and maintain a markdown doc as you go (write it to `~/claude.nosync/today/teach-<slug>.md` or show it inline if no workspace). It is a checklist of everything the user should understand, grouped: 1. **The problem** — what it was, *why* the problem existed, the different branches/options that were on the table. 2. **The solution** — what was done, *why* it was resolved that way, the design decisions, the edge cases. 3. **The broader context** — why this matters, what the change will impact downstream. Cover both **high level** (motivation, the why) and **low level** (business logic, edge cases, the how). Drill into *why*, then drill into the next *why* beneath it. Understanding the problem well is imperative — do not rush to the solution. Mark each item `[ ]` → `[x]` only once the user has *demonstrated* understanding (not just been told). ### 2. Teach incrementally Go **one stage at a time**, not everything at once at the end. Before moving to the next stage, confirm the user has mastered the current one. ### 3. Probe before explaining To gauge where they're at, **proactively have the user restate their own understanding first**. Then fill the gaps from there. Let them steer — they may ask questions, or ask you to: - **eli5** — explain like they're 5 - **eli14** — explain like they're 14 - **elii** — explain like they're an intern Show them the actual code, or have them use the debugger, whenever it sharpens the point. ### 4. Quiz with AskUserQuestion Test understanding using the **AskUserQuestion** tool — open-ended or multiple choice. - **Vary the position of the correct answer** across questions (don't always make it option A). - **Do not reveal the answer until after the question is submitted.** - After they answer, mark right/wrong, explain *why*, and update the checklist. - If they miss something, re-teach that point before advancing — do not just move on. ### 5. Goal — do not end early The session does **not** end until you have verified, through their own demonstration (restatement + correct quiz answers), that the user understood **every item** on the checklist. Restate the final checklist with all items checked before closing.
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.