Command Palette

Search for a command to run...

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

Setup

Check mutation-testing prerequisites, baseline, config layers, and suppressions (`check`), or configure team/local files or user guidance (`apply`).

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

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

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

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

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

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

Setup

Purpose

Establish the four things /mutation-testing:audit cannot infer repeatably at run time: which tool, which diff target, which operators, and where arid-node suppressions live.

Configuration is optional: with none at any layer, the audit falls back to tool: manual, the diff target from origin/HEAD, the changed source files and the effort cap, and asks the user for the test command, which it never guesses. Configure anyway for a repeatable run. A mutation run drives the project's own test runner against deliberately broken source; a guessed tool or diff target either does nothing or does something expensive, and the config records the answers once. Check-centric per the uniform setup contract (docs/plugin-philosophy.md "Setup is explicit and repeatable" in the marketplace repository): check inspects read-only; apply interviews and writes, then re-runs check. No argument or check runs the check; apply runs the check first, then the write flow. apply takes the target layer as its next word: team (the default), local or user (apply by layer).

The config merge model

The config resolves across three layers, lowest first: the user layer (userConfig) → team (${CLAUDE_PROJECT_DIR}/docs/conventions/mutation-testing.yaml, a YAML file validated by ${CLAUDE_PLUGIN_ROOT}/schemas/mutation-testing.schema.json) → personal override (${CLAUDE_PROJECT_DIR}/docs/conventions/mutation-testing.local.yaml, the same keys, gitignored), later layers overriding scalars and unioning lists. Both files sit where config locations puts the team and personal layers.

Old .claude/mutation-testing.local.md files are not read.

The team file of earlier releases, .claude/mutation-testing.md, is retired and never read as a layer. While it exists, check probe 6 reports it as INFO, which gates nothing, naming apply as the move, or, once the YAML file exists, deleting it; apply step 7 carries its keys over.

There is no user-global file, and ~/.claude/mutation-testing.md is never read: a per-person value lives in this plugin's userConfig, which Claude Code prompts for and stores. It carries two keys that mean the same thing in every repository, operators and max_mutants (the config's max-mutants); their rendered values are:

  • operators: ${user_config.operators}
  • max_mutants: ${user_config.max_mutants}

An empty value or a surviving literal ${user_config.…} token is unset. A value outside the key's range (operators other than default or narrow, max_mutants not a whole number of at least 1) is reported with its key and value and dropped. The other keys are per repository, test-command above all, so they are never read from userConfig. Report explicitly when a personal override changes the team file's effect, and warn when a layer cannot be read, rather than silently presenting the team file as effective.

The arid-node suppression record is a separate surface, .claude/mutation-testing-arid.md, shaped by the finding-suppression convention. Keeping it separate from the config keeps the config reviewable: a config diff is a policy change, a suppression diff is an accepted finding.

Its layering is not the config's, and the difference is the whole point. The config's later layers override; the suppression record sits in the cascade's policy-floor precedence-inversion class, so on a conflict for the same finding_id the team layer wins, and a personal-layer entry for an id the team layer does not carry does not suppress at all. It is reported personal-only, not applied. A personal layer is a draft surface here. Treating it as "layered the same way" would let one developer silently hide a finding the team never accepted. The full contract, including id derivation and the four dispositions, is owned by the audit skill's ${CLAUDE_PLUGIN_ROOT}/skills/audit/context/suppression.md.

check (read-only)

Report a PASS / FAIL / INFO table with one remediation line per FAIL. Modify nothing, and do not run a mutation analysis. That is /mutation-testing:audit.

  1. Ecosystem and tool resolved. The configured tool key (probe 6) is this choice's record; read it first. With none, resolve the ecosystem and its mutation tool by steps 3, 4 and 7 of the plugin's ecosystem-resolution copy, asking and recording nothing here. Report the tool and the file it came from. Nothing resolves → INFO naming the manual path in the principles skill's tooling.md, not FAIL.
  2. Tool present and runnable. Invoke the tool's own version command. Absent → FAIL with the install line for this ecosystem. Present but erroring → FAIL quoting the error; a tool that installs but cannot start is the common case and is worth distinguishing. A configured tool id with no shipped adapter (p
Полный SKILL.md на GitHub

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

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

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

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

  • templates/config-template.md

FAQ

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

Check mutation-testing prerequisites, baseline, config layers, and suppressions (`check`), or configure team/local files or user guidance (`apply`).

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

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

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

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить Setup с