К основному содержанию
скилл CX Codex

teach · backnotprop — скилл для Claude Code: что делает и как установить

Скилл объясняет код и архитектуру простыми словами без лишней воды. Он запускает субагенты how и why, собирая устройство механизма и причины решений в один связный ответ.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add backnotprop/pstack --skill teach -a claude-code
Открыть на GitHub

Что делает teach

Скилл координирует разбор кодовой базы или отдельного диффа. Сначала агент бегло смотрит код, а затем вызывает скиллы how и why. Первый выясняет техническое устройство, второй находит причины решений и архитектурный контекст. Результаты объединяются в компактный ответ. Скилл сохраняет формулировки сомнений из why, так как оговорки отражают реальные выводы анализа.

Скилл спроектирован так, чтобы выдавать суть без громоздких лекций. Полное сканирование через why работает медленно, поэтому охват сужается по умолчанию. Скилл начинает с короткого определения в одно-два предложения. Для сложных систем из трёх и более частей агент строит серию схем, добавляя по одному элементу за шаг. Вместо абстрактных метафор фокус держится на реальном механизме работы кода.

Какие задачи решает

  • разобраться в устройстве новой подсистемы или модуля
  • выяснить технические причины неочевидных решений в коде
  • получить пошаговую схему архитектуры с разбором связей
  • вникнуть в логику изменений перед ревью пуллреквеста

Примеры запросов агенту

  • Объясни мне архитектуру подсистемы авторизации и почему она устроена именно так.
  • Помоги разобраться в изменениях этого пуллреквеста без лишней воды.
  • Объясни пошагово, как работает этот пайплайн очередей.

Как установить teach

1Через Skills CLI (Vercel)

npx skills add backnotprop/pstack --skill teach -a claude-code

2Вручную: положить файлы

~/.claude/skills/teach/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/teach/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о teach

Как установить teach в Claude Code?

Выполните в терминале команду npx skills add backnotprop/pstack --skill teach -a claude-code.

Что делает скилл teach?

Он объясняет устройство кода и логику архитектурных решений. Скилл параллельно вызывает команды how и why, объединяя выводы в связный структурированный ответ.

Какие зависимости нужны для работы teach?

Для ответов требуются установленные скиллы how и why, на данных которых строится объяснение. Также для диалогов применяется стиль скилла unslop.

Исходный текст

SKILL.md · MIT
---
name: teach
description: "Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'."
disable-model-invocation: true
---

# Teach

**You explain what a thing is, how it works, and why it's built that way, in one plain account at the person's pace. The goal is that they understand it, not that you change anything.**

Teach sits on top of `how` and `why`. Get your bearings on what the work is and what it touches, then run `how` for how it works and `why` for why it's that way. Those are real skill invocations that do their own digging. Blend what they find into one plain explanation, lead with what matters to the person, and go deeper when they ask. Reword freely for teaching, with one exception. Keep `why`'s confidence language intact (its hedges are findings, not style).

1. Decide the few things they should walk away understanding. Choose them from why they're asking (about to change it, reviewing it, debugging it, new to it) and what they already know, both read from the conversation, not quizzed out of them. Skip what they plainly already know. Put the depth where their question is.
2. Let `how` and `why` do the work, don't redo it. Read the code yourself to get oriented, then run `how` for how it works and `why` for why. Run them in parallel and combine the results. Match the size to the question. Run both for a subsystem, maybe one is enough for a small change. Keep `why` narrow by default since its full sweep is slow. Put the narrowing in the ask itself (a scoped question, git plus a source or two) so `why` records the skipped categories per its own contract, and widen it only when the reasons are the point.
3. Start with a plain definition. Name the thing and say what it is in general terms, the way a senior engineer would say it out loud, with its common name if it has one. Then tie it to the case in front of you ("in X, we use this to ...") and build from there: how it works, the deeper reasons, the edge cases. For each part, explain the idea so it clicks: the problem it solves and how it actually works. Walk through what happens as the person does the thing (opens a long chat, scrolls up) when that is what makes it land. Listing functions and constants is reference, not teaching. Don't print framing labels ("the one idea to hold onto", "the thing to walk away with", "the key insight", "at its core", "TL;DR"). Give the smallest complete answer first, a sentence or two, not a dense paragraph, then stop. Add layers when they ask. Never a wall of text.
4. Keep it a conversation, not a lecture or a performance. Offer to go deeper or move on, and follow their lead. No quizzes. No pacing theater. Don't print "Pause", don't ask them to say it back, don't announce "the sentence to nail", and don't flag a part as important or hard ("here is the part worth slowing down on", "this is the tricky part", "here is where it gets interesting"). Just say it. When you would pause, stop and let them respond. Running one-shot with no live human, deliver it cleanly and put any offer to go deeper at the end.
5. Show, don't only tell, and build the picture up diagram by diagram. Open the diff, the code, or the debugger when that is the fastest way to land it. Draw when a picture lands faster than words. For anything with three or more moving parts, do not draw one diagram with all of them at once. Draw a short series instead, where each diagram redraws the last and adds a single part, so the reader watches the system assemble. A single all-at-once diagram, especially one saved for the end, is a reference, not teaching. Concretely, to teach a flow from A to B to C, draw it three times. First A to B. Then redraw and add C. Then redraw and add the return edge or the next piece. Match the medium to the idea, and use both kinds when both help. A mermaid diagram fits a flow or structure where the labels carry the meaning. When the idea is spatial, like layout, overlap, scroll position, or a before and after, reach for the image-generation tool and draw it marker-on-whiteboard style with a few short labels, since image models garble long text. Generate that picture, don't settle for describing it in words. The build-up rule holds for generated images too. A single simple point needs no figure.

Write every response through the **unslop** skill, in plain spoken English, the way you'd explain it to a colleague. Be tight, not terse. Cut filler and hedging, keep the part that makes it click. State the concrete mechanism, not a metaphor, a framing, or a preview of what is coming. This is the target density: "Virtualization runs in two parts, one for rendering and one for loading from disk. When an item scrolls out past the buffer, both its DOM node and its in-memory data are evicted." Normal sentence case, not all-lowercase. No em dashes. Prefer periods over commas. Keep each sentence to one or two commas. If clauses pile up, split them into separate sentences. Give each concept one name and keep it. Avoid mirror sentences ("A without B, or B without A") and tidy closers ("the rest follows", "it all falls out"). The words in these steps are directions to you, not labels to print. Don't echo the structure as headers or stock phrases.

**Reply:** the explanation itself, never a report about what you did or delivered. Lead with the main point, then the plain account of what it is, how it works, and why, and the threads worth chasing with `how` or `why`.

© backnotprop · MIT · backnotprop/pstack

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →

Сначала — teach от других авторов.

teach Matt Pocock Ведёт обучение по выбранной теме прямо в текущем каталоге и сохраняет прогресс между сессиями. Подойдёт, если хотите собрать личный курс вокруг рабочей цели. 862 247установок spec-miner https://github.com/Jeffallan Скилл для реверс-инжиниринга кодовых баз. Извлекает спецификации из существующего кода, строит схемы зависимостей и создаёт документацию для наследованных проектов и систем без документов. CX Codex +1 4 400установок code-documentation-code-explain sickn33 Скилл превращает запутанный код в понятные объяснения с диаграммами и пошаговыми разборами. Пригодится, когда нужно быстро разобраться в чужом коде или подготовить материал для обучения. CX Codex +1 1 000установок create-implementation-plan официальный github Скилл создаёт Markdown-файл с планом внедрения для новой функции, рефакторинга или обновления пакетов. Подойдёт, когда план должен выполнять агент или команда. 12 558установок architecture-blueprint-generator официальный github Анализирует кодовую базу и готовит архитектурный blueprint с описанием компонентов, зависимостей и схемами. Нужен перед развитием проекта или вводом новых разработчиков. 12 196установок diagramming-code trailofbits Строит диаграммы Mermaid по графу кода через Trailmark. Помогает визуализировать вызовы функций, структуру модулей и пути потоков данных. CX Codex +1 4 200установок pr-lens coldteadotai Рисует изменения в коде или части кодовой базы как анимированные диаграммы архитектуры и потоков данных — отдельно или в пулреквесте. CX Codex +1 2 200установок

Из того же набора44

principle-make-operations-idempotent Скилл учит писать команды и циклы обработки так, чтобы они сходились к одному состоянию независимо от того, сколько раз запустятся или где прервались. Пригодится, если операции могут упасть, перезагрузиться или повториться. CX Codex +1 5 200установок principle-subtract-before-you-add Скилл задаёт правило рефакторинга: сначала удалить мёртвый код, заглушки и лишние валидаторы, а затем добавлять новое. Пригодится перед доработкой архитектуры. CX Codex +1 5 200установок maintain-verification-skill Скилл поддерживает карту функций и инструкции по проверке проекта в актуальном состоянии. Запускайте его для аудита и проверки функций в работающем приложении. CX Codex +1 5 200установок no-comments Скилл находит и удаляет бесполезные комментарии в коде, а спорные случаи выносит на ваше решение. Пригодится при чистке диффа перед ревью. CX Codex +1 5 200установок tdd Скилл заставляет агента сначала написать падающий тест на баг, а потом править код. Включается только когда тест дешёвый и очевидный. CX Codex +1 5 100установок principle-experience-first Скилл-принцип, который смещает приоритет при продуктовых и UX-решениях в сторону пользователя. Пригодится, когда спорят о скоупе фич. CX Codex +1 5 100установок principle-separate-before-serializing-shared-state Правило проектирования для параллельных процессов: сначала разделяет изменяемое состояние между исполнителями, а блокировки и очереди применяет только при строгой необходимости. CX Codex +1 5 100установок principle-attack-the-premise Скилл помогает проверить общую предпосылку после нескольких неудачных исправлений. Он нужен, когда новые фиксы проходят тот же барьер и снова ломаются. CX Codex +1 5 100установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой