Логотип Teach

Teach

Сообщество
minghinmatthewlam
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.

Обзор

Издательminghinmatthewlam
Репозиторийagent-guards
Название навыкаteach
Звёзды
46
Форки
3
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — minghinmatthewlam. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Teach в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/minghinmatthewlam/agent-guards/tree/main/skills/teach
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/minghinmatthewlam/agent-guards.git /tmp/agent-guards
mkdir -p .claude/skills
cp -r /tmp/agent-guards/skills/teach .claude/skills/teach
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Teach в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Teach, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Teach не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Teach

Load the pstack:teach skill and follow it. This skill adds what teaching code needs. Where the two conflict, this skill wins.

Code is the source of truth. Trace the implementation and call paths before explaining, and say what you could not verify. For code outside the current repo, clone it under ~/dev/<repo> so the user can open the same files.

Assume the user knows none of the components, tools, or domain terms involved. Introduce each one in plain words the first time it appears, before using its name. Put prerequisite background in its own short section the user can skim past. Never collapse it. When an example comes from an input you made up or ran, such as a test file, introduce that input first.

Views

Start with the system map. Move to the contract walk when the user asks to go deeper or the question is about data or interfaces.

System map. The components, what each is responsible for, who calls whom, what data crosses each boundary, and where state lives. Walk one real request end to end, including the failure path that matters most.

Contract walk. Interfaces and data, never function bodies.

  • Each type or schema: what it represents, its key fields, one filled-in instance with real values, where it is stored and how durable that is (memory, file, which database; does it survive a restart or crash), and who writes it.
  • The call flow: a top-down Mermaid flowchart from the entry point. Each box is a numbered function or step with one line on what it does, and each arrow is a call labeled with when it happens, such as "blocked" or "the tool waits". Give the call-flow section the full window width and draw the diagram at full text size. Clicking a box opens its full contract card in a panel beside the diagram, separated by a draggable divider, and clicking the same box again or pressing Esc closes the panel so the diagram takes the full width. Do not repeat the steps as a separate list.

Proposed designs. Teach a design the same way, with both views. Trace the existing code it touches so the starting point is real. Mark each component, type, and function as existing, changed, or new, in prose and in the diagrams. Use color-blind-safe styles that also differ without color: new is blue with a thick solid border, changed is orange with a dashed border, existing is gray with a thin border. Never use red against green. For a change, show the call flow before and after. Point a new piece's path:line at the design sketch file when one exists, and otherwise say "not written yet". Label example values for new pieces as illustrative.

Output

The Claude desktop chat shows Mermaid and <details> as raw source. Visuals go in the HTML page, or inline with the imagine tool (show_widget) when that helps more.

  • In chat, link code as a Markdown link whose target is the absolute path plus :line. It opens the file pane at that line. Show at most one-line signatures.
  • When you show code, explain it with pseudocode.
  • Put every visual in one self-contained HTML page under /tmp/teach/<slug>.html and send it with SendUserFile and display: "render". Draw diagrams with Mermaid from a CDN, built up as pstack:teach describes. Make the end-to-end walkthrough a stepper that shows what state changes at each step, with a toggle for the failure path. Give each type and function a collapsible card with its summary, signature, fields, filled-in example, storage, and absolute path:line as copyable text, since links in the page do not open the file pane.
  • Lay out signatures, fields, and examples vertically: the name on one line, then one indented line per field or parameter with its type and a few words on what it means. Drop braces and syntax noise. Never squeeze a type or an example onto one line.
  • Link every mention of a type or function that has a card to that card, in prose, fields, and the call flow. A click opens the card and scrolls to it, and a floating Back button returns to where the user was, like go-to-definition. The page viewer has no browser controls, so build Back and Forward into the page, bound to Ctrl+- and Ctrl+Shift+-. A link to a call-flow step opens it in the diagram's panel.
  • Keep one page per topic. Update it and send it again as the explanation grows.

Teaching alone does not authorize code changes.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Teach в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Teach — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Teach в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/minghinmatthewlam/agent-guards/tree/main/skills/teach. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Teach?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Teach?

С любым количеством. В TypingMind вы можете использовать Teach с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Teach?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — minghinmatthewlam. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇