Command Palette

Search for a command to run...

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

add-scope-walkthrough

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

Add a generated in-product walkthrough (a training module) for a permission scope, e.g. manage:PinnedItems, manage:Space, manage:SavedChart. Use when the user…

lightdashот lightdash★ 6 265 звёзд на GitHub

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

Add a scope walkthrough

A walkthrough teaches one permission scope by having a learner click the real UI, step by step, inside their own copy of the training project. Nothing about a walkthrough is written by hand: steps come from markers placed beside the ability checks that gate the controls, titles come from the controls' own hints, explanatory text comes from docs sentences, and the result is proved by a recorded flow. This skill is the recipe. Follow it in order; every rule below was settled in review and the checker (CS-209) will enforce them.

Rules that never bend

  1. One control per step. The learner clicks exactly one thing per step; the step is titled by that control's hint.
  2. The learner navigates. The tour never changes the page for them, except into their fresh training copy at the start. Page changes are their own clicks on spotlighted controls.
  3. Only the highlighted control is clickable. Everything else is blocked, including clicks that would close a menu.
  4. No Back. No Next on click steps. The final target is inert until Got it.
  5. Typing needs a suggestion. If the product already supplies a value (a suggested chart name, a preselected space, an agent's suggested question), the step is "accept it" with one click. If it does not (a dashboard's name), the step is typed: mark the field data-tour-input="true" and give it data-tour-suggest="...", a value that fits the seeded content; the card offers it with a Use it button and the learner may type their own instead. A typed step with nothing suggested fails the checker. Do not invent a product default just to avoid the typed step.
  6. Explanatory text comes from the docs, cited by section and sentence. Labels and hints are short imperatives; they never explain.
  7. Representative content. Steps that pick one of many (a space, a table, a chart) name the seeded item by label so the walkthrough reads like the learner's own project. Take names from the seeded content (step 3), never invent them.
  8. The result must be visible. Every walkthrough ends on the surface where the change shows, reached by the learner's own clicks (or where the action itself lands). A result with several parts (an agent reply has its words, its chart and its rating controls) gets one look per part, each cited from the docs, so nothing on the screen goes unexplained.
  9. A step is not over while the page is working. If the result arrives over time (an agent reply, a query), mark the working surface data-tour-busy and its status words data-tour-status; the closing step then holds Got it and mirrors the product's status until the work is done. Between steps, a control that has not appeared yet is waited for as a beacon; no card shows until the control is there.

Vocabulary

Markers and anchors are data-tour-* attributes in packages/frontend/src. The generator (scripts/scope-tours/generate.ts, run with pnpm scope-tours:generate) reads them and writes packages/frontend/src/features/scopeTours/generated.ts. Read the header comment of the generator before you start; it is the contract.

Attribute Where Meaning
data-tour-scope, data-tour-step the control the scope unlocks (step 2) and the surface showing the result (step 1) which walkthrough, and the marker's order
data-tour-covers interactive action marker additional comma/space-separated scopes taught by the same controls and observed result; reuses the primary selectors, and cannot replace another primary tour. The library shows the lesson once, labelled with the lowest role that holds any of its scopes, and finishing it completes all of them; a scope that needs different teaching gets its own walkthrough instead
data-tour-route markers page the marker lives on (informational)
data-tour-label markers the step title, a short imperative ("Click Pin to homepage")
data-tour-docs markers file#anchor[:pN][:n or a-b] docs sentence(s) for the body; file#intro is the page's text before its first heading; :liN the Nth list item of the section
data-tour-interactive="true" the action marker the learner clicks it; the tour advances on that click
data-tour-via the action marker click path to it: [sel] >> [sel] >> ...
data-tour-then the action marker clicks after it that complete the action (a confirm)
data-tour-return the result marker click path back to the result at the end; none when the action lands there; default is the home link
data-tour-resultdocs the result marker docs sentence for the closing step
data-tour-result="n" + label + docs further surfaces of the result (the answer text, the chart, the rating controls) one closing look each, in order, after "See the result"; a result that has parts gets a step per part
data-tour-look="n" + data-tour-after='<sel>' + label + docs a surface worth a look on the way (a tile while the
Полный SKILL.md на GitHub

Установить add-scope-walkthrough в Claude Code и Claude Desktop

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

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

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

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

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

Read
Edit
Write
Glob
Grep
Bash

FAQ

Что делает скилл add-scope-walkthrough?

Add a generated in-product walkthrough (a training module) for a permission scope, e.g. manage:PinnedItems, manage:Space, manage:SavedChart. Use when the user wants a new training lesson, tour, or walkthrough for a Lightdash feature, or asks to teach a scope. Produces markers and anchors in the frontend, a generated tour, and a recorded verification flow; never hand-written steps or prose.

Как установить скилл add-scope-walkthrough?

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

Скилл add-scope-walkthrough запускает скрипты?

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

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

Сравнить add-scope-walkthrough с