Recheck Against Upstream
Re-anchor existing state (config, code, doc, setup, subsystem, infra) is not proof of correctness; check/audit against current official upstream vendor doc…
от melodic-software★ 34 звезды на GitHub
Установить Recheck Against Upstream в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Recheck against upstream
A drift corrector for the discipline that existing state does not vouch for
itself. The shared method (re-anchor, audit the work in flight, correct
forward, report) lives in${CLAUDE_PLUGIN_ROOT}/context/re-anchor-audit-correct.md.
Read it; this file adds only what is specific to upstream-conformance
discipline.
The discipline this re-anchors
Existing state, a config file, a code path, a runbook, an infra
definition, is evidence of what is, never proof that it matches the
upstream it depends on. Resolve the source of truth per the method doc's
ladder: if the consuming project states an upstream-conformance rule in its
own CLAUDE.md / .claude/rules/, re-anchor that. Otherwise re-anchor this
portable baseline:
- Present state is not self-justifying. "It's already configured this
way" and "the code does X" describe the state; neither shows it still
matches upstream. Conformance is a claim to verify, not to assume. - Compare against the current official upstream, fetched now. Re-read
the vendor's live documentation for the surface in play this session, never training-data recall of it, never a stale in-repo summary of it.
Read each docs page through the shared docs lookup, not a WebFetch
summary: the procedure is${CLAUDE_PLUGIN_ROOT}/reference/docs-lookup-procedure.md. Read it before
the first fetch and follow it, with<scripts>=${CLAUDE_PLUGIN_ROOT}/scripts(fetch-docs.sh --cache) and<session>=${CLAUDE_SESSION_ID}. Report each page's age. A read that settles a
verdict uses raw bytes (the procedure's step 6). A source that is not a
docs page, such as a changelog repository or GitHub release notes, keeps
its existing route. - Resolve the applicable upstream version first. When the repo pins a
supported major/minor, compare against the docs for that version. The
latest docs can legitimately prescribe APIs and defaults the pin does not
have. Divergence between the pinned line and latest is its own finding
(upgrade candidate or deliberate hold), never a false gap against the pin. - Unverified conformance is not "clean". A surface you did not compare
is unaudited, not passing. Report what was compared and what was skipped;
do not launder the unchecked into a green result.
The loop's audit step. Classify each divergence
Run the method doc's audit as a compare-and-classify pass. For the surface
in flight, fetch the current upstream docs through the lookup above, diff the
repo's state against them, and sort every divergence into one of three categories:
- Gap. Docs say X, we do Y, and no rationale is recorded anywhere in
the repo. Treat as a straight defect to correct toward upstream. Call out
deprecation and version drift here: a flag upstream renamed, a default it
changed, an API it marked deprecated is a gap even when the old form
still functions today. - Deliberate divergence, a rationale is recorded in the repo's docs or
an ADR. Do not "correct" it. Audit only whether it still holds against
the current docs: upstream may have shipped the very thing the workaround
was written to route around, obsoleting the recorded rationale. Report-
only when the rationale still holds; flag it when the docs have overtaken
it. - Undocumented divergence, the state looks intentional but no written
rationale exists, so the correct resolution is the human's call: adopt
the docs' way, or keep the divergence and record its rationale. Route the
resolution to the repo's ADR / docs convention (read it from the
consuming project's own instruction layer); do not silently pick a side.
Correct each forward now per the method doc: fix gaps toward upstream,
re-check that deliberate divergences still hold, and surface undocumented
ones for the human with both options stated. Where your own reading of the
docs is the suspected source of error, re-verify in a fresh-context
subagent. Resolve the verification level once withbash "${CLAUDE_PLUGIN_ROOT}/lib/read-verification.sh" --plugin discipline --skill recheck-against-upstream --file docs/conventions/discipline.yaml
and report its line (levels):light and off skip that subagent and the fan-out tier's dispatch, as the method doc andfan-out.md say.
The fan-out tier
The inline recheck of the surface in play is the default. Take the fan-out
tier instead when the invocation argument is fan-out, or when the request
covers a whole subsystem, framework, or repo that leans on many upstream
contracts at once. The optional scope argument names what to cover. A single
surface or a short session stays inline: there the fan-out's subagent cost
buys nothing.
Never inside a batch or a fork. When this skill runs as a member of a
`/discipline:
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- reference/fan-out-tier.md
FAQ
Что делает скилл Recheck Against Upstream?
Re-anchor existing state (config, code, doc, setup, subsystem, infra) is not proof of correctness; check/audit against current official upstream vendor doc for upstream drift/change (inline, fan-out, --repo). Use when 'recheck against upstream', 'is our config still current', 'verify against the official docs', did upstream change, still right.
Как установить скилл Recheck Against Upstream?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Recheck Against Upstream запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…