Command Palette

Search for a command to run...

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

Setup

Check (read-only) or apply codebase-health audit-dimension config across userConfig, convention-home codebase-health.md, and personal override.

БесплатноБез исполняемых скриптов
melodic-softwareот 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.

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.

  1. Layer presence (effective, across layers). Resolve <home> and classify the root as the config contract says, then report each layer: the dimensions_file option 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; apply writes <home>/codebase-health.md to make the run deterministic. When the dimensions_file cannot be read, WARN it was not considered rather than presenting the readable layers as the whole effective config.
  2. Retired conventions. Run bash "${CLAUDE_PLUGIN_ROOT}/lib/check-retirements.sh" --manifest "${CLAUDE_PLUGIN_ROOT}/retirements.yaml" --root "<root>", with <root> the path git rev-parse --show-toplevel printed. 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 (any report-only TSV 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: migrate is FAIL, delete/remove-line WARN, report-only INFO; remediation is apply. Exit 2 → FAIL, never silent. Bash unavailable → report the step UNKNOWN with remediation, never green.
  3. 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 userConfig layer is INFO (an opt-out), reported as removed, not broken.
  4. Tracked, not ignored. A p
Полный SKILL.md на GitHub

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

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

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

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

  • 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), без исполняемых скриптов.

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

Сравнить Setup с