check
Static quality gate for Claude Code skills. Use when checking or linting a SKILL.md or its frontmatter before shipping a skill or plugin, validating a skill's legacy evals.json (new cases: /evals:validate), checking whether the shared skill listing budget overflows, or measuring description auto-invocation against probes. Not for writing new skills, or running model-graded evals.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 30
- Forks
- 7
01 前言 Front Matter
- shell
- bash
- metadata
- { "summary": "Static QA gate for skill frontmatter, caps, and evals", "workflow-stage": "review" }
- description
- Static quality gate for Claude Code skills. Use when checking or linting a SKILL.md or its frontmatter before shipping a skill or plugin, validating a skill's legacy evals.json (new cases: /evals:validate), checking whether the shared skill listing budget overflows, or measuring description auto-invocation against probes. Not for writing new skills, or running model-graded evals.
- argument-hint
- [check|validate-evals|listing-budget|measure-invocation] [<skill-or-root> ...]
- user-invocable
- true
- disable-model-invocation
- false
02 资源文件 1
- 参考文档reference/fresh-eyes-declarations.md10.6 KB
03 SKILL.md 正文
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 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 enumerating by hand. The script walks every immediate subdirectory holding a
SKILL.md, runs the gate once per skill, prints a header per root and ends with the rollup:bash "${CLAUDE_PLUGIN_ROOT}/scripts/check-skill.sh" <resolved-root>To gate several trees in one run, pass each root:
check-skill.sh <root> [<root> ...]. -
Report per skill:
- PASS / FAIL / INCOMPLETE from the script's exit code (0 = pass, 1 = one or more
FAIL:lines, 3 = no failure, but a deadline left script tests unrun, each named on aSKIPline; that is not a pass). In root mode that exit code is the AGGREGATE over every skill, so the per-skill verdict is that skill's ownCHECK-SKILL <name>: PASS,CHECK-SKILL <name>: FAILorCHECK-SKILL <name>: INCOMPLETEline instead. - The
FAIL:lines verbatim (each is an actionable defect). A description/verb-contract polarity mismatch is a FAIL that blocks; fix it by correcting the listing, or use--fixin the description as the compliant override. WARN:lines grouped after failures (advisory: a trigger phrase dropped or moved vs the base ref, missing gotchas surface, action-router without evals, orphan spokes, an injection with noshell:whose commands only look portable, an injected command carrying no|| <fallback>, same-context judgment language with no fresh-eyes declaration or a stale exemption directive). A dropped-trigger warning is a review item: confirm the description still names the intent each dropped phrase carried, or restore the phrase.
- PASS / FAIL / INCOMPLETE from the script's exit code (0 = pass, 1 = one or more
-
For a multi-skill run, the script prints the rollup
N passed, M failed, and when a deadline left script tests, one more line after it counting those skills, which are in neither number. Surface both verbatim. The action is complete when everyFAIL:andSKIPline and the rollup are reported.
The FAIL: messages are self-describing. Do not re-derive their meaning; surface them and, when the
user asks, fix the cited skill. A broken-internal-ref FAIL points at a SKILL.md:<line>. Hand-verify
that line before editing, since it may be an illustrative example path rather than a real broken ref.
Action: validate-evals
This action reads only the skill-creator JSON file a skill may still carry. A skill's new evals
are case.yaml cases in its plugin's evals/ directory: /evals:design skill <name> writes them
and /evals:validate checks them. Point an author adding evals there. Under check --require-evals, check 14 passes a skill with no JSON file when a case in its plugin's evals/
lists the skill's directory name in a one-line tags: [...].
-
Locate
<skills-root>/<skill-name>/evals/evals.json. If absent, report that the skill ships no skill-creator file (not a failure) and that its suite cases, if any, are/evals:validate's. -
Read the bundled schema at
${CLAUDE_PLUGIN_ROOT}/reference/evals.schema.jsonand the skill'sevals.json. -
If a JSON-schema validator is available (
check-jsonschema,ajv, orpython -m jsonschema), run it and report conformance. Otherwise validate structurally against the schema:skill_nameand a non-emptyevalsarray are required; each case requiresid,prompt, and at least one non-empty grading criterion: a non-emptyexpected_outputstring, a non-emptyexpectationsarray, or a non-emptyassertionsarray (a case that cannot be graded is not an eval); a rich-form case may addname(kebab-case) andfiles, and any case may adddifficulty(hardorroutine),why_hard(the reason a person judged it hard) andsource(where the case came from). -
Report each violation with its JSON path, or confirm the file conforms.
-
Run the deterministic eval-quality lint over every located file, all at once. The script accepts multiple paths:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/check-evals-quality.sh" <skills-root>/<skill>/evals/evals.jsonReport its
FAIL:lines verbatim (each is an actionable defect: duplicate case ids/names, an unresolvablefilesfixture, an empty criterion item), then itsWARN:lines grouped after (advisory quality heuristics: vague criterion phrasing, thin sole-criterionexpected_output, identical prompt+files pairs, a set with no refusal/anti-pattern case, a criterion that leaves an evaluative word such as "appropriate" or "correctly" undefined, adifficulty: hardcase with nowhy_hard). The script exits 0 when only warnings remain; run--helpfor the full Q1-Q11 check list. Ifjqis absent the script exits 2. Report that the quality lint was skipped for that reason; the schema verdict from steps 3-4 still stands.
validate-evals checks structure and lint only. A suite case runs with and without the plugin,
and /evals:plugin-eval reads the delta.
Action: listing-budget
-
Resolve the root(s): explicit
<root> ...arguments if given; otherwise the same skills-root resolution ascheck(above). -
Run, with
--from-settingsso the budget is the one this machine resolves rather than the documented default:bash "${CLAUDE_PLUGIN_ROOT}/scripts/check-listing-budget.sh" --from-settings [<root> ...]Drop the flag only when the user asks what a default consumer sees; that is the form CI runs.
-
Report the printed aggregate, every budget row it was compared against with its verdict (one row, or a band of context-window sizes when no window is pinned), the source the script labels for the budget or fraction (a settings file,
SLASH_COMMAND_TOOL_CHAR_BUDGET, an override, or the documented default), and the biggest contributors when it overflows. Say that managed policy is not read. The action is complete when the report names all of those elements; the script exiting 0 alone is not the done-condition (it is advisory and always exits 0 on a successful run).--helplists the settings scopes it reads and their order.
This is a different, cross-skill limit from check's per-skill listing-entry cap
(description + when_to_use): the shared budget every loaded skill draws from together. The
script exits 0 regardless of overflow, because the live budget depends on session and policy
inputs no repository file records (the budget's basis: pointer below). Point /doctor at the live session for the authoritative resolved cost. The scripts'
encoded constants are recorded once each: in the comment above DESC_CHAR_CAP= in
${CLAUDE_PLUGIN_ROOT}/scripts/check-skill.sh and in the header
of ${CLAUDE_PLUGIN_ROOT}/scripts/check-listing-budget.sh
(scripts, so no section anchor).
- Pointer: when you need the per-entry cap, the shared budget's basis, its default, or its override, fetch https://code.claude.com/docs/en/settings-reference#skilllistingmaxdescchars, https://code.claude.com/docs/en/settings-reference#skilllistingbudgetfraction and https://code.claude.com/docs/en/skills#skill-descriptions-are-cut-short live.
Only listing-eligible skills count. The report skips a skill with
disable-model-invocation: true and counts the rest, so a skill whose description never reaches
the listing does not inflate the aggregate. The reported figure is an upper bound for a consumer
who sets skillOverrides, which repository content cannot reveal (what it frees:
Skills, "Skill descriptions are cut short").
A missing explicit root and a nonnumeric override are both
environment errors (exit 2), never a silent skip or a coerced-to-zero budget.
- Pointer: when deciding which skills' descriptions reach the listing, fetch https://code.claude.com/docs/en/skills#control-who-invokes-a-skill and https://code.claude.com/docs/en/skills#override-skill-visibility-from-settings live.
Action: measure-invocation
Repeatable probe harness for whether a skill's listing text would win the auto-invocation match.
Default method is a deterministic lexical floor (listing-overlap) that runs without a model. CI
validates the probe schema and runs the harness tests; score and compare are run by hand.
Model-graded claude plugin eval cases are emitted on demand. Contract:
reference/invocation-probes.md.
-
Resolve the probes directory. Use a directory the user supplied. Otherwise use
${CLAUDE_PLUGIN_ROOT}/probesonly when itsskill_dirpaths resolve in the current repo, which they do inside the marketplace checkout. Otherwise stop and ask for a probes directory. The shipped seed set is this marketplace's own skills; it is not a general default, andscoreexits 2 when none of itsskill_dirpaths resolve. -
Run, in this order unless the user named one sub-action:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/measure-invocation.sh" validate <probes-dir> bash "${CLAUDE_PLUGIN_ROOT}/scripts/measure-invocation.sh" score <probes-dir>validateWARNs when a should-trigger probe shares 4 or more consecutive words with the target listing (--copy-span Nchanges the span); reword such a probe the way a user would ask.compare <baseline> <treatment>prints per-skill train and validation deltas, each trigger-rate delta with a 95% interval and a "within noise" line when the interval contains 0.emit-plugin-eval [--runs N] <probes-dir> <out-dir>writesclaude plugin evalcases into an empty or new<out-dir>; runs per case come from--runs, else theplugin_eval_runssetting (README, Settings), else 3, and its INFO line names the value and layer to report. Each case checks that the target skill fired through atool_usedgrader on theSkilltool.- Pointer: when an emitted case fails to load or its grader shape is in doubt, fetch https://code.claude.com/docs/en/plugin-evals#write-a-case-manually and https://code.claude.com/docs/en/plugin-evals#grader-types live.
-
Report per skill, per split (
trainandvalidation):trigger_rateandfalse_trigger_rate, sample size, and the method name. A rewrite is compared withcompareagainstprobes/baselines/listing-overlap.jsonbeside the scored probes directory (or a later model-graded snapshot), sincecompareneeds both reports over the same skills; a delta reported "within noise" is not a gain. The action is complete when both splits are named; a single blended rate is not the done-condition. -
listing-overlapis a floor, not a model-graded auto-invocation rate. Say so when reporting. Do not treat a 1.0 positive rate on the floor as proof the description saturates live auto-invocation.
The seed probe set is two skills chosen for competitor density (skill-quality:check here,
mcp-tools:audit in the mcp-tools plugin's probes/). Fleet-wide description rewrites stay
attended.
Cross-skill invocation (doctrine)
Make one Skill call per skill a step needs. Do not instruct Skill-tool invocation of a
disable-model-invocation: true (user-invoked-only) target. Tell the user to run /plugin:skill
instead. This gate does not automate that reachability check; author
and review against the invariant.
- Pointer: when deciding whether the Skill tool can reach a target, or how many skills one
call runs, fetch https://code.claude.com/docs/en/skills#control-who-invokes-a-skill live (the
tools reference's
Skillrow links to it and has no section anchor of its own).
Next
- A FAIL or WARN to fix in a skill being authored: /playbooks:skill-authoring.
- All checks pass and the change is ready to ship: /verification:confirm.
Gotchas
measure-invocation's defaultlisting-overlapmethod is a lexical floor. A 1.0 positive trigger rate means the description already contains the request's nouns, not that live auto-invocation saturates. Report both splits and name the method.- The shipped probes are this marketplace's skills. Outside the marketplace checkout
scoreneeds your own probes directory; no script turnsplugin-evalorclaude -presults into a report forcompare. - A git repository is optional. Git-backed checks (trigger-keyword preservation, vendor
byte-identity, stale-tracking metadata, committed-artifact scan) skip with a note when cwd
is outside a repo. Marketplace plugin-cache installs are plain trees. Set
CHECK_SKILL_SKILLS_ROOT(orCLAUDE_PROJECT_DIR) so the non-git checks still resolve a skills root; without either and without a git toplevel, the script exits 2 naming the missing root. - Check 31 (a
${user_config.KEY}token as a condition with no fallback) FAILs only where a settings-token baseline applies:CHECK_SKILL_SETTINGS_TOKEN_BASELINE, or the bundled default when the checker runs from the repository holding the skill. In a consumer repository or a plugin-cache tree its hits are WARNs; set that variable to your own baseline file (empty for none) to make them block. check-skill.shrunsnpx markdownlint-cli2for check 6; whennpxis absent that check downgrades to a WARN rather than failing, so a run on a machine without Node still gates on every other check.- Check 6 defers to the skill's own repo markdownlint config. The checker runs
markdownlint-cli2from the top level of the git repo holding the skill, so a repo-root.markdownlint-cli2.jsoncapplies whichever directory or root you started from (where it discovers config: markdownlint-cli2 README, "Configuration"). A skill in no git repo (a marketplace-installed skill in the plugin cache, which has no config) is linted where the checker stands, and markdownlint applies its DEFAULTS, so rules a repo deliberately disables (commonlyMD013line-length for injection blocks and tables,MD041first-line-heading for a frontmatter/H2 start,MD060table-pipe style) fire as spurious failures on a skill that passes in-repo. This is the usual cause of a "shipped marketplace skill fails the marketplace's own gate" report: it is a wrong-config artifact, not a real regression. Injection blocks are not special-cased. A declaredshell:block with long lines is MD013-subject like any other content; whether it fails is entirely the consumer's markdownlint config's call (disableMD013, or wrap the lines), never something this gate overrides. In this marketplace's own CI the division of labor is explicit: the skill-quality gate skips markdownlint (CHECK_SKILL_SKIP_MARKDOWNLINT=1in the repo'scheck-changed-skills.shgate) and the hygiene lane lints all repo markdown, SKILL.md included, under the repo config. In root mode each skill is linted from its own repo's top level, so a root such asplugins/<x>/skillsgets the repo-root config, not the defaults. A dispatched tree that ships no config still gets markdownlint's defaults, exactly as the paragraph above describes. - Trigger-keyword preservation compares the working tree against
HEADby default, so a brand-new skill (no committed version) skips check 3. That is expected, not a silent pass. For a post-commit audit (whereHEAD== the working tree hides an already-committed change), setCHECK_SKILL_BASE_REFto a ref before the change (e.g.HEAD^or a merge-base) and run on a clean tree; it reroutes checks 3/8/9. - Check 1 accepts any frontmatter
modelthat is a single non-empty token (inherit, an alias, or a model id, including provider ids with:,/or@such as Bedrock ids and ARNs) and fails an empty or whitespace-containing value. The field is optional. What the runtime does with a named model it will not use is runtime behavior, not a second finding.- Pointer: when the accepted values or the runtime fallback are in doubt, fetch
https://code.claude.com/docs/en/skills#frontmatter-reference (the
modelrow) live.
- Pointer: when the accepted values or the runtime fallback are in doubt, fetch
https://code.claude.com/docs/en/skills#frontmatter-reference (the
- Check 1 also fails an unquoted plain
descriptionwith a colon followed by a space on any line, or a line ending in a colon (a YAML mapping indicator). A quoted or block-scalar description may contain it. - Check 3 (trigger-keyword preservation) is advisory: it warns on a dropped phrase and never fails
the run. It tracks single-quoted
'phrase'triggers and each unquoted comma-separated item of a field'sUse whenclause, up to the period or semicolon that ends it. A dropped phrase found verbatim in a sibling skill's description/when_to_use under the same skills root, where the sibling did NOT already carry it at the base ref, is a trigger MOVE and warns naming the host, because the listing still routes the phrase. A phrase absent everywhere, or one the sibling carried all along (coincidental overlap, not a move), warns as dropped and asks the reviewer to confirm the description still names the intent the phrase carried (a deliberate consolidation of near-synonym triggers into an intent category) or to restore it. Treat that warning as a review item, not noise. - Check 19 (injection shell-declaration) FAILs only when a
!injection carries detectable bash-only syntax (/dev/null,command -v, a pipe into a Unix text tool) AND noshell:is declared; portable-looking commands downgrade to a WARN, since static analysis cannot prove portability. Ashell:declaration is trusted wholesale. The check does not validate that the injected commands actually match the declared shell (soshell: pwshwith bash-only commands is out of scope). Both checks 19 and 20 scan the injected command text only. A bash-only token in a plain```bashexample or in prose never trips them. - Check 21 (fresh-eyes declaration conformance) is WARN-only on its judgment-language heuristic;
only a malformed or reason-less
fresh-eyes-exemptdirective FAILs. Its proximity window is per-file, so a declaration living in a referenced spoke file cannot satisfy it. The WARN says so; hand-verify before editing. Literal directive examples belong inside code fences (both detectors are fence- and inline-span-aware); a bare<class>placeholder in prose FAILs as an unknown class. Spec:reference/fresh-eyes-declarations.md. - Check 18 (precompute opportunity) is an advisory heuristic, never a FAIL. It cannot tell an
instruction-to-run shell block from an illustrative example, so a WARN is a candidate to judge, not a
defect. Like a check-5 ref, hand-verify the block before converting it. It reads only fenced shell
blocks (not prose "run
git statusfirst") and stays silent whenever the skill already uses any!injection, so it under-reports by design; a clean run is not proof there is no precompute opportunity. A block qualifies only when every line is an allowlisted reader (ls,cat,find,wc, a read-onlygitsubcommand such asstatus,logordiff, aghread verb such asvieworlist) with no redirection, substitution, chaining or pipe other than a trailing|| echofallback. A WARN line names no block, so finding it means reading the skill's fenced shell blocks. - Check 23 (completion-criteria signal) is an advisory heuristic, never a FAIL. It fires only when a
numbered procedure of three or more steps carries NO completion-signal token at all. It detects
the absence of any done-condition, and cannot grade whether a stated criterion is observable or
good; its broad token set means it under-reports by design. The write-side doctrine whose floor it
checks is
docs-hygiene:write-for-agents(steps state observable completion criteria; guard premature completion, post-completion obligations, and legwork). When authoring new agent docs or fixing a flagged procedure, invoke/docs-hygiene:write-for-agentsvia the Skill tool. - Check 24 (explicit invocation mode) FAILs a marketplace plugin skill (
plugins/*/skills/*) whose frontmatter omitsdisable-model-invocation, and only WARNs anywhere else, so a consumer's own skill is informed by this fleet's convention rather than broken by it (the key's default: Skills, "Frontmatter reference"). A non-boolean value FAILs everywhere: the check reads the bare scalar, so a quoted"false"fails as the YAML string it is, while a trailing# commentnaming the exception class is fine. The rubric that owns the decision, the model-invoked default and the only three exception classes atruemay claim, isdocs/contracts/invocation-mode/README.md. Class attribution is NOT machine-checkable: only asetupskill'strueis deterministic (class (ii), the plugin-philosophy setup contract), so every othertrueemits a note to hand-verify rather than a warning no scan could clear. - Check 25 (description/verb-contract polarity) FAILs on a listing-surface mismatch between the
description lead (before
Use when:) and the Naming verb contract or the body: a report-only leaf (audit/scan) whose lead advertises mutation without an explicit override, a mutate leaf (clean/tidy/fix) whose lead claims read-only/report-only, a read-only lead whose body mutates on bare invocation, or a mutate-advertising lead whose body claims the skill never mutates.--fixin the listing is the compliant override shape and clears a report-only verb. Out of scope: whether anyauditskill should gain a--fixpath, and any rename. Trigger phrases, "read-only by default", the noun "remediation", and a negated "or rewrites" list do not advertise mutation. check-evals-quality.shrequiresjq(exit 2 without it, and the schema validation ofvalidate-evalssteps 3-4 is unaffected). Its WARN-tier checks (Q5-Q11) are lexical heuristics: Q9 (set-coverage) detects refusal/anti-pattern cases by wording, so a set whose guardrail case phrases the prohibition unusually can WARN despite covering it. Read the set before adding a case. It deliberately does not flag low case count: the marketplace's low eval volume is a recorded divergence from the evaluation guidance.check-evals-quality.shresolves each case'sfilesentries relative to the skill directory first, then the evals directory. An entry that is prose (environment description) rather than a real path FAILs Q4. Describe environment state in the case'spromptparenthetical instead, or ship a fixture. Whenfilesis empty/absent, path-shaped tokens inprompt/expected_outputthat resolve nowhere WARN under the same Q4 roots unless the case setsnarration: true.- A clean
listing-budgetreport is a signal to investigate against/doctorin a live session, not a guarantee nothing is dropped there. In this marketplace's own repo, each plugin owns its ownplugins/<plugin>/skills/root, so gating the whole marketplace means pooling every plugin's root into one call (check-listing-budget.sh plugins/*/skills) rather than running it once per plugin in isolation. The marketplace's CI workflow runs that pooled call as a dedicated step on every run. check <root> ...pools nothing across roots. Each skill is gated by its own child run carrying its own root, so the cross-skill scans stay per root: check 3's trigger-move scan looks for a moved phrase only among siblings under the same root, check 5's sibling-ref resolution only names a sibling under the same root, and the/plugins/<x>/skillsplugin-root detection behind the evals-warrant lookup is derived per root. Two roots in one call are two independent scans sharing one rollup, never one merged corpus. Pooling them would change what those checks mean, which is why it is not done.listing-budgetis the opposite by design: it pools, because the budget it reports is the shared one.- In root mode each skill is gated with the DISPATCHED tree's git context, never the caller's.
Every git-backed check (3 trigger preservation, 8 vendor byte-identity, 9 stale metadata, 13
committed artifacts) joins two values that both derive from the working directory: the repository
root, and the skill's path within it. A child left at the caller's directory takes those from two
different repositories and reports one against the other, so a path tracked in your repo
surfaces as a finding against a skill that lives somewhere else entirely. Each child therefore
runs at its own root. A root outside any repository skips the git-backed checks with their usual
named notes rather than borrowing the caller's repository, and
CHECK_SKILL_BASE_REFis resolved against the dispatched repository, so a ref that exists only there is accepted and one absent there is an environment error in that child. - One resolved root stays the DEFAULT deliberately. An explicit root list is how you widen coverage; the resolution ladder never grows on its own to the union of every skills tree in reach. Widening the default would silently widen every existing consumer's gate, including this repo's CI, so broader coverage is something a caller asks for rather than something the ladder decides for them.
04 同仓库更多 Skills
track
Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.
reviewer-media
Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from /review:explain-change's digest, has /explainer-video:produce render it and hands the manifest to /source-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
principles
Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is /architecture:improve.
write
Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').