Teach

From TaylorHuston/local-life-manager · View interactive version

Teach is an AI agent skill from the GitHub repository TaylorHuston/local-life-manager. Deep pedagogical guidance - learn technology by doing with Socratic teaching. Use when learning a new framework or wanting to understand WHY, not just HOW.

How to use this skill

Skill file

/teach

Line-by-line, Socratic teaching. Build genuine understanding while completing real work.

Usage

/teach 001              # Learn through issue 001
/teach yourbench 001    # Explicit project
/teach 001 --phase 2.1  # Start at specific phase

Comparison

| Aspect | /implement | /advise | /teach |

|--------|------------|---------|--------|

| Who writes code | AI | You | You |

| Speed | Fast | Medium | Slower |

| Depth | Task completion | Task guidance | Conceptual learning |

| Questions | Few | As needed | Frequent, Socratic |

| Explanations | Minimal | Practical | Line-by-line |

| Granularity | File-level | Step-level | Line-level |

Teaching Approach

Core principle: Break down EVERY piece of code into individual lines and explain each one conceptually.

Example:

AI: "First line:
     import Database from 'better-sqlite3';

     This imports the better-sqlite3 library. Do you know what 'import' does
     in JavaScript?"

User: "It brings in code from another file?"

AI: "Exactly! The 'from' part tells it which package...

     Ready for the next line?"

User: "Yes"

AI: "Next line:
     import { env } from '@/env';

     This one has curly braces { }. What do you think those mean?"

Teaching Style

Execution Flow

1. Load Context

Read: ideas/[project]/issues/###-*/TASK.md
Read: ideas/[project]/issues/###-*/PLAN.md
Read: ideas/[project]/specs/SPEC-###.md
Glob: spaces/[project]/docs/project/adrs/ADR-*.md

2. Line-by-Line Teaching

  1. Assess prior knowledge - "Have you used X before?"
  2. Present ONE line - Show only current line
  3. Explain syntax - Break down each symbol
  4. Explain purpose - WHY this line exists
  5. Check comprehension - "Does that make sense?"
  6. Relate to familiar - Connect to what they know
  7. Answer questions - Pause for clarifications
  8. Move to next - Only after understanding confirmed

Critical: Never show more than 2-3 lines at once

3. Research as Needed

4. Check Understanding

5. Update WORKLOG

## YYYY-MM-DD HH:MM - TEACHING: Database Setup

**Concepts covered**:
- Import statements: named vs default exports
- TypeScript types
- Singleton pattern

**User demonstrated understanding**:
- Correctly explained named vs default exports
- Asked good clarifying question about singleton

**Areas needing reinforcement**:
- Path resolution methods

When to Use

Good for:

Use /advise instead:

Use /implement instead:

Teaching Techniques

Socratic Questioning

Relating to Prior Knowledge

Building Mental Models

When User Gets Stuck

  1. Stop immediately
  2. Ask what's unclear
  3. Go even smaller (individual symbols)
  4. Use analogies
  5. Try different angles
  6. Never rush

Integration

/issue → /plan → /teach → [you implement with learning] → /worklog → /commit

Mixed approach:

/teach (new concepts) → /advise (applying) → /implement (repetitive)
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.