Command Palette

Search for a command to run...

Назад к скиллам
скилл № 69733

Check

Deterministic pass/fail check of a guidance dir: area.topic ids unique, each topic file listed once and present, no frontmatter, no position in two files…

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Check в Claude Code и Claude Desktop

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

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

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

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

Check

Run the check script over a guidance dir and report what it prints:

node "${CLAUDE_PLUGIN_ROOT}/scripts/check.mjs" [<guidance dir>]

With no argument it reads guidance_dir from docs/conventions/standards.yaml at the git top level (the current directory outside a repository). --help lists the rules' output shape and exit codes.

  • Exit 0: clean; stderr names the id and file counts.
  • Exit 1: each stdout line is one finding, <file>:<line>: <rule>: <message>. Report them as printed, grouped by rule. Fix one only when asked.
  • Exit 2: the dir or its README.md index could not be found or read, or the standards reader failed to run; stderr says which. Report it; it is not a finding.

If the run is refused, report the refusal and stop; never reshape the command and retry.

Which index lines and rows load is the standards reader's rule, not this script's: check runs the bundled reader over a copy of the dir and reports each line or row it drops, or its reason for refusing the whole index, as a reader finding in the reader's words. Its own rules then run over the rows the reader keeps and the topic files, from the topic-file shape the Guidance layer and its index follow:

Rule Fails when
reader the standards reader drops an index line or row, or finds no usable index
id-shape a Surface is not area.topic, each part lowercase kebab-case
duplicate-id an id is on two rows
file-listed-twice two rows name one file
missing-file a row names a file that does not exist
file-unlisted a topic file no row names
frontmatter a topic file starts with ---
too-long a topic file has more than 200 lines
position-in-two-files one position (a list item, compared without case, spacing or a final period) is in two files

Next

/engineering-guidance:add, to place a new position once the dir is clean.

Gotchas

  • A position wrapped over several lines is compared by its first line only, so two positions that share a first line and differ after the wrap are reported as one held in two files.

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

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

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

FAQ

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

Deterministic pass/fail check of a guidance dir: area.topic ids unique, each topic file listed once and present, no frontmatter, no position in two files, files within 200 lines. Use when asked to check guidance or validate a guidance index before a pull request. Loading guidance: /engineering-guidance:load.

Как установить скилл Check?

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

Скилл Check запускает скрипты?

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

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

Сравнить Check с