Command Palette

Search for a command to run...

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

Realign

Apply accepted instruction-placement audit findings behind a per-item human gate (artifact-driven; whole move per finding; no blanket-approve; never…

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

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

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

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

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

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

Realign

Arguments. [finding-id ...] [--repo <repo> ...]. Default: every finding awaiting a decision, in ranked order, in this checkout. --repo and the other target forms: "Over several repositories" below

Pre-computed context

!"${CLAUDE_PLUGIN_ROOT}/scripts/precompute.sh" realign 2>/dev/null || echo "- Orientation unavailable"

Purpose

Execute what the audit found, one finding at a time, with the operator deciding each one. This is the mutating surface for audit findings (/instruction-placement:migrate is the other mutating skill, and it owns a repository's move to AGENTS.md), and the per-item gate below is the entire reason it is safe to point at a repository nobody has reviewed.

What makes these edits unusual is their target: every file this skill touches is a file that steers the agent's own behavior. A bad code edit fails a test. A bad instruction edit quietly changes what the agent does in every future session, and nothing goes red.

Read these before executing anything

Not restated here. A paraphrase inside a proposal is a drift seed.

Read For
../../context/findings-artifact.md The artifact's location, fields, status vocabulary, merge rules, and the finding-id constituents a suppression entry is keyed by
../../reference/consumer-config.md The suppression surface a decline is recorded on: its layers, its per-key merge, and the offered-never-taken rule
../../context/routing-rubric.md The hard-deny classes and what each destination means
../../context/verified-mechanics.md When the shim is what makes a nested AGENTS.md load, and why the index exists
context/apply-recipes.md The exact edit sequence per destination, and the verification each one owes

The per-item gate

Nothing mutates without an explicit acceptance of that finding, from the operator, at the moment it is presented. Say so in the run's opening line, then hold it literally.

  • One finding, one acceptance. Accepting IP-003 authorizes IP-003 and nothing else, not its neighbors, not the rest of its file, not the obvious next one.
  • Blanket approval is not the gate. "Approve everything", "do whatever the audit says", and a standing authorization from earlier in the session are all declined, out loud, with an offer to walk the findings one at a time. This is not pedantry: the whole value of the gate is that a human looked at each destination, and a blanket yes means nobody did.
  • Present before asking. The source and its line range, the destination, the exact paths: glob with its validated match count, what leaves the always-loaded budget, and the cost: that the content is not inherited by a subagent and announces itself nowhere, and post-compaction behavior for that destination. Then the deciding sentence of each record its Mechanics field names, with this run's quote-check result and label (below).
  • A decline is recorded, not argued. Write declined into the artifact and move on. A declined finding is not re-proposed by a later audit.

Recording a decline so it survives the checkout

The artifact is memory tier: branch-keyed, invisible from every other worktree, and gone with the memory root. A decline written only there is a judgment the next checkout never sees, and the operator is asked again. So a decline has two writes, and the second is what makes it durable.

  1. declined into the findings artifact. Unchanged, and still the record this branch's run reads.
  2. An entry on the tracked suppression file, <home>/instruction-placement.yaml. Here and below, <home> is the convention home that the marked pointer region in the root AGENTS.md or CLAUDE.md binds, docs/conventions when no region binds one (consumer-config.md "Layers and merge semantics"). It is not the memory-tier home the findings artifact lives under, which is gitignored and checkout-local. Git carries that file to every checkout whose branch holds the commit, which is the only mechanism that crosses checkouts at all.

The entry's five required keys, its finding_id, and the layer rules are owned by the two documents in the table above. Do not invent a format here. Four rules bind the write:

  • Offered, never taken. Show the composed entry in full (check, claim, sites, the reason in the operator's own words, date), and write it only on an explicit yes. Declining a finding and agreeing to never be asked again are two decisions, and the second silences a future report.
  • A reason is required, and it is theirs, not yours. An entry with no stated reason cannot be reviewed or retired later. If the operator gives none, ask once; if they still give none, record declined in the artifact only and say the
Полный SKILL.md на GitHub

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

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

  1. 01[ "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/quote-check.sh)"
  2. 02Bash(${CLAUDE_PLUGIN_ROOT}/scripts/precompute.sh:*)
  3. 03Bash(${CLAUDE_PLUGIN_ROOT}/scripts/glob-tools.sh:*)
  4. 04Bash(${CLAUDE_PLUGIN_ROOT}/scripts/render-index.sh:*)
  5. 05Bash(${CLAUDE_PLUGIN_ROOT}/scripts/verify-load.sh:*)
  6. 06Read
  7. 07Edit
  8. 08Write
  9. 09Grep
  10. 10Glob
  11. 11]

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

  • context/apply-recipes.md

FAQ

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

Apply accepted instruction-placement audit findings behind a per-item human gate (artifact-driven; whole move per finding; no blanket-approve; never re-judges; hard-denied safety excluded). Use when: 'apply the placement findings', 'execute finding IP-004', 'realign our instruction layer'. Not for proposing moves: /instruction-placement:audit.

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

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

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

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

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

Сравнить Realign с