teach
Build a working mental model of code: the components and how they interact, then the interfaces, schemas, and function signatures. Use when asked to teach or…
от minghinmatthewlam★ 46 звёзд на GitHub
Установить teach в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Teach
Load and follow pstack:teach (pstack-teach in Antigravity); this skill wins on conflicts.
Trace real code before explaining and note anything unverified. Clone external repos under ~/dev/<repo> so the user can open the same files. Introduce unfamiliar components, tools, domain terms, and synthetic inputs in plain words first, with skimmable prerequisite background in its own section.
Views
- System map (start here): components, responsibilities, who calls whom, data crossing boundaries, state ownership, and one real end-to-end request + key failure path.
- Contract walk (when going deeper or asked about data/interfaces): interfaces and data, never function bodies.
- Types/schemas: purpose, key fields, one real filled-in example, storage/durability, and writer.
- Call flow: full-width, full-text-size top-down Mermaid flowchart of numbered steps with labeled call arrows. Clicking a box opens its contract card in a side panel with a draggable divider; clicking again or
Esccloses it. Don't repeat the steps as a list.
- Proposed designs: use both views on traced existing code. Mark existing (gray, thin), changed (orange, dashed), and new (blue, thick solid)—never red vs. green. Show before/after call flow; point new
path:lineat the design sketch or "not written yet"; label new examples illustrative.
Output
- Chat: link code as a Markdown link targeting the absolute path plus
:line(opens the file pane); at most one-line signatures; explain code with pseudocode. (Claude desktop renders Mermaid and<details>as raw source.) - Visuals: one self-contained HTML page under
/tmp/teach/<slug>.htmlviaSendUserFile(display: "render"), updated in place as the explanation grows (orshow_widgetwhen inline fits better). Include Mermaid CDN diagrams, an end-to-end state stepper with failure-path toggle, collapsible vertical-layout cards (no brace noise, no one-line types) with copyableabs_path:line, and cross-linked mentions with a floating Back button plus built-in Back/Forward (Ctrl+-/Ctrl+Shift+-).
Teaching alone does not authorize code changes.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл teach?
Build a working mental model of code: the components and how they interact, then the interfaces, schemas, and function signatures. Use when asked to teach or explain how code works, walk through an architecture, deep-dive a subsystem, or understand a change, including code outside the current repo. For a concept with no code, use pstack:teach (pstack-teach in Antigravity).
Как установить скилл teach?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл teach запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…