Delta
Read-only re-run of the instruction-placement audit reporting only placement changes, moved items, or broken rule globs since the last run above a noise…
от melodic-software★ 34 звезды на GitHub
Установить Delta в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Delta
Arguments. [--since <ISO date>] [--noise-budget <n>] [--repo <repo> ...]. Default: since the
artifact's last run, in this checkout. --repo and the other target forms: "Over several
repositories" below
Pre-computed context
!"${CLAUDE_PLUGIN_ROOT}/scripts/precompute.sh" audit 2>/dev/null || echo "- Orientation unavailable"
Purpose
A full audit is worth running rarely and reading carefully. This is the skill for the other times: it answers what moved, so a repeat run costs attention proportional to actual change.
The failure it prevents is specific. An audit re-run that re-presents the same forty findings the operator already worked through trains them to skim, and a skimmed report is how a bad migration gets approved. Reporting only movement keeps the signal survivable on a cadence.
Read these first
| Read | For |
|---|---|
../../context/findings-artifact.md |
Where the spine baseline and the findings artifact live, the status vocabulary, re-run merge semantics, the baseline-capture obligation, and the finding-id constituents a suppression entry is keyed by |
../../reference/consumer-config.md |
The suppression surface: its layers, its per-key merge, the policy-floor inversion, and the report obligations |
../../context/routing-rubric.md |
Only when a genuinely new candidate needs classifying |
This skill does not restate the merge semantics, the baseline's shape, the suppression entry format, or the home. Those documents own them; a second statement is a second drift.
Two inputs, two homes, and the reason they are different files
The spine baseline is the comparison input: a snapshot of the previous run's detector spine, in
the baselines/ slot the lifecycle artifact protocol names
(../../reference/artifact-protocol.md), branch-keyed, at
the home findings-artifact.md defines. Memory tier and checkout-local, which is right for it: a
spine is recomputed next run, and one from another checkout describes a tree this one lacks.
The suppression surface is where an operator's decline lives: the tracked
<home>/instruction-placement.yaml, resolved across its cascade layers. <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, not the memory-tier home the baseline lives under
(${CLAUDE_PLUGIN_ROOT}/reference/consumer-config.md "Layers
and merge semantics"). It is tracked because
that is the only mechanism that crosses checkouts: git moves the file, and a memory-tier baseline
never reaches another worktree. Read it, honor every entry it merges to, and
never write it: realign owns that write, behind its per-item gate.
A decline in the baseline would be a per-checkout fact, and the operator gets asked again from the next worktree. That is the bug this skill exists downstream of.
Over several repositories
With no target form, the run compares this checkout. A target form selects
several repositories, resolved, counted and listed as
${CLAUDE_PLUGIN_ROOT}/reference/target-scope.md "Target forms"
and "Resolving repositories" say. What differs here:
- One delta state per repository, in the audit's worktree. A multi-repository
auditkeeps each repository's findings artifact in its worktree on the branchinstruction-placement/realign(that skill's "Over several repositories"). Select that entry ingit -C <root> worktree list --porcelainand run the workflow there, one subagent per repository ("Fan-out" there), with--rootset to the worktree on every script call and the worktree's branch, not the pre-compute block's, as the branch identity for the home and the baseline'sbranch:gate. The baseline, the artifact merge and the capture all stay in that worktree, and each repository's own suppression surface applies. A repository with no worktree on that branch has neither input there: report it as the both-absent row and route it toaudit. - One merged report. Lead with the moved and suppressed counts per repository, then merge the
moved findings as "Merging findings" says, each written as
owner/name IP-<n>. A quiet repository is one line, not a section.
What counts as movement
Five shapes, in report order. Everything else is suppressed.
| Shape | Trigger | Why it matters |
|---|---|---|
new |
A candidate with no prior finding | The only shape that needs fresh classification |
changed |
A finding whose source content changed since the last run | Its line range is stale; realign would excise the wrong text |
broken-glob |
A rule glob the baseline recorded valid that does not resolve now |
The rule stopped firing, silently, and nobody was told. A transition, |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
[ "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/precompute.sh:*)" - 02
Bash(${CLAUDE_PLUGIN_ROOT}/scripts/detect.sh:*) - 03
Bash(${CLAUDE_PLUGIN_ROOT}/scripts/glob-tools.sh:*) - 04
Bash(${CLAUDE_PLUGIN_ROOT}/scripts/render-index.sh:*) - 05
Read - 06
Grep - 07
Glob - 08
Write - 09
]
FAQ
Что делает скилл Delta?
Read-only re-run of the instruction-placement audit reporting only placement changes, moved items, or broken rule globs since the last run above a noise budget; declined findings stay declined. Use when: 'placement delta', 'what changed since the last placement audit', 'weekly instruction-placement check', or scheduled runs.
Как установить скилл Delta?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Delta запускает скрипты?
Нет, скилл состоит только из инструкций (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…