Setup
Check (read-only) or apply codebase-health audit-dimension config across userConfig, convention-home codebase-health.md, and personal override.
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Purpose
Verify and manage the consuming repo's tracked audit-dimension config at
<home>/codebase-health.md so /codebase-health:audit runs deterministically instead of
re-inferring targets every run.
The config is optional: with none, the audit re-infers its targets each run, so its absence is a
reported INFO, never a FAIL. check inspects the effective merged config read-only; apply
interviews and writes the team file, then re-runs check. No argument or check
runs the check; apply runs the check first, then the interview-and-write flow.
Idempotent: re-running reads the existing config and offers updates rather than overwriting blind.
The config layers
The layers, <home>, the root rule, and the merge semantics live in
${CLAUDE_PLUGIN_ROOT}/reference/config.md (one Read of that file; this skill implements
it and does not restate it). In short: userConfig (the dimensions_file option) → team
(<home>/codebase-health.md, tracked) → personal (<home>/codebase-health.local.md, gitignored),
globs unioned and example-claims concatenated, with an empty-list opt-out. Anchor every
repo-relative read at the repo root (git rev-parse --show-toplevel), never at the CWD.
The userConfig layer, as Claude Code substituted it into this skill (empty, or a literal
${user_config.…} placeholder, means unset):
| Option | Value |
|---|---|
dimensions_file |
${user_config.dimensions_file} |
This skill writes only the team file (<home>/codebase-health.md). It never writes userConfig,
user settings or pluginConfigs. The user sets the option through Claude Code's native flow,
interactively with /plugin configure codebase-health@<marketplace> or by a headless route, as the
marketplace's plugin-reconfiguration convention gives them in
§ The routes
(it owns the verified-version record). Apply the scope and failure-signal caveats in its
§ Caveats every setup skill's short form carries.
Whenever this skill gives the routes, read both sections and print what they give, the fallback
route, its behavior on an already-installed plugin and the scope to pass included, rather than only
naming them, and leave out the verified-version record. Never uninstall to reconfigure; that
section links what an uninstall deletes. Then rerun check in a fresh session, since a
same-session check can still show the old value, and report only an observed value.
- Pointer: for the headless command's flags, how it reports a saved or refused value, and when a saved value applies, fetch plugin CLI reference § plugin configure live.
check (read-only)
Inspect the effective merged config and report a PASS/FAIL/WARN/INFO table with one remediation
line per FAIL. Modify nothing, and do not run an audit. That is /codebase-health:audit.
- Layer presence (effective, across layers). Resolve
<home>and classify the root as the config contract says, then report each layer: thedimensions_fileoption and the file it names,<home>/codebase-health.md, and<home>/codebase-health.local.md. Report the effective merged result honoring opt-outs (dimensions present, glob counts, example-claim counts) and which layer contributes what. No layer present → INFO: the audit re-infers targets each run;applywrites<home>/codebase-health.mdto make the run deterministic. When thedimensions_filecannot be read, WARN it was not considered rather than presenting the readable layers as the whole effective config. - Retired conventions. Run
bash "${CLAUDE_PLUGIN_ROOT}/lib/check-retirements.sh" --manifest "${CLAUDE_PLUGIN_ROOT}/retirements.yaml" --root "<root>", with<root>the pathgit rev-parse --show-toplevelprinted. Never leave out--root: the helper otherwise checks${CLAUDE_PROJECT_DIR}first, a subdirectory when the session started in one. When the root does not resolve, the root rule already skips these layers: skip this step and say so. Exit 0 → PASS (anyreport-onlyTSV rows printed as INFO history; they are no longer read as config layers and cleanup is not offered). Exit 1 → one finding per active TSV row:migrateis FAIL,delete/remove-lineWARN,report-onlyINFO; remediation isapply. Exit 2 → FAIL, never silent. Bash unavailable → report the step UNKNOWN with remediation, never green. - Dimension source lists. For each dimension present in the team file, its
declared source lists parse and name real paths/globs. A dimension whose source list is
malformed or fails to parse is FAIL, naming it. A dimension deliberately zeroed (empty source
lists) by the personal or
userConfiglayer is INFO (an opt-out), reported as removed, not broken. - Tracked, not ignored. A p
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- templates/config-template.md
FAQ
Что делает скилл Setup?
Check (read-only) or apply codebase-health audit-dimension config across userConfig, convention-home codebase-health.md, and personal override.
Как установить скилл 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…