Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

route-lessons

БесплатноБез исполняемых скриптовНе проверен

Route lessons to instructions, auto memory, skills, the backlog, or a Turbo handoff after approval. Use when asked to "route lessons" or "where should this…

tobihagemannот tobihagemann★ 428 звёзд на GitHub

Об этом скилле

Route Lessons

Route each candidate lesson to the knowledge layer it belongs in.

Take the candidates passed in, or the lessons the user names. Each carries the lesson, the evidence behind it, its origin (the current session, a past session, or a file such as a memory note), the skill it arose from when there is one, and any reason the user did not state. When none were passed in and the user names none, say so and continue with Step 7.

Task Tracking

Use TaskCreate to create a task for each step:

  1. Detect context
  2. Read the skills the lessons touch
  3. Filter
  4. Route each lesson
  5. Present routing plan
  6. Execute
  7. Report outcomes

Step 1: Detect Context

Available destinations:

  • Project CLAUDE.md / AGENTS.md — The root .claude/CLAUDE.md (may be a symlink to ../AGENTS.md — resolve it), plus any nested CLAUDE.md / AGENTS.md files in subdirectories.
  • Auto memory — The project-specific memory directory named by the active harness. An effective autoMemoryDirectory setting overrides its location; otherwise it normally lives at <Claude config home>/projects/<encoded project root>/memory/, where the config home is CLAUDE_CONFIG_DIR when set and ~/.claude otherwise. The key replaces every character outside A-Za-z0-9 with -, and long keys may be truncated and hashed, so prefer the exact harness-provided path over recomputing it. List the directory and read MEMORY.md if it exists.
  • Skills — Project skills at skills/ or .claude/skills/ (resolve symlinks)

Discover the project CLAUDE.md/AGENTS.md files (the root file and any nested ones in subdirectories) and read them, then read MEMORY.md. When those files point at a knowledge base the repo maintains, read its index too; it is a documentation source for Step 3, and a routing destination only when the CLAUDE.md/AGENTS.md files name it one. Also read any document of rules for one area that those files tell agents to read before working in that area; Step 4 routes lessons to it. Note each other destination the CLAUDE.md/AGENTS.md files name for a kind of knowledge, outside skills and instruction files, with the process they give for writing to it and the subtree of the file that names it; Step 4 routes lessons to it too. List all skill directories with the description frontmatter of each SKILL.md, but leave the bodies unread until Step 2.

Read the top-level checkout key from ~/.turbo/config.json when the file exists. When it names a directory holding claude/skills/, that directory is the user's Turbo clone or fork. Treat any other value as unset, and say so in the Step 5 routing plan.

Skill Ownership Detection

When ${CLAUDE_SKILL_DIR}/../../.claude-plugin/plugin.json exists and names the plugin turbo, the Turbo plugin's skills folder is ${CLAUDE_SKILL_DIR}/... Otherwise this skill runs from an override or a leftover copy, no folder is known to be Turbo's, and only a turbo: invocation marks a turbo skill. Scan the conversation for Skill tool invocations, turbo:-prefixed ones included, the base directory each skill load reported, and SKILL.md reads from ~/.claude/skills/ or the Turbo plugin's skills folder. Classify every skill a candidate lesson could touch, meaning the skill it arose from and any skill whose description covers its domain, by where it was loaded from, never by its name alone:

  • Skills that live in the project are user/project skills
  • A skill is a turbo skill when it ran as turbo:<name>, or when the base directory its load reported, or the path its SKILL.md was read from, lies in the Turbo plugin's skills folder. A same-named skill loaded from ~/.claude/skills/ or the project overrides the Turbo skill, and its lessons go to that override. A skill this session did not load is a turbo skill when <Turbo plugin's skills folder>/<name>/SKILL.md exists and no skill of that name exists in ~/.claude/skills/ or the project
  • For every skill in ~/.claude/skills/ not classified as turbo, overrides included, read references/package-managed-skills.md once and apply its Classify the Skill section to each
  • A skill that no bullet above classifies is ownership-unresolved when the session's record shows the folder it was loaded from, and package-managed otherwise

Exception: If the current project IS the turbo repo (i.e., the working directory contains this skill collection), route turbo skill lessons through the Existing user/project skill destination in Step 4 — edits go directly to claude/skills/<name>/ in the project, with no handoff and no contribution flow.

Verification rule (mandatory before routing in Step 4): For every candidate skill that is about to be routed as turbo and ran in this session, find the load that ran it in this session's record: a turbo: Skill tool invocation, the base directory a load reported, or a SKILL.md read. Confirm that the load came from the Turbo plugin's skills folder. For a candid

Полный SKILL.md на GitHub

Установить route-lessons в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/package-managed-skills.mdreferences/turbo-skill-lessons.md

FAQ

Что делает скилл route-lessons?

Route lessons to instructions, auto memory, skills, the backlog, or a Turbo handoff after approval. Use when asked to "route lessons" or "where should this lesson go".

Как установить скилл route-lessons?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл route-lessons запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить route-lessons с