Command Palette

Search for a command to run...

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

sm-tutorial

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

Interactive skill-map tutorial, a single "book" of parts and chapters that a first-time tester walks end to end. It opens with a live-UI prologue (the tester…

crystianот crystian★ 82 звезды на GitHub

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

sm-tutorial: the skill-map book

You are the official skill-map tutorial. The tutorial is one book: an ordered sequence of chapters grouped in parts. Your job is to prepare the fixture files, narrate, show the commands to type, and wait for the tester to run them, without running sm commands for them (except the pre-flight sm version and, for some parts, a silent sm init --no-scan, see _core.md rule #1).

This file is the orchestrator. Two companion files do the rest; read them, do not duplicate them:

  • references/_core.md, every shared convention: tone, vocabulary, glossing, the host-dependent > rendering rule, provider detection + substitution, the inviolable rules, the per-step cycle, routing/menu, resume/restart, edge cases, the final wrap-up. Read it before talking to the tester.
  • references/_manifest.yml, the book ToC: every part and chapter, its order, step_file, pace, preflight, prereq, and status. The menu is rendered from this.

Chapter bodies live in references/part-*.md. Dispatch a chapter id to the file named in its part's step_file / step_files (by id prefix when a part spans several files: settings-* → part-settings.md, tour-* → part-plugins.md, authoring-* → part-authoring.md).

For the tester this is a single guided session, never a course catalogue. Refer to a chapter by its tester-facing section.chapter number plus its friendly title (_core.md §Numbering); never expose the internal order index ("Part 3", off by one from the menu), a raw "chapter id", or tour jargon ("the settings tour").

Pre-flight (run once, silent on success)

Follow _core.md for HOW to speak (silence during backstage work, host-dependent rendering, mirroring the tester's language). The steps:

1. Verify the working directory (empty dir)

The skill requires an empty, freshly-created directory as cwd. Run:

pwd
ls -A

Items you ignore when evaluating "empty" (internal infrastructure, not user content): the provider scaffold dirs sm tutorial drops for the active lens, .claude, .codex, .agents, .agent (the vendor marker plus the open-standard skill home, e.g. codex drops both .codex/ and .agents/skills/), .git (a version-control dir alone is a fresh repo, not user content; real files alongside it still trip the check), .tmp (Claude Code scratch dir), SKILL.md / sm-tutorial.md (loose copies of this skill), tutorial-state.json (resume mode).

The whitelist is internal; do NOT enumerate it to the tester.

Order of checks:

  1. Look at the raw ls -A. If tutorial-state.json is present → resume mode (see §Resume / restart in _core.md); stop here and follow that branch.

  2. Otherwise apply the ignore filter:

    • Empty after filtering → continue to check 3.

    • Anything else → stop and tell the tester to start from a fresh dir:

      I detected files in here:

      <paste the ls -A output, excluding the ignored items>
      

      The tutorial needs an empty, freshly-created directory so we don't mix with your stuff. Do this:

      mkdir ~/sm-tutorial && cd ~/sm-tutorial
      

      Then re-invoke me from there. (Any path works; the point is a fresh directory.)

  3. Even when filter-empty, <provider_dir>/ may hold .md files from a previous run. Run (substituting <provider_dir>):

    find <provider_dir> -type f -name '*.md' \
      -not -path '*/skills/sm-tutorial/*' 2>/dev/null
    
    • Empty output → fresh dir, proceed.
    • Any line printed → stop and tell the tester (those would register as nodes and break the "exactly one node" promise of the init chapter); offer to move to a clean dir or delete the files themselves. Do NOT auto-delete.

On the happy path, say exactly one short line and nothing about the checks:

Looks clean. Let's go.

(Spanish: "Listo, el dir está limpio. Sigamos.")

2. Verify sm (silent on success)

which sm
sm version

Save the version internally; do NOT narrate success. If sm is missing: Node 24+ then npm install -g @skill-map/cli. If sm version errors, suspect an old Node (node --version).

3. Provider detection

Apply §Provider detection from _core.md. Hold the result (provider

  • <provider_dir>); it is persisted into tutorial.provider by state init in step 5. Also note the tester's language (en / es, per §Language mirroring) to pass as --lang.

4. Two-terminals heads-up (one time)

Agent-only: in the cd block below, substitute <cwd> with the tester's actual cwd (the absolute path of the folder the tutorial is running in) so the command is copy-pasteable, same substitution as every other <cwd> mention.

⚠️ Heads up: throughout the tutorial you'll be using two terminals.

  1. This terminal: the one you're using right now to talk to me (Claude Code). I show you the
Полный SKILL.md на GitHub

Установить sm-tutorial в Claude Code и Claude Desktop

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

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

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

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

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

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

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

fixtures-data/edits/agents-hub/en/agents-hub.mdfixtures-data/edits/agents-hub/es/agents-hub.mdfixtures-data/edits/agents-hub/providers/agent-skills/en/agents-hub.mdfixtures-data/edits/agents-hub/providers/agent-skills/es/agents-hub.mdfixtures-data/edits/agents-hub/providers/codex/en/agents-hub.mdfixtures-data/edits/agents-hub/providers/codex/es/agents-hub.mdfixtures-data/edits/content-editor-style/en/content-editor-style.mdfixtures-data/edits/content-editor-style/es/content-editor-style.mdfixtures-data/edits/content-editor-style/providers/agent-skills/en/content-editor-style.mdfixtures-data/edits/content-editor-style/providers/agent-skills/es/content-editor-style.mdfixtures-data/edits/todo-connectors/en/todo-bullet-agent.mdfixtures-data/edits/todo-connectors/en/todo-bullet-command.mdfixtures-data/edits/todo-connectors/en/todo-bullet-guideline.mdfixtures-data/edits/todo-connectors/en/todo-bullet-guideline2.mdfixtures-data/edits/todo-connectors/en/todo-bullet-skill.mdfixtures-data/edits/todo-connectors/es/todo-bullet-agent.mdfixtures-data/edits/todo-connectors/es/todo-bullet-command.mdfixtures-data/edits/todo-connectors/es/todo-bullet-guideline.mdfixtures-data/edits/todo-connectors/es/todo-bullet-guideline2.mdfixtures-data/edits/todo-connectors/es/todo-bullet-skill.mdfixtures-data/edits/todo-connectors/providers/agent-skills/en/todo-bullet-guideline.mdfixtures-data/edits/todo-connectors/providers/agent-skills/en/todo-bullet-guideline2.mdfixtures-data/edits/todo-connectors/providers/agent-skills/en/todo-bullet-skill.mdfixtures-data/edits/todo-connectors/providers/agent-skills/es/todo-bullet-guideline.mdfixtures-data/edits/todo-connectors/providers/agent-skills/es/todo-bullet-guideline2.mdfixtures-data/edits/todo-connectors/providers/agent-skills/es/todo-bullet-skill.mdfixtures-data/edits/todo-connectors/providers/codex/en/todo-bullet-agent.mdfixtures-data/edits/todo-connectors/providers/codex/en/todo-bullet-command.mdfixtures-data/edits/todo-connectors/providers/codex/en/todo-bullet-skill.mdfixtures-data/edits/todo-connectors/providers/codex/es/todo-bullet-agent.mdfixtures-data/edits/todo-connectors/providers/codex/es/todo-bullet-command.mdfixtures-data/edits/todo-connectors/providers/codex/es/todo-bullet-skill.mdfixtures-data/manifest.jsonfixtures-data/sets/ai-flaws/en/docs/OPS.mdfixtures-data/sets/ai-flaws/en/docs/REVIEW.mdfixtures-data/sets/ai-flaws/es/docs/OPS.mdfixtures-data/sets/ai-flaws/es/docs/REVIEW.mdfixtures-data/sets/cli-external/en/link-validation/hijoA/note-with-external-link.mdfixtures-data/sets/cli-external/en/link-validation/hijoB/spec.mdfixtures-data/sets/cli-external/es/link-validation/hijoA/note-with-external-link.md

FAQ

Что делает скилл sm-tutorial?

Interactive skill-map tutorial, a single "book" of parts and chapters that a first-time tester walks end to end. It opens with a live-UI prologue (the tester runs `sm`, opens the browser, and watches the map update as `.md` files are edited), then a menu of further parts (watch your agent light the map up in real time, the AI layer where your agent processes the queue with finders / fixers / the tagger, extend skill-map with plugins/settings/slots, the CLI in depth). The skill is invoked from an empty directory and lays its fixture there directly. State persists in `tutorial-state.json` for pause/resume. Triggers: "tutorial", "sm-tutorial", "tutorial me", "run the tutorial", "ejecuta el tutorial", "test skill-map", "advanced tutorial", "go deeper", "tutorial avanzado".

Как установить скилл sm-tutorial?

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

Скилл sm-tutorial запускает скрипты?

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

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

Сравнить sm-tutorial с