Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/melodic-software-setup-036c2c1d)
---
description: "Check or configure docs/conventions/verification.yaml (proof_level, live_workers, native_suggestions) and report where verification artifacts land."
argument-hint: "[check|apply] [proof_level=<path|live|strict>] [live_workers=<n>] [native_suggestions=<on|off>]"
user-invocable: true
disable-model-invocation: true
---
# Setup
## Purpose
Artifact placement is fixed by the plugin's lifecycle artifact protocol
([`${CLAUDE_PLUGIN_ROOT}/reference/artifact-protocol.md`](${CLAUDE_PLUGIN_ROOT}/reference/artifact-protocol.md)):
`/verification:confirm` writes its evidence manifest and `/verification:measure` its baselines and
raw captures into the memory slice `<memory_dir>/<slug>/`, never committed. `<memory_dir>` is `.work/`
unless the project's own instructions declare another root. Nothing about placement is configured.
The plugin owns one tracked settings file, `docs/conventions/verification.yaml`, the repository
layer of its settings, `proof_level`, `live_workers=<n>` and `native_suggestions` (values, layers and the level rules:
[`${CLAUDE_PLUGIN_ROOT}/reference/config.md`](${CLAUDE_PLUGIN_ROOT}/reference/config.md); schema:
`${CLAUDE_PLUGIN_ROOT}/schemas/verification.schema.json`). `check` reports it; `apply` writes it
only when the operator names the key or asks to set the proof level. Idempotent: re-running reads
the current state again.
## `check` (read-only)
Report a PASS/INFO/WARN table. Do not write anything.
1. **Memory root.** Look for a working-docs root declared in the repo's own `CLAUDE.md`, `AGENTS.md`,
or `.claude/rules`. Report the declared root, or `.work/` when none is declared, as INFO.
2. **Ignore state.** Run `git check-ignore -v <memory_dir>/probe/baselines/x` on a representative
file path (a bare directory misses `**` patterns). A match is PASS and names the rule. No match is
INFO: the memory root's own self-ignoring `.gitignore` is created by the first memory-slice
write, announced, so an absent guard before any run is expected.
3. **Settings file.** Run `node "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" --check` from the
project root and add each line it prints with its own prefix: INFO when the file is absent
(`proof_level`, `live_workers` and `native_suggestions` come from `userConfig` or their defaults), PASS with each
key's value when it validates, WARN when it does not (a `proof_level` outside `path`, `live`,
`strict`, a `live_workers` that is not a whole number of at least 1, a `native_suggestions` outside `on`, `off`, a key set twice, an empty
value, null, a key the schema does not list, a file that does not parse, a list or map, a
symlink or hard link), quoting the file, key and value. A key the schema does not list is
ignored: the other keys keep their PASS lines, so a valid `proof_level` floor beside it counts.
A WARN never stops `/verification:confirm`: it names the value and
drops the layer; `proof_level` then takes the user option, else `path`, `live_workers`
resolves `1`, and `native_suggestions` resolves `on` ([config.md](${CLAUDE_PLUGIN_ROOT}/reference/config.md)). `apply` is the fix. `/verification:confirm` reads the default
branch's committed copy, so say that a working-tree value takes effect once it is merged there.
## `apply`
1. **Resolve the values.** Take each key the arguments name, `proof_level`, `live_workers`, `native_suggestions` or
any combination, and use a complete `<key>=<value>` as given. For each named key without a value, ask once,
recommendation first:
- `proof_level`: `path`, the default, unless the team wants every runnable change driven live
(`live`) or per-phase unit, live and performance proof (`strict`). Before recommending `live`
or `strict`, say that a member on an older verification release does not read this file, so
the level only holds once every member has upgraded.
- `live_workers`: `1`, the default, unless the team wants the live drive split across workers
by feature-map entry point.
- `native_suggestions`: `on`, the default, unless the team wants no line suggesting a Claude Code
command only the person can run.
Never invent a key the schema does not list, and never adjust a value: the script decides
whether it is allowed.
2. **Write.** One call carrying every resolved key, each `<key>=<value>` as one quoted argument:
```bash
node "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" "proof_level=live"
node "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" "live_workers=3"
node "${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs" "proof_level=live" "live_workers=3"
```
Pass `--default <key>` as `${CLAUDE_PLUGIN_ROOT}/reference/setup-apply.md` "Defaults" says.
The script checks each value against the schema (`live_workers` takes an unquoted whole number
of at least 1, so `0`, `1.5` and `'2'` are refused), refuses a key given twice, validates the
existing file, and validates the whole resulting document before it writes. In the existing file
it overwrites only a value outside the key's values, an empty value or null; it refuses a key set
twice, a map or list in block or flow form, an empty quoted string, an unknown key set twice or
holding a map or list, or a file that does not parse; any other unknown key is named in one
warning and its line kept as written. It writes only
`<git toplevel>/docs/conventions/verification.yaml`. It resolves a symlinked root first, then
refuses a root that is `$HOME` or an ancestor of it, a symlinked `docs`, `docs/conventions` or
target, a hard-linked target, or a `docs/conventions` that resolves outside the repository,
checked again before each directory it creates and right before the write. Every refusal is
one line, exits 1 and leaves the file as it
was; a failed write removes only its own temp file. A missing file is created; a value already
in place prints `already configured`.
3. **Diff, convention-home offer and verify.** Follow `${CLAUDE_PLUGIN_ROOT}/reference/setup-apply.md` from "A file that would
change" through "Verify", with `<file>` = `docs/conventions/verification.yaml` and `<apply-script>` =
`"${CLAUDE_SKILL_DIR}/scripts/setup-apply.mjs"`.
## Output
The `check` table. After `apply`: the diff shown, the written path, the value `check` reads back
for each key written, and whether the file is tracked.
## Next
`/verification:confirm`, which resolves `proof_level` from this file on the default branch.
## What this skill does NOT do
- Run a verification pass. That is the plugin's verification skills (`/verification:confirm`,
`/verification:measure`).
- Write any settings file other than `docs/conventions/verification.yaml`, edit any ignore file
beyond the personal override line the operator confirms in the convention-home offer, or write the plugin directory or the plugin data directory (`${CLAUDE_PLUGIN_DATA}` is for caches
and generated state only).
- Write Claude Code user settings or `pluginConfigs`. The per-user `proof_level`,
`live_workers` and `native_suggestions` options are set through `/plugin configure`, not here.