Setup
Check (read-only default) or apply review setup: standards index, docs/conventions/review.yaml, and design-smell list.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Purpose
Settle where the consumer's standards live, the adopted conventions and criteria this
plugin's review modes resolve through. By implementing the normative "Setup and migration"
section of the plugin's contract binding
${CLAUDE_PLUGIN_ROOT}/reference/standards-contract.md.
The procedure (state reading via the index presence test, the conforming-index short-circuit, the
hand-authored-README confirmation gate, interview, skeleton write, row-path validation,
directional version-delta detection with guided migration, idempotent re-run) lives there. Implement it by reference; do not restate it.
Idempotent: re-running reads the current state and offers an update rather than overwriting blind; a re-run against a conforming, current-version index proposes no changes.
Action routing per the uniform setup contract
(docs/plugin-philosophy.md
"Setup is explicit and repeatable"): no argument or check runs
the binding's state-reading procedure read-only and reports index presence and resolved
standards root, per-row path validation, and the directional version delta as a PASS/FAIL/INFO
table with one remediation line per FAIL, writing nothing. apply runs check first, then the
binding's bootstrap / reconfigure / migration flow below; after any write it re-runs the relevant
probe and reports the actual result. Non-interactive when the state admits exactly one conforming
action (the conforming-index short-circuit); the binding's explicit-confirmation gates
(hand-authored README conversion, bootstrap writes) remain explicit user decisions, never silent.
The plugin also owns one tracked settings file, docs/conventions/review.yaml, the repository
layer of its settings (keys, values and layers:
${CLAUDE_PLUGIN_ROOT}/reference/config.md; schema:
${CLAUDE_PLUGIN_ROOT}/schemas/review.schema.json). check reports it; apply writes it only
when the operator names a key or asks to change a setting, as described under
Repository settings.
The plugin owns a second tracked file, docs/conventions/review-digest.yaml, the team layer of the
review-digest concern that /review:explain-change reads (schema:
${CLAUDE_PLUGIN_ROOT}/schemas/review-digest.schema.json; keys and layers: the review-digest
convention in the marketplace repository). The shared setup-apply.mjs writer does not check list
keys (blast_radius, risk_paths), so apply writes this file itself, only when the operator asks
to change a digest setting: create it at docs/conventions/review-digest.yaml, the one path the
reader looks at whatever convention home the repository binds, with only the keys the operator
names, values taken from the schema's allowed values, list globs in double quotes, or edit the
named lines of the existing file and show the diff first. Then read the written file back from the
working tree and check it against the schema: no key the schema does not list, digest_policy one
of its values, the counts unquoted whole numbers, blast_radius only its levels, risk_paths at
most 64 globs of at most 256 characters. Report each value that fails, quoting the key and value.
Do not read it back through digest-policy.mjs: that script reads the team file only from a pull
request's base commit, never the working tree, so it ignores an uncommitted file and warns that it
is not on the base commit. Tell the operator the setting takes effect once the file is merged into
the base branch.
Repository settings
check row. Run node "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --check from the project
root and add each line it prints to the table with its own INFO, PASS or WARN prefix. INFO when the
file is absent (every key comes from userConfig or its default); PASS with each key's value when
it validates; WARN when it does not (a value outside the key's values, a key set
twice, an empty value, a key the schema does not list, a file that does not parse, or a map or list
where one value belongs), quoting the file, key and value. A key the schema does not list is
ignored: the other keys keep their PASS lines, so a valid downstream_probe floor beside it counts.
A WARN never stops a review skill: the skill names the value and drops that layer for the key the
WARN names. Any whole-file problem prints no PASS line and drops the layer for every key: a parse
error, an unknown key set twice or holding a map or list, or a refusal of the file itself (a
symlink, a hard link, a path outside the
repository, a target that is not a regular file, an unreadable file, a committed entry that is not
a regular file). apply is the fix.
apply.
- Resolve the values. With complete
<key>=<value>arguments, use them. Otherwise ask one key at a time, recommendation first, from the table in `${CLA
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- scripts/setup-apply.mjs
- scripts/setup-apply.test.sh
FAQ
Что делает скилл Setup?
Check (read-only default) or apply review setup: standards index, docs/conventions/review.yaml, and design-smell list.
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…