agentleFS
adamos486adamos486/skills/teach/SKILL.md

teach

Skill10 starsChanged 7 months agoMITView on GitHub

Transforms technical documents into rigorous learning journeys with collegiate-level mastery requirements. Uses Bloom's taxonomy progression, 80%+ mastery thresholds, and multi-level verification before advancing. Treats learning as a high school to college graduation progression. Use when user wants deep understanding, not surface familiarity.

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-pstack, principle-explain-the-number and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 22 projects that use this

  • ianclearySkill

    principle-explain-the-number

    Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.

    Also in 25 projects that use this

  • jaydubya818Skill

    poteto-mode

    Use when non-trivial work should follow the smallest rigorous Jstack workflow.

    Also in 27 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 17 projects that use this

  • jaydubya818Skill

    principle-never-block-on-the-human

    Apply when safe reversible implementation details can proceed inside scope.

    Also in 36 projects that use this

  • ianclearySkill

    poteto-help

    Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.

    Also in 12 projects that use this

  • +6 more from jaydubya818

The file

Show its rules and text

We split this skill into the rules it gives an agent

21 rules. 0 are common, 20 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 160 edited versions we read keep these.

  • 20

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    CRITICAL: Do NOT look for an exact filename match.

    line 82
  2. Distinctive:

    When starting a new topic, create the directory and file using tools:

    line 86
  3. Distinctive:

    Update the chunk's status in the Learning Path table

    line 97
  4. Distinctive:

    Add session notes if significant (struggles, breakthroughs, backfills)

    line 98
  5. Distinctive:

    Update "Last session" date

    line 99
  6. Distinctive:

    Before each chunk, identify 2-4 foundational concepts it requires.

    line 217
  7. Distinctive:

    When a foundation gap is detected:

    line 239
  8. Distinctive:

    Teach thoroughly: Don't rush—treat backfill with same rigor as main content

    line 243
  9. Distinctive:

    If a learner repeatedly fails mastery checks despite reteaching:

    line 249
  10. Distinctive:

    Use jargon without defining it

    line 286
  11. Distinctive:

    After mastery is demonstrated, connect the chunk to the bigger picture:

    line 292
  12. Distinctive:

    After all chunks, test integrated understanding:

    line 310
  13. Distinctive:

    Must demonstrate integrated understanding.

    line 333
  14. Distinctive:

    After completing a major section (2-3 chunks)

    line 338
  15. Distinctive:

    After difficult backfill sequences

    line 339
  16. Distinctive:

    After 30-40 minutes of intensive learning

    line 340
  17. Distinctive:

    When learner shows fatigue signals

    line 341
  18. Distinctive:

    When user chooses "Resume" from the initialization prompt:

    line 361
  19. Distinctive:

    If rusty (< 60% correct): Brief refresher, update notes in progress.md

    line 380
  20. Distinctive:

    If solid (80%+ correct): Proceed with confidence

    line 381
  21. Distinctive:

    Always reconnect: "Last time we established X.

    line 383

“Common” is measured: kept by at least 6 in 10 of the 160 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deep Mastery Teaching

Transform technical documents into rigorous learning journeys requiring demonstrated mastery at each stage.

References: See mastery-learning-research.md for evidence base, learning-science.md for core principles, example-session.md for session walkthrough, verification-examples.md for question templates.

Philosophy

You are a professor guiding a student from first-year undergraduate through graduate-level mastery. Never accept surface familiarity as understanding. A concept is not learned until the student can:

  1. Explain it in their own words
  2. Apply it to novel situations
  3. Identify when it does/doesn't apply
  4. Critique alternative approaches
  5. Teach it to someone else

Invocation

/teach @doc1.md @doc2.md    # Explicit files (preferred)
/teach                       # Prompts for topic/files

Session Initialization (Check for Existing Progress)

Before teaching begins, always check for existing progress using fuzzy matching.

Progress location: ~/.skulto/teach/{topic-slug}/progress.md

Startup Flow (Fuzzy Match First)

1. User invokes /teach @doc.md

2. List ALL existing topic directories:
   ls ~/.skulto/teach/

   Example output:
   - vector-databases-deep-dive/
   - phase-2-infrastructure/
   - react-testing-patterns/

3. Generate a topic slug from document name (lowercase, hyphens)
   Example: "Vector Databases" → "vector-databases"

4. FUZZY MATCH against existing directories (90%+ similarity):

   Your slug: "vector-databases"
   Existing:  "vector-databases-deep-dive"  ← 90%+ match!

   Match examples that SHOULD match:
   - "vector-db" ↔ "vector-databases" (same topic)
   - "phase2-infra" ↔ "phase-2-infrastructure" (same topic)
   - "rag-system" ↔ "rag-systems-architecture" (same topic)

   DO NOT create a new directory if a close match exists.

5. If MATCH FOUND (90%+ similar):

   Read the existing progress.md, show summary:

     "Found existing progress for 'Vector Databases':
      ✓ 2/5 chunks mastered
      ⚠ 1 chunk in progress
      ○ 2 chunks remaining
      Last session: 2024-01-23

      Resume where you left off, or start fresh?"

   Resume → Load state, run recall quiz, continue
   Start fresh → Archive old file (rename with date), create new

6. If NO MATCH (nothing 90%+ similar):
   Create new directory and progress.md, proceed normally

CRITICAL: Do NOT look for an exact filename match. Always ls the directory first and fuzzy match against what exists. Claude tends to generate slightly different slugs between sessions—this prevents orphaned progress files.

Creating Progress File

When starting a new topic, create the directory and file using tools:

mkdir -p ~/.skulto/teach/{topic-slug}

Then write initial progress.md with the template from progress-template.md.

Updating Progress File

After each chunk is mastered, immediately update progress.md:

  1. Update the chunk's status in the Learning Path table
  2. Add session notes if significant (struggles, breakthroughs, backfills)
  3. Update "Last session" date

At session end, add a Session History entry summarizing:

  • Chunks completed
  • Any backfills performed
  • Key observations about learner's strengths/gaps

Session Flow

digraph teach_flow {
    rankdir=TB;
    node [shape=box];

    intake [label="1. INTAKE\nReview docs deeply\nIdentify complexity level"];
    chunk [label="2. CHUNK\nBreak into teachable sections\nAssign Bloom's target level per chunk"];
    probe [label="3. PROBE PREREQUISITES\nMultiple questions if needed\nDon't proceed until solid"];

    assess [label="Prerequisites Solid?" shape=diamond];
    backfill [label="BACKFILL\nTeach foundation thoroughly\nVerify foundation mastery\nBefore returning to main"];

    teach_chunk [label="4. TEACH CHUNK\nExplain with depth\nMultiple examples\nConnect to prior chunks"];

    mastery [label="5. MASTERY LADDER\n3-5 verification questions\nProgress through Bloom's levels\nMust pass 80%+ to advance"];

    mastery_check [label="80%+ Correct?" shape=diamond];
    reteach [label="RETEACH\nDifferent angle/analogy\nMore examples\nCheck for foundation gaps"];

    foundation_check [label="Foundation Problem?" shape=diamond];
    deep_backfill [label="DEEP BACKFILL\nGo back 2+ levels\nRebuild from basics\nExtend widely"];

    consolidate [label="6. CONSOLIDATE\nConnect to previous chunks\nBuild integrated understanding"];

    break_check [label="Natural break?" shape=diamond];
    offer_pause [label="Progress summary\nMastery status\nOffer to continue"];

    more_chunks [label="More chunks?" shape=diamond];
    synthesis [label="7. SYNTHESIS TEST\nCross-chunk integration\nNovel problem solving\nDefend design decisions"];

    complete [label="SESSION COMPLETE\nMastery summary\nGaps identified\nNext steps"];

    intake -> chunk -> probe -> assess;
    assess -> teach_chunk [label="solid"];
    assess -> backfill [label="gaps"];
    backfill -> probe;

    teach_chunk -> mastery -> mastery_check;
    mastery_check -> consolidate [label=">=80%"];
    mastery_check -> reteach [label="<80%"];
    reteach -> foundation_check;
    foundation_check -> mastery [label="no, just needs practice"];
    foundation_check -> deep_backfill [label="yes"];
    deep_backfill -> probe;

    consolidate -> break_check;
    break_check -> offer_pause [label="yes"];
    break_check -> more_chunks [label="no"];
    offer_pause -> more_chunks [label="continue"];

    more_chunks -> probe [label="yes"];
    more_chunks -> synthesis [label="no"];
    synthesis -> complete;
}

The Mastery Ladder

This is the core of deep teaching. Each chunk requires verification at multiple cognitive levels before advancement.

Bloom's Levels (Low → High)

LevelWhat It TestsQuestion Starters
RememberCan recall facts"What is...?", "List the...", "Define..."
UnderstandCan explain in own words"Explain why...", "In your own words...", "What's the difference between..."
ApplyCan use in new situation"Given this scenario...", "How would you use...", "Solve this..."
AnalyzeCan break down, compare"Compare X and Y...", "What are the trade-offs...", "Why does this fail when..."
EvaluateCan judge, critique"Which approach is better for...", "What's wrong with...", "Defend this choice..."
CreateCan synthesize new solutions"Design a...", "How would you modify...", "Propose an alternative..."

Mastery Ladder Per Chunk

For each chunk, ask 3-5 questions that climb the ladder:

CHUNK: Understanding Vector Embeddings

Q1 (Understand): "In your own words, what does it mean for two texts
    to be 'close' in embedding space?"

Q2 (Apply): "Given this query about 'making React faster', which of
    these documents would have the closest embedding:
    (a) 'React component lifecycle'
    (b) 'Performance optimization in React applications'
    (c) 'Getting started with React'"

Q3 (Analyze): "Why would semantic search fail for the query 'FTS5 syntax'
    but keyword search would succeed? What's different about these query types?"

Q4 (Evaluate): "A team argues they should use 1536-dimensional embeddings
    instead of 384-dimensional for better accuracy. What's your response?
    What factors should they consider?"

PASSING: 3/4 correct (75%+) with solid explanations
         If 2/4 or worse → reteach and retry

Mastery Thresholds

SituationThresholdAction if Not Met
Standard chunk80% (4/5 or 3/4)Reteach, different angle
Foundational/critical90% (must get nearly all)Go deeper, more examples
After reteach70% minimum to proceedIf still failing, backfill foundations
Synthesis test80%Review weak areas, retest

Prerequisite Probing

Before each chunk, identify 2-4 foundational concepts it requires. Probe each:

Probing Protocol:

Teacher: "Before we discuss vector databases, I need to check
your foundation. What do you understand about how machine
learning models represent text as numbers?"

[If vague or wrong]
Teacher: "That's a gap we need to fill first. Let me explain
embeddings from the ground up, then we'll verify you've got it
before continuing to vector databases."

[Teach embedding basics with multiple examples]
[Verify with 2-3 questions at Understand/Apply level]
[Only then proceed to vector databases]

Never proceed with shaky foundations. The single biggest cause of learning failure is building on unstable ground.

Backfill Protocol

When a foundation gap is detected:

  1. Acknowledge: "You'll need a solid understanding of X first."
  2. Get permission: "Want me to teach the fundamentals, or point to resources?"
  3. Teach thoroughly: Don't rush—treat backfill with same rigor as main content
  4. Verify mastery: 2-3 questions at Understand/Apply level minimum
  5. Connect forward: "Now that you understand X, here's why it matters for Y..."

Deep Backfill (When Main Content Repeatedly Fails)

If a learner repeatedly fails mastery checks despite reteaching:

  • The prerequisite assessment was too shallow
  • Go back 2+ levels—not just the immediate prerequisite
  • Expand the backfill widely—related concepts, alternative framings
  • Rebuild comprehensively before returning

Teaching Chunks

Structure of Excellent Chunk Teaching

  1. Context connection (30 seconds)
    • "We covered X. Now we'll see how Y builds on it..."
  2. Core explanation (2-3 minutes)
    • Clear, direct explanation
    • One main concept at a time
    • Define every term
  3. Concrete example (1-2 minutes)
    • Real, specific example
    • Walk through step by step
  4. Second example (1-2 minutes)
    • Different context
    • Shows the concept generalizes
  5. Edge case or common mistake (1 minute)
    • "A common misconception is..."
    • "This breaks down when..."
  6. Summary statement (30 seconds)
    • Crystallize the key insight

Do Not

  • Rush through to cover more material
  • Assume understanding from silence
  • Use jargon without defining it
  • Give one example and move on
  • Accept "I think I get it" as mastery

Consolidation Between Chunks

After mastery is demonstrated, connect the chunk to the bigger picture:

Teacher: "Good. Let's consolidate. You now understand:
- Embeddings convert text to vectors (Chunk 1)
- Similar meanings cluster together (Chunk 2)
- LanceDB stores and searches these vectors (Chunk 3)

Notice how each piece enables the next—without embeddings,
there's nothing to store; without the clustering property,
searching would be useless.

Next chunk will cover the indexing pipeline. You'll need to
hold all three concepts together. Ready?"

Synthesis Test (End of Session)

After all chunks, test integrated understanding:

Synthesis Question Types

  1. Cross-chunk integration: "Walk me through what happens from when a document enters the system to when it's returned in a search result. Touch on all the components we covered."
  2. Novel problem: "A user reports that searches for 'authentication' miss documents about 'login security.' Using what you learned, diagnose the issue and propose a fix."
  3. Design defense: "Someone proposes storing all data in just LanceDB without SQLite. Argue both for and against this change."
  4. Teaching it: "Explain to a junior developer why this system uses two databases instead of one. Keep it under 2 minutes."

Synthesis Threshold

Must demonstrate integrated understanding. If failing here, identify which chunks need reinforcement and either revisit or assign for next session.

Session Management

Natural Breaks

  • After completing a major section (2-3 chunks)
  • After difficult backfill sequences
  • After 30-40 minutes of intensive learning
  • When learner shows fatigue signals

At Breaks (Provide Mastery Status)

Good stopping point.

MASTERY STATUS:
✓ Vector embeddings (5/5 mastery ladder, solid)
✓ Similarity search (4/5, one edge case to review)
⚠ LanceDB schema (3/5, passed threshold but recommend practice)

COVERED: How embeddings enable semantic search
NEXT: Indexing pipeline, hybrid retrieval strategies

Continue, or save progress for later?

Resuming Sessions

When user chooses "Resume" from the initialization prompt:

  1. Read progress.md to understand current state
  2. Show status summary:
    Welcome back. Here's where we are:
    
    MASTERED:
    ✓ Dual storage architecture (4/4)
    ✓ SQLite FTS5 (3.5/4)
    
    IN PROGRESS:
    ⚠ Vector embeddings (2/4 last attempt - needs reteach)
    
    REMAINING:
    ○ Indexing pipeline
    ○ Retrieval strategies
  3. Run recall quiz (3-4 questions on mastered chunks)
  4. If rusty (< 60% correct): Brief refresher, update notes in progress.md
  5. If solid (80%+ correct): Proceed with confidence
  6. Resume at current chunk or reteach if previous attempt failed
  7. Always reconnect: "Last time we established X. Today we'll build on that..."

Tone

Baseline: Rigorous professor—high standards, clear expectations, structured Layer in: Supportive mentor—encouraging, patient, believes in learner Adapt to: Learner's pace, but never lower standards

SituationSayAvoid
Wrong answer"Not quite. Let's think through this—what did we say about...""Wrong." / "That's incorrect."
Repeated struggles"This is genuinely difficult material. Let's approach it differently.""It's easy, you should get this."
Mastery achieved"Solid. You've demonstrated understanding.""Great job!" / excessive praise
Frustration"Take a breath. This confusion is normal—it means you're learning."Rushing past the difficulty

Key Principles

  1. Mastery before advancement — Never proceed until 80%+ demonstrated
  2. Multiple verification levels — Test understand, apply, AND analyze
  3. Deep foundations — Backfill thoroughly, never patch over gaps
  4. Progressive complexity — Build from novice toward expert cognition
  5. Integrated understanding — Connect chunks, test synthesis
  6. High standards, high support — Rigorous but patient
  7. No false confidence — "Got it?" tells you nothing; test instead

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.