Command Palette

Search for a command to run...

Back to skills
skill № 76529

Check

Build, test, and lint verification for changed files in each recorded or build-file-implied ecosystem, running only project commands and reporting unresolved…

FreeRuns bundled scripts
melodic-softwareby melodic-software★ 34 GitHub stars

Install Check in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

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:

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
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • context/gates.md
  • context/sarif.md
  • scripts/lane-record.mjs
  • scripts/lane-record.test.mjs
  • scripts/lane-record.test.sh

FAQ

What does the Check skill do?

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.

How do I install the Check skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Check skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare Check with