Command Palette

Search for a command to run...

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

Audit Derivability

Read-only audit of whether a doc earns its existence or an agent can re-derive it from code, config, and structure: verdict per file (delete…

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

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

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

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

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

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

Audit derivability

Pre-computed context

Uncommitted .md files (first 20; empty = none matched or the probe returned nothing): !"${CLAUDE_SKILL_DIR}/scripts/uncommitted-md.sh" 20 2>/dev/null || echo "(status unavailable)"

Every command in this line matches an allowed-tools grant, so a dontAsk lane can run this skill.

Purpose

Every tracked document must be kept true as its code moves, and every low-signal document costs its readers (human or agent) attention. A document earns that only when it holds something a reader could not cheaply reconstruct. This skill audits document-level worth: should this whole document exist at all?

The test is derivability: could a fresh agent reach the document's conclusions by natively exploring the repository (code, config, metadata, structure) without being handed it? A document that only restates the code is a derivation cache at best and dead weight at worst; one that records why a decision was made, a constraint no single file shows, or a fact outside the repo owns something exploration can never recover.

Read-only classifier: it reports a verdict per document with the reasoning; the author owns every deletion and rewrite. Deletion is the highest-stakes doc edit, so, like /docs-hygiene:audit-noise, this skill never applies it.

The rubric. Four factors, never derivability alone

A verdict is never "derivable, therefore delete." Weigh all four factors together. context/rubric.md holds the scoring detail: factor definitions, the Diataxis fact-ownership mapping, the audience cost model, the spot-test protocol, and worked examples. Load it when a verdict is close.

Factor Question Pushes toward
Derivable? Could a fresh agent reconstruct these conclusions from native exploration alone? derivable → delete/pointer; not derivable → keep
Re-derivation cost If deleted, what does the next reader pay to rebuild it: a 2-second grep, or a multi-file investigation? cheap → delete; expensive → keep-as-cache
Drift risk How fast does the source move, and how silently does the doc rot when it does? high drift → delete/pointer; low drift → cache is safer
Fact ownership Does the document own non-derivable facts: rationale, decisions, constraints, external facts, cross-cutting invariants no single file states? owns facts → keep, regardless of derivability of the rest

Fact ownership is the trump card: a document owning even one non-derivable fact is kept (keep-owns-facts), and the derivable remainder routes to trimming (/docs-hygiene:audit-noise, /docs-hygiene:extract-ssot), not deletion.

Verdict classes

Verdict Meaning Condition
delete Derivable, cheap to re-derive, owns no non-derivable fact: dead weight. All of: derivable, low re-derivation cost, no owned facts. Load-bearing or contested candidates require the empirical spot-test below before a confident delete.
convert-to-pointer Exists to route readers to a truth that lives elsewhere (code, another doc, an external source). Replace the body with a one-line pointer to the source of truth. Derivable or duplicative, but the routing/orientation value is real. The verdict must name its pointer target as a repo path verified to exist (or an external URL), with the verification in the rationale; a pointer at a nonexistent anchor is worse than the doc it replaces.
keep-as-derivation-cache Derivable, but re-derivation is expensive enough that a cached rendering earns its keep, if the cache cannot silently rot. Derivable + high re-derivation cost + a drift-control condition is present: a regeneration/verification path, or a recorded recheck trigger. Absent that condition, this verdict demotes to convert-to-pointer or delete.
keep-owns-facts Owns at least one non-derivable fact (rationale, decision, constraint, external fact, cross-cutting invariant). Any owned non-derivable fact. Route the derivable remainder to the trimming siblings.

Out of scope. Functional artifacts

A file a component consumes or copies at runtime (a checklist template a skill instructs agents to copy and tick, an eval fixture, a scaffold) is machinery, not documentation, and gets no verdict. Test: is this file an input a tool or skill consumes, rather than prose a reader learns from? If yes, record it as out-of-scope: functional artifact in the ledger and move on: the four factors presuppose a document read for its claims, and a scaffold has none.

Audience-awareness

Re-derivation cost is paid by the reader, and agent and human readers pay differently, so the same content can score differently by audience. Classify each document's primary audience and name it in the verdict; a document serving both is classified for each, taking the

Полный SKILL.md на GitHub

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

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

  1. 01Bash(${CLAUDE_SKILL_DIR}/scripts/uncommitted-md.sh:*)
  2. 02Bash("${CLAUDE_SKILL_DIR}/scripts/uncommitted-md.sh":*)
  3. 03Bash(echo:*)

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

  • context/rubric.md
  • evals/evals.json
  • scripts/uncommitted-md.sh
  • scripts/uncommitted-md.test.sh

FAQ

Что делает скилл Audit Derivability?

Read-only audit of whether a doc earns its existence or an agent can re-derive it from code, config, and structure: verdict per file (delete, convert-to-pointer, keep-as-derivation-cache, keep-owns-facts). Use when: 'is this doc worth keeping', 'audit doc value', 'prune redundant docs', or derivability. Not for noise: /docs-hygiene:audit-noise. Load it before judging whether a doc should stay or go.

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

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить Audit Derivability с