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★ 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, itsorder,step_file,pace,preflight,prereq, andstatus. 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.chapternumber plus its friendly title (_core.md§Numbering); never expose the internalorderindex ("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:
Look at the raw
ls -A. Iftutorial-state.jsonis present → resume mode (see §Resume / restart in_core.md); stop here and follow that branch.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-tutorialThen re-invoke me from there. (Any path works; the point is a fresh directory.)
Even when filter-empty,
<provider_dir>/may hold.mdfiles 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
initchapter); 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 intotutorial.providerbystate initin 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.
- This terminal: the one you're using right now to talk to me (Claude Code). I show you the
Установить sm-tutorial в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic