Setup
Check (default, read-only) or write (apply) tracked docs/conventions/ecosystems/ECOSYSTEM.yaml build, test, and lint commands. Re-runnable.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Purpose
Inspect and configure the consuming repo's tracked ecosystem command surface per the uniform setup
contract (docs/plugin-philosophy.md "Setup is explicit and repeatable" in the marketplace
repository): check reports what is configured, apply writes it. The tracked files at
docs/conventions/ecosystems/<ecosystem>.yaml let /toolchain:check and /toolchain:lint
resolve commands deterministically from rung 1 of the ladder
(${CLAUDE_PLUGIN_ROOT}/reference/resolution-ladder.md)
instead of inferring every run or reporting a key unresolved. This skill is the ladder's
writer for rungs 2 and 3 (infer-and-persist, ask-and-persist).
Idempotent: re-running reads the existing files and offers updates rather than overwriting blind. An
unconfigured ecosystem is INFO, never FAIL: an attended run infers or asks for its commands, and a
key nothing resolves reads skip (unresolved: ...).
Action routing: no argument or check runs the check; apply runs the check first, then writes.
apply <ecosystem> scopes the whole run to that one ecosystem; when a named ecosystem's inference is
unambiguous it is written non-interactively, otherwise (or with no ecosystem argument in an
interactive session) the interview below runs.
Resolve repo root
REPO_ROOT=$(git rev-parse --show-toplevel)
Write only inside $REPO_ROOT/docs/conventions/ecosystems/, plus moving legacy
$REPO_ROOT/.claude/ecosystems/ files there per apply step 1; never the plugin directory or the
plugin data directory; configuration lives in the consumer's tracked files. Also read the legacy
$REPO_ROOT/.claude/ecosystems/.
check (read-only)
The contract schema (ecosystem.schema.json) is the single source of truth for the file shape.
Read the ladder first, then report a PASS/FAIL/INFO table; modify nothing.
- Configured ecosystems. For each
$REPO_ROOT/docs/conventions/ecosystems/<ecosystem>.yamlpresent, report the ecosystem and its resolved command surface (build-cmd/test-cmd/test-changed-cmd/check-cmd/lint-cmd/fix-cmd/code-fix-cmd). Validate each against the contract'secosystem.schema.json. FAIL a schema-invalid file (with the validation error in the remediation line), an ecosystem file excluded by.gitignore(git check-ignore -vmatches; teammates would never receive it. Report the matching rule), or an un-ignored but untracked file (git ls-files --error-unmatchexits non-zero; report "commit it to share with the team"). Otherwise PASS. If$ARGUMENTSnames one ecosystem, scope the report to just that file. WARN each file still at the legacy$REPO_ROOT/.claude/ecosystems/: readers use it only while no file of that name is underdocs/conventions/ecosystems/, and the remediation isapply, which moves it there. A legacy file shadowed by one of the same name there is not read at all; say so and name both paths. - Unconfigured ecosystems. INFO: detect which ecosystems the repo has that are not yet
configured (see the inference signals under
apply), and note that/toolchain:check//toolchain:lintresolve those through inference, and report a key nothing resolves as unresolved. The remediation isapplyto persist a command surface.
apply (idempotent)
Run check first. Then write the accepted ecosystem files. After each write, re-run the check
probe pair for that path rather than trusting the write: git check-ignore -v reports no match,
and git ls-files --error-unmatch distinguishes tracked from written-but-untracked (the
guaranteed state right after a fresh write, so report "written but untracked: commit it", never
success).
1. Read existing config first
For each $REPO_ROOT/docs/conventions/ecosystems/<ecosystem>.yaml that already exists, load it
and present a short summary. Propose moving each legacy $REPO_ROOT/.claude/ecosystems/ file
there, content unchanged, .local.yaml files included: a tracked file with git mv, an untracked
one (a personal .local.yaml the old .claude/**/*.local.* ignore line kept out of git) with a
plain move, and only once git check-ignore shows the new path ignored (else recommend the
docs/conventions/**/*.local.* line of step 5 first). With a file of the same name at both, show
the difference and keep the docs/conventions/ one unless the person says otherwise. The interview proposes changes against that baseline; nothing is dropped without the
user confirming. If $ARGUMENTS names one ecosystem, scope the whole run to just that file.
2. Infer candidates from the repo before asking
Detect which ecosystems apply from what actually exists, and draft each one's command surface from inference only: the repo's records, instructions, build files, tool configs and CI. The plugin ships no default file to seed a draft from; a key nothing implies goes to the interview, never t
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Setup?
Check (default, read-only) or write (apply) tracked docs/conventions/ecosystems/ECOSYSTEM.yaml build, test, and lint commands. Re-runnable.
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Нет, скилл состоит только из инструкций (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…