check
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
Pre-computed context
Working tree status: !git status --porcelain 2>/dev/null | head -20 || echo ""
Current branch: !git branch --show-current 2>/dev/null || echo "unknown"
Purpose
Detects affected ecosystems from changed files and runs each one's build → test → lint. Serves two roles:
- Task skill —
/toolchain:checkruns build verification for changed files./toolchain:check dotnettargets one ecosystem - Reference skill — its sibling
/toolchain:lint, theverificationplugin's/verification:confirm(when installed), and verification agents compose this for detection and command resolution instead of baking their own tables
The command surface is resolved, not hardcoded. Both /toolchain:check and /toolchain:lint resolve each ecosystem's build/test/lint commands through the shared four-rung ladder in ${CLAUDE_PLUGIN_ROOT}/reference/resolution-ladder.md: the consuming repo's tracked .claude/ecosystems/<ecosystem>.yaml is authoritative when present; the plugin's bundled portable defaults at ${CLAUDE_PLUGIN_ROOT}/reference/ecosystems/ are the rung-4 fallback. The consumer's file always wins.
Arguments
$ARGUMENTS — optional ecosystem filter. If provided, run only that ecosystem. If omitted, auto-detect from changed files.
Available ecosystem filters are the ecosystems /toolchain:check covers: dotnet, python, typescript, bash, powershell, markdown, go (resolved per the ladder). Common 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 are not run by /toolchain:check — use /toolchain:lint for those.