Check
Build, test, and lint verification for changed files in each recorded or build-file-implied ecosystem, running only project commands and reporting unresolved…
от melodic-software★ 34 звезды на GitHub
Установить Check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Check
Arguments. [ecosystem] [--unattended] [--propose-records <dir>]. e.g., /toolchain:check dotnet, /toolchain:check python, /toolchain:check all, /toolchain:check --unattended. Default: auto-detect from git status
Repository context. Gather first
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Working tree status (empty = clean),
git status --porcelain | head -20 - Current branch,
git branch --show-current
Purpose
Detects the ecosystems the changed files touch and runs each one's build → test → lint. Run it as /toolchain:check or /toolchain:check <ecosystem>. /toolchain:lint, /verification:confirm (if enabled) and verification agents compose it for detection and command resolution instead of keeping their own tables.
Commands are resolved, not hardcoded: the three-rung ladder in ${CLAUDE_PLUGIN_ROOT}/reference/resolution-ladder.md reads the consuming repo's tracked docs/conventions/ecosystems/<ecosystem>.yaml (or the legacy .claude/ecosystems/ file for a name absent there) first, then infers from its build files, then asks. The plugin ships no default command: a key nothing resolves is reported unresolved and runs nothing.
Arguments
$ARGUMENTS is an optional ecosystem filter: any covered ecosystem id, meaning one recorded, stated or inferred this run (resolution ladder "Covered ecosystems"), except the lint-only yaml and cross-cutting. A consumer record such as docs/conventions/ecosystems/rust.yaml makes rust a filter. Aliases: ts/node → typescript, shell → bash, ps/pwsh → powershell, md → markdown, golang → go. Literal all runs every covered ecosystem. The lint-only yaml and cross-cutting surfaces belong to /toolchain:lint; this skill never runs them (and never matches cross-cutting's ** glob).
--unattended marks the run unattended; strip it before reading the ecosystem filter. A run without it is still unattended when the ladder's "Run kind" says so, including a run that cannot tell whether a person is present. An unattended run resolves commands by the ladder's "Unattended runs": it runs only a recorded, stated or inferred command, logs each as assumed: with its source, asks nothing, installs nothing, writes no docs/conventions/ecosystems/ or legacy .claude/ecosystems/ record, and reports a key nothing resolved, or a tie, as skip (unresolved: <ecosystem>.<key>).
--propose-records <dir> drafts ecosystem records from the run's assumed: lines into <dir> (section 5); strip it and its value before reading the ecosystem filter. Only an unattended run drafts; an attended run ignores the flag, says so, and offers /toolchain:setup as usual.
Read on demand:
- context/gates.md. CI-parity gates
- context/sarif.md. Roslyn SARIF output, jq parser patterns, AI consumption
Workflow
0. Resolve repo root
Run git rev-parse --show-toplevel as its own Bash call, and write its output in place of $REPO_ROOT in every later command. What persists between Bash calls: Tools reference § What persists between commands.
All commands use absolute paths. Never cd and lose context.
1. Detect ecosystems
First add each ecosystem the repo's instructions state or its files infer, per the ladder's "Covered ecosystems". With an ecosystem argument, use it; with all, run every covered ecosystem. Otherwise match the changed files from git status --porcelain against each covered ecosystem's resolved globs. When another skill calls this one with a changed-file list, use that list instead. Skip any ecosystem whose resolved enabled is false, even under all.
If the working tree is clean, fall back to the branch diff, so work already committed at green checkpoints still gets classified. Detect the default branch, never hardcode main or master, with this script as written:
REMOTE="" DEFAULT_BRANCH=""
TRACKED=$(git config "branch.$(git branch --show-current | tr -d '\r').remote" 2>/dev/nu
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- context/gates.md
- context/sarif.md
- scripts/lane-record.mjs
- scripts/lane-record.test.mjs
- scripts/lane-record.test.sh
FAQ
Что делает скилл Check?
Build, test, and lint verification for changed files in each recorded or build-file-implied ecosystem, running only project commands and reporting unresolved ones. Use when: 'does it compile', 'run tests', 'does this still build', or after code edits. Not for lint only: /toolchain:lint; outcome verification: /verification:confirm.
Как установить скилл Check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Check запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…