Check
Static quality gate for skills. Use when linting a SKILL.md or frontmatter before shipping, validating legacy evals.json (new cases: /evals:validate)…
от melodic-software★ 34 звезды на GitHub
Установить Check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Check
Purpose
Static, deterministic quality gate for skill authoring. The check action runs the bundled
check-skill.sh. Thirty checks with no model invocation, so results are reproducible in CI or a
pre-commit hook. The validate-evals action checks a skill's existing <skill>/evals/evals.json
(new evals are case.yaml suite cases, which /evals:validate (if enabled) checks) against the bundled JSON
schema, then runs the bundled check-evals-quality.sh, a deterministic eval-quality lint
(duplicate case ids/names, missing fixtures, empty or vague grading criteria, set-coverage
warnings) that goes beyond structure without ever running a model-graded eval. The listing-budget action runs check-listing-budget.sh, a separate, always-advisory
report on the shared listing budget every loaded skill draws from together (a different, cross-skill
limit from check's per-skill entry cap). The measure-invocation action runs
measure-invocation.sh, a repeatable probe harness that scores whether a skill's listing text
would win the requests it should.
Skills-directory resolution
The checker never assumes a repo layout (convention-resolution ladder). It resolves the skills root in this order. First hit wins:
${user_config.skills_root}. Set it when your skills live outside.claude/skills(run/skill-quality:setupto configure).${CLAUDE_PROJECT_DIR}/.claude/skills. The conventional default.
The skill passes the resolved root to the script via the CHECK_SKILL_SKILLS_ROOT environment
variable. When skills_root is configured, export it before invoking the script:
CHECK_SKILL_SKILLS_ROOT="${user_config.skills_root}" \
bash "${CLAUDE_PLUGIN_ROOT}/scripts/check-skill.sh" <skill-name>
When it is unset, invoke the script plain. It falls back to ${CLAUDE_PROJECT_DIR}/.claude/skills.
Gating a marketplace-installed skill. A plugin:skill name (e.g. source-control:setup) is
not auto-resolved: the checker resolves a bare skill name under one root and does not walk Claude
Code's plugin cache to locate an install. More than one installed version can be on disk at once,
and the checker will not guess which one you mean. To gate an installed skill, point the root at
the skills dir of the installed version you mean:
- Pointer: when locating an installed version on disk, or judging which versions stay there, fetch https://code.claude.com/docs/en/plugins/loading#find-plugins-on-disk and https://code.claude.com/docs/en/plugins/loading#cleanup-of-previous-versions live.
CHECK_SKILL_SKILLS_ROOT=<installed-version-dir>/skills \
bash "${CLAUDE_PLUGIN_ROOT}/scripts/check-skill.sh" <skill-leaf-name>
The cache is a copy, not a git checkout, so the git-backed checks (3 trigger-preservation, 8
vendor byte-identity, 9 stale-metadata, 13 committed-artifact scan) no-op against it. A "new skill /
skipped" result is expected there, not a defect. Passing a plugin:skill name unresolved prints
guidance to this effect.
Arguments
Parse $ARGUMENTS:
check <skill-name>(default action). Run the static contract gate over one skill.check(no name). Run the gate over every skill under the resolved root.check <root> [<root> ...]. Run the gate over every skill under each given root, grouped per root with aN passed, M failedrollup (e.g. every plugin's skills dir in a marketplace repo). Every root given must exist, and must be a skills root rather than a skill directory holding its ownSKILL.md; either mistake exits 2 naming the argument. A root that exists but holds no skills is named and is not an error. A skill name and a root cannot be mixed in one call. A bare argument that resolves as a skill under the already resolved root is always read as that skill, never as a root, so a relative root whose name collides with an existing skill has to be written with a path separator (./<name>) or as an absolute path.validate-evals <skill-name>. Validate one skill's<skill>/evals/evals.jsonagainst the schema.validate-evals(no name). Validate every skill's<skill>/evals/evals.jsonthat exists.listing-budget(no root). Report the shared listing-budget estimate over every listing-eligible skill under the resolved root.listing-budget <root> [<root> ...]. Pool every listing-eligible skill under each given root into one shared aggregate (e.g. every plugin's skills dir in a marketplace repo). Every root given must exist.measure-invocation(defaultvalidatethenscore). Run the description-invocation probe harness. See Action: measure-invocation.
Action: check
Resolve the skills root (above). If the directory does not exist, report it and offer
/skill-quality:setup.For a named skill, run:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/check-skill.sh" <skill-name>For no name, pass the resolved root itself rather than
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- reference/fresh-eyes-declarations.md
FAQ
Что делает скилл Check?
Static quality gate for skills. Use when linting a SKILL.md or frontmatter before shipping, validating legacy evals.json (new cases: /evals:validate), checking shared listing budget overflow, or measuring auto-invocation against probes. Not for writing skills or running model-graded evals.
Как установить скилл Check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Check запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…