Command Palette

Search for a command to run...

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

Setup

Check (read-only) or apply repo planning config: standards index (docs/standards/) and confirmed docs/conventions/planning.yaml. Re-runnable.

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Setup

Purpose

Verify and settle the planning plugin's two consumer-side concerns: where the consuming repo's standards live, the adopted conventions and criteria the planning skills ground plans in, and the repository layer of the plugin's settings, docs/conventions/planning.yaml (keys, values and layers: ${CLAUDE_PLUGIN_ROOT}/reference/config.md; schema: ${CLAUDE_PLUGIN_ROOT}/schemas/planning.schema.json). Where planning artifacts land needs no configuration: the plugin's artifact protocol (${CLAUDE_PLUGIN_ROOT}/reference/artifact-protocol.md) fixes placement.

Both concerns are optional: with no index, the pipeline uses standard engineering defaults, and with no settings file every key resolves from userConfig or its default, so either absence is a reported INFO, never a FAIL. check inspects read-only; apply resolves and persists, then re-runs check. Action routing: no argument or check runs the check; apply <key>=<value> ... runs the check, then writes the settings file and nothing else; bare apply runs the check, then the standards bootstrap, then offers the settings keys. Idempotent: re-running reads the current state and offers an update rather than overwriting blind.

check (read-only)

Report a PASS/FAIL/INFO table with one remediation line per FAIL. Modify nothing, and do not run a planning stage. Those are the pipeline skills.

  1. Standards index. The index presence test at the resolved <standards_dir>/README.md (docs/conventions/standards.yaml may relocate the root from the documented default). Absent → INFO: the standards concern is not bootstrapped; apply offers to scaffold it. A present index whose standards-contract frontmatter version is behind the plugin binding's on major.minor is INFO with the DIRECTIONAL version-delta noted (migration runs under apply). A present README.md that is hand-authored (not a conforming index) is INFO, flagged for the apply confirmation gate.
  2. Interview-rendering toggle. INFO: report the effective use_ask_user_question value, ${user_config.use_ask_user_question} (unexpanded or empty means the default false. The pipeline skills' question rounds render as inline prose). This is a native userConfig toggle, not a consumer-project file; apply gives the reconfigure guidance below.
  3. Repository settings. Run "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --check from the project root and report each line it prints with its own prefix: INFO when docs/conventions/planning.yaml is absent, PASS with each key's value when it validates, WARN for each problem when it does not (a value outside the key's list, a quoted "true" on a boolean key, a key set twice, an empty value, a map or list where one value belongs, a key outside the schema), quoting the file, key and value. An invalid value never stops a planning skill: the skill names it and drops that layer, so the row is a WARN, not a FAIL, and apply is the fix. A one-line refusal (an unsafe path, or a root that is $HOME or above it) is reported as WARN with that line.

apply (idempotent)

Run check, then, per the action routing above, write the settings file or bootstrap the standards index. Proceed non-interactively where the invocation and the repo make the values unambiguous; ask only where a choice genuinely needs the user. No silent writes. Every write is user-accepted.

Repository settings (docs/conventions/planning.yaml only)

  1. Resolve the values. With complete <key>=<value> arguments, use them. Otherwise (bare apply, after the standards bootstrap) ask one key at a time, recommendation first, from the Keys table in ${CLAUDE_PLUGIN_ROOT}/reference/config.md, and skip a key the operator leaves to each user. Recommend each key's default unless the team named a reason for another value. Never invent a key the schema does not list.

  2. Write. One call with every value:

    "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" phase_order=riskiest-first
    

    Pass --default <key> as ${CLAUDE_PLUGIN_ROOT}/reference/setup-apply.md "Defaults" says.

    The script checks each value against the schema and validates the whole resulting document before it writes; an invalid value or key exits 1 and writes nothing. It writes only <git toplevel>/docs/conventions/planning.yaml, resolves a symlinked root first, then refuses a root that is $HOME or an ancestor of it, a symlinked docs, docs/conventions or target, a hard-linked target, or a docs/conventions that resolves outside the repository, checks the path again right before the write and the rename, and writes through a new temp file in the same directory. Every refusal is one line. A missing file is created; a value already in place prints already configured and w

Полный SKILL.md на GitHub

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

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

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

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

  • evals/evals.json
  • scripts/parse-concern-value.sh
  • scripts/setup-apply.mjs
  • scripts/setup-apply.test.sh
  • scripts/yaml-subset.awk

FAQ

Что делает скилл Setup?

Check (read-only) or apply repo planning config: standards index (docs/standards/) and confirmed docs/conventions/planning.yaml. Re-runnable.

Как установить скилл Setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Setup запускает скрипты?

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

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

Сравнить Setup с