Command Palette

Search for a command to run...

Назад к скиллам
скилл № 89858

Setup

Validate discipline config (check) and write docs/conventions/discipline.yaml (apply); explains native /plugin configure for personal options.

БесплатноЗапускает вложенные скрипты
melodic-softwareот 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)

  1. Read the five rendered ${user_config.…} values from the Variables block above (the three batch_* override options, research_deep_verification and lever_scope). Do not inspect or edit settings.json, settings.local.json, managed settings, or pluginConfigs directly.
  2. 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.
  3. For each set batch option, split on commas and report the parsed corrector names, and the net effect: batch_exclude drops those correctors from the batch, batch_promote runs those situational correctors every session, batch_demote gates those core correctors on relevance. With all three unset, report that the batch runs the tiers exactly as the correctors declare them.
  4. 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_exclude or batch_demote that matches no installed corrector: FAIL (typo or removed corrector); remediation: fix via the plugin configuration prompt;
    • the same name in batch_exclude and in batch_promote/batch_demote: contradictory; report it;
    • batch_promote is situational-only (read metadata.discipline-batch): promote only situational names. A promote naming a never-tier or core corrector, 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_demote naming an already-situational corrector, a no-op; INFO.
  5. Report the deep-research verification depth. research_deep_verification sets the default depth of do-your-research's fan-out tier. Report the effective value: tiered (fan subagents out only over load-bearing items) or full (subagent-verify every item). An unset value, a surviving literal placeholder, or any unrecognized string (not exactly tiered or full) all resolve to the tiered default. 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 to do-your-research (tiered or full) overrides this default per invocation.
  6. Report lever_scope. Run "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --check from the project root and report each line it prints with its own INFO, PASS or WARN prefix: INFO when docs/conventions/discipline.yaml is 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Setup с