Setup
Check (read-only) or apply repo planning config: standards index (docs/standards/) and confirmed docs/conventions/planning.yaml. Re-runnable.
от 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.
- Standards index. The index presence test at the resolved
<standards_dir>/README.md(docs/conventions/standards.yamlmay relocate the root from the documented default). Absent → INFO: the standards concern is not bootstrapped;applyoffers to scaffold it. A present index whosestandards-contractfrontmatter version is behind the plugin binding's on major.minor is INFO with the DIRECTIONAL version-delta noted (migration runs underapply). A presentREADME.mdthat is hand-authored (not a conforming index) is INFO, flagged for theapplyconfirmation gate. - Interview-rendering toggle. INFO: report the effective
use_ask_user_questionvalue,${user_config.use_ask_user_question}(unexpanded or empty means the defaultfalse. The pipeline skills' question rounds render as inline prose). This is a nativeuserConfigtoggle, not a consumer-project file;applygives the reconfigure guidance below. - Repository settings. Run
"${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --checkfrom the project root and report each line it prints with its own prefix: INFO whendocs/conventions/planning.yamlis 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, andapplyis the fix. A one-line refusal (an unsafe path, or a root that is$HOMEor 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)
Resolve the values. With complete
<key>=<value>arguments, use them. Otherwise (bareapply, 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.Write. One call with every value:
"${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" phase_order=riskiest-firstPass
--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$HOMEor an ancestor of it, a symlinkeddocs,docs/conventionsor target, a hard-linked target, or adocs/conventionsthat 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 printsalready configuredand w
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…