Setup
Validate discipline config (check) and write docs/conventions/discipline.yaml (apply); explains native /plugin configure for personal options.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Variables
Batch exclude: ${user_config.batch_exclude}
Batch promote: ${user_config.batch_promote}
Batch demote: ${user_config.batch_demote}
Deep-research verification depth: ${user_config.research_deep_verification}
Lever scope: ${user_config.lever_scope}
Purpose
Report discipline's effective configuration and write its one repository file. The
plugin's personal options are native userConfig: three sweep-all batch-override
options (batch_exclude / batch_promote / batch_demote), the verification-depth
default of do-your-research's fan-out tier (research_deep_verification) and
lever_scope. They are personal options, held in user settings, and this skill
reads only their rendered values (check step 1). How Claude Code collects and
stores them, and which settings files it reads them from, are read live
from plugin manifest reference: where values are stored.
The plugin owns one tracked consumer file, docs/conventions/discipline.yaml, the
repository layer of lever_scope (keys, values and layers:
${CLAUDE_PLUGIN_ROOT}/reference/config.md;
schema: ${CLAUDE_PLUGIN_ROOT}/schemas/discipline.schema.json). check reports it;
apply writes it and nothing else. Personal options are never written here: they
change through Claude Code's native flow (check step 8). Action routing: no argument
or check runs the check; apply runs the check, then writes. Re-running either reads
the current state again.
Official contract: https://code.claude.com/docs/en/plugins/manifest-reference#user-configuration.
check (read-only)
- Read the five rendered
${user_config.…}values from the Variables block above (the threebatch_*override options,research_deep_verificationandlever_scope). Do not inspect or editsettings.json,settings.local.json, managed settings, orpluginConfigsdirectly. - Empty or unexpanded is unset. Treat both an empty value and a surviving
literal
${user_config.…}placeholder as unset (the key's own default applies); never read the literal token as a value. Substitution is documented at plugin manifest reference: reference a saved value, which does not say what an unset option renders. - For each set batch option, split on commas and report the parsed corrector names,
and the net effect:
batch_excludedrops those correctors from the batch,batch_promoteruns those situational correctors every session,batch_demotegates those core correctors on relevance. With all three unset, report that the batch runs the tiers exactly as the correctors declare them. - Validate the batch names against what is installed. Glob the sibling corrector
directories under this plugin's
skills/and, for each name in an override, report:- a name in
batch_excludeorbatch_demotethat matches no installed corrector: FAIL (typo or removed corrector); remediation: fix via the plugin configuration prompt; - the same name in
batch_excludeand inbatch_promote/batch_demote: contradictory; report it; batch_promoteis situational-only (readmetadata.discipline-batch): promote only situational names. A promote naming anever-tier orcorecorrector, or a name that matches no installed corrector, is a visible warning and is not promoted, never stays out of the batch, core stays core, unknown is ignored. Do not report these as successful promotes.- a
batch_demotenaming an already-situational corrector, a no-op; INFO.
- a name in
- Report the deep-research verification depth.
research_deep_verificationsets the default depth ofdo-your-research's fan-out tier. Report the effective value:tiered(fan subagents out only over load-bearing items) orfull(subagent-verify every item). An unset value, a surviving literal placeholder, or any unrecognized string (not exactlytieredorfull) all resolve to thetiereddefault. Report an unrecognized value as a WARN (typo; remediation: fix it via the plugin configuration prompt) that still falls back to tiered, never a hard failure. Note that an invocation argument todo-your-research(tieredorfull) overrides this default per invocation. - Report
lever_scope. Run"${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --checkfrom the project root and report each line it prints with its own INFO, PASS or WARN prefix: INFO whendocs/conventions/discipline.yamlis absent, PASS with the value when the file validates, WARN for each problem when it does not (a value outside the key's list, a key set twice, an empty value or empty string, a map or list where one value belongs, a key outside the schema), quoting the file, key and value. A one
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/parse-concern-value.sh
- scripts/setup-apply.mjs
- scripts/setup-apply.test.sh
- scripts/yaml-subset.awk
FAQ
Что делает скилл Setup?
Validate discipline config (check) and write docs/conventions/discipline.yaml (apply); explains native /plugin configure for personal options.
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…