Setup
Check (read-only default) or apply architecture setup: convention-home binding and topic doc (architecture_dir, landscape_dialect).
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Purpose
Setup for the map-landscape skill's team configuration, which lives as a convention doc at the
consumer's convention home per the consuming marketplace's config-cascade expression doctrine.
check inspects and reports PASS/FAIL/INFO with one remediation line per FAIL; apply converges
exactly two consumer artifacts, the marked pointer-line region in the root instruction file and the
topic doc <home>/architecture/README.md, and nothing else.
Action routing: no argument or check runs the check.
The key reference is ${CLAUDE_PLUGIN_ROOT}/reference/config.md (keys, topic-doc location,
resolution order, defaults). Read it first; this skill reports against that contract rather than
restating it.
check (read-only)
Run the resolver and report by exit code. The outcomes are distinct and never collapsed:
bash "${CLAUDE_PLUGIN_ROOT}/lib/resolve-convention-home.sh" --root "${CLAUDE_PROJECT_DIR}"
Then read <home>/architecture/README.md when a home resolved. Emit one table, Check | Result | Detail, with a remediation line under it for every FAIL row. The rows to cover:
| Condition | Result | Remediation line |
|---|---|---|
| Resolver exit 1: no pointer line in any root instruction file | FAIL | /architecture:setup apply home=<dir> architecture_dir=<path> writes the pointer region and the topic doc. Inference may propose a home; only your confirmation binds it. |
| Resolver exit 3: FAIL with a cause (two pointer lines in one region, unterminated or nested region, invalid pointer path, missing target directory) | FAIL | Surface the resolver's own message verbatim, then route that exact cause through apply's interview. Never guess a home around it. |
| Resolver exit 2: usage or root error | FAIL | Report the message; the environment, not the declaration, is the fault. |
Home resolved, but <home>/architecture/README.md does not exist |
FAIL | /architecture:setup apply architecture_dir=<path> [landscape_dialect=<structurizr|mermaid>] creates the topic doc at the resolved home. |
Topic doc exists and carries an unknown key, a landscape_dialect outside structurizr / mermaid, or a component_layers value that is not a comma-separated list of layer names |
FAIL | Name the offending key or value and the accepted set from the key reference. The known keys are architecture_dir, landscape_dialect, and component_layers; adr_template, adr_extra_triggers and adr_retirement belong in <home>/architecture.yaml instead. Never coerce a bad value to the default and never ignore it. |
Topic doc exists, every key known, architecture_dir declared |
PASS | Report the effective value of each key and which source supplied it (topic doc, or the documented landscape_dialect default). |
A resolver duplicate: warning on stderr (a CLAUDE.md copy of the region) |
INFO | Report it with the doctrine's remediation, remove the copy. It does not change the resolved home. |
architecture_dir has no documented default, so an absent declaration is a FAIL here rather than an
INFO: every map-* skill stops without it and points at this skill. landscape_dialect absent is a
PASS reported with its default, mermaid. component_layers absent is a PASS: it is optional, it
has no default, and only /architecture:map-components --group-by layer reads it. A present value
is a comma-separated list of layer names (letters, digits, ., _, -), ordered from outside to
inside.
check never infers a home, never writes any file, and never creates a directory.
apply (writes the pointer region + topic doc, on explicit request)
Converge, in order:
Bind the convention home. Run the resolver as in
check. Exit 0 uses the resolved home. Exit 1 proposes a home inferred from repository evidence (an existingdocs/conventions/, or the consumer's own convention directory); with no evidence, ask. Only the operator's confirmation binds a home: inference proposes, never writes. Write the pointer line inside the marked<!-- BEGIN GENERATED: convention-home -->region of the root instruction file, creating the region when absent by appending it; never edit a single byte outside the region.AGENTS.mdis canonical when present. When neither root file exists, or only a non-shimCLAUDE.mddoes, root-file shape is the downstream repository's call: recommend an AGENTS.md-canonical root with a pure@AGENTS.mdCLAUDE.mdshim, but write the region wherever the operator chooses. Exit 3 remediates that exact cause through the interview, still never editing outside the region. Create the home directory when the operator confirms a home that does not exist yet.Do this step only when
home=is supplied or a home is confirmed. Anapplythat carries neither leaves the root instruction file untouched.Converge the topic doc
<home>/architecture/README.mdfrom the arguments (architecture_dir=…, `landscape_di
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
FAQ
Что делает скилл Setup?
Check (read-only default) or apply architecture setup: convention-home binding and topic doc (architecture_dir, landscape_dialect).
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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…