Audit Noise
Read-only audit of tracked markdown (rule/skill/convention doc) for nine noise shapes: stale historical citation, ghost ref, preamble, tracker back-ref…
от melodic-software★ 34 звезды на GitHub
Установить Audit Noise в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audit noise
Repository context. Gather first
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
- Current branch,
git branch --show-current - Uncommitted .md files (empty = none matched or the probe returned nothing),
git status --porcelain | grep -E '\.md"?$' | head -10
Pre-computed context
Noise findings (sample): !${CLAUDE_SKILL_DIR}/scripts/detect.sh 2>/dev/null | grep -E '^(status:|Summary total:|Finding shape:)' | head -20 || echo "none"
Purpose
Tracked markdown (rules, skill bodies, CLAUDE.md, AGENTS.md, docs/, READMEs) accumulates nine NOISE shapes, distinct from FLAVOR, which the sibling /docs-hygiene:compress owns. Every reader pays to read past noise in every file that carries it. This skill is a read-only classifier: it surfaces candidates with treatment guidance; the author hand-applies every edit.
Three shapes, plan-reference, conversational-antecedent, and ticket-pr-residue, share names with the code-side sibling /code-tidying:remove-comments audit (if enabled) because they are the same authoring failure in a different file type. Ownership splits by file type, not shape: markdown is this skill's, everything else is the sibling's, and neither scans the other's files. The patterns are not shared code: the sibling classifies only a line's extracted comment portion, while this skill classifies whole prose, where the same words carry meaning far more often, so its patterns are tighter and several of the sibling's cues are deliberately not carried over.
Existence pre-check (before in-page noise)
Before classifying in-page noise, ask the whole-page admission question: could a reader with repository search derive this page's content from the code itself? A failing page is a deletion candidate. Its finding recommends relocate-then-delete (salvage anything admissible first), never a line-level noise treatment, and never auto-delete (this skill stays read-only).
Four categories always pass admission regardless of derivability: decisions,
domain language, thin navigation, and policy/wiring. For the four-factor
scoring behind a contested call, reuse /docs-hygiene:audit-derivability's
rubric by reference: invoke it via the Skill tool when available; otherwise
apply the admission question standalone.
Org override. This pre-check is a portable-baseline default. When the
consuming repository declares its own documentation-existence convention,
defer to it, resolved via the resolution ladder of
/discipline:follow-our-standards (if enabled): repo-declared source → repo's own conventions → this portable
baseline.
Only a page that passes admission proceeds to the nine in-page NOISE shapes below.
Noise shapes and treatments
| Shape | What it looks like | Default tier | Treatment |
|---|---|---|---|
citation, historical citations |
Dated incident citations, inline origin notes ("ported from X", "Merged 2026-07-24 from Y"), migration/rename narration ("Empirically observed 2026-…", "was renamed to", "we pivoted from") when the current form suffices | 1 | Relocate to a per-file ## Sources / ## History footer; strip when non-load-bearing (version control preserves history). Keep inline only when the date is load-bearing (methodology or freshness stamp). Origin cues are clause-anchored on both sides plus a list-bullet anchor, require column 0 (the code-side sibling allows leading whitespace), and stand down on a line carrying a link (inline or reference-style) or a bare URL, because a pointer is what /attribution:audit (if enabled) asks an author to write. The stand-down covers only a pointer, not the other two sanctioned forms: an attribution naming a work rather than a location ("Copied from Kent Beck, Tidy First?, chapter 3") is matched, as is a clause-leading descriptive use ("Copied from the source buffer, the bytes are then hashed"). Both land on relocate, not delete, and ## Sources is an exempt section, so relocating either is terminal |
ghost-ref, refs into slice-scoped working paths |
Concrete paths into a memory work slice (.work/<slug>/) and concrete children of the concern-scoped roots, cited from durable surfaces, plus any citation of the retir |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(${CLAUDE_SKILL_DIR}/scripts/detect.sh:*) - 02
Bash(${CLAUDE_SKILL_DIR}/scripts/emit-findings.sh:*) - 03
Bash(git branch --show-current:*) - 04
Bash(git rev-parse --show-toplevel:*) - 05
Bash(grep:*) - 06
Bash(head:*) - 07
Bash(echo:*)
Вложенные файлы
- context/persist-findings.md
- evals/evals.json
- scripts/detect.sh
- scripts/detect.test.sh
- scripts/emit-findings.sh
- scripts/emit-findings.test.sh
- scripts/lib/noise-shapes.sh
- scripts/lib/opt-value.sh
- scripts/lib/parse-concern-value.sh
- scripts/lib/yaml-subset.awk
FAQ
Что делает скилл Audit Noise?
Read-only audit of tracked markdown (rule/skill/convention doc) for nine noise shapes: stale historical citation, ghost ref, preamble, tracker back-ref, negation without positive, conversational residue. Use when 'audit markdown noise', 'find ghost refs', 'declutter', sweep for noise. Not for code comments: /code-tidying:remove-comments. Load it before listing a doc's leftover lines to cut before sharing it.
Как установить скилл Audit Noise?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Audit Noise запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…