[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77KGWK5SM1DPM8TX3JXTPEF":3,"skill-same:01M77KGWK5SM1DPM8TX3JXTPEF":128},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":59},"01M77KGWK5SM1DPM8TX3JXTPEF","audit-noise",null,"Read-only audit of tracked markdown for nine noise shapes, like historical citations, ghost refs, why-this-file-exists preambles, tracker back-references, and conversational residue, tiered by treatment. Use when: 'audit markdown noise', 'declutter', 'check for stale citations', 'find ghost refs', 'classify preamble', 'strip conversational residue from a doc', 'find negations without a positive', 'sweep a rule\u002Fskill\u002Fconvention doc for noise'. Code comments: \u002Fcode-tidying:remove-comments audit.","melodic-software\u002Fclaude-code-plugins","melodic-software","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F58273638?v=4","01M77JVQTXNGKCE4MDFY2BC936","Melodic Software","01M77JVQVN9QDWKAH6W03ANP76",30,"MIT","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Read-only audit of tracked markdown for nine noise shapes, like historical citations, ghost refs, why-this-file-exists preambles, tracker back-references, and conversational residue, tiered by treatment. Use when: 'audit markdown noise', 'declutter', 'check for stale citations', 'find ghost refs', 'classify preamble', 'strip conversational residue from a doc', 'find negations without a positive', 'sweep a rule\u002Fskill\u002Fconvention doc for noise'. Code comments: \u002Fcode-tidying:remove-comments audit.\"\nargument-hint: \"[audit] [target] [--persist-findings]\"\nuser-invocable: true\ndisable-model-invocation: false\nallowed-tools: [\"Bash(${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdetect.sh:*)\", \"Bash(${CLAUDE_SKILL_DIR}\u002Fscripts\u002Femit-findings.sh:*)\", \"Bash(git branch --show-current:*)\", \"Bash(git rev-parse --show-toplevel:*)\", \"Bash(grep:*)\", \"Bash(head:*)\", \"Bash(echo:*)\"]\nshell: bash\nmetadata:\n  workflow-stage: anytime\n  summary: Classify markdown for citations, ghost refs, meta-commentary, plan\u002Fconversational\u002Ftracker residue\n---\n\n## Repository context. Gather first\n\nCollect these with **individual** Bash calls, one command per call, never combined into a single\ninvocation:\n\n- Current branch, `git branch --show-current`\n- Uncommitted .md files (empty = none matched or the probe returned nothing), `git status --porcelain | grep -E '\\.md\"?$' | head -10`\n\nThe pipe is the bound and belongs in the command. A read-time cap (\"read only the first 10 entries\")\nlimits only what is read after the command returns, never what it returns.\n\n- **Pointer**: when deciding how much command output reaches context, fetch\n  [Output limits](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Ftools-reference#output-limits) live.\n\nTreat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as\nseparate body Bash calls, not pre-compute lines ([gather-block convention](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fconventions\u002Fgather-block\u002FREADME.md#the-pre-compute-block-runs-as-one-shell-invocation),\n\"The pre-compute block runs as one shell invocation\").\n\n## Pre-computed context\n\nNoise findings (sample): !`${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdetect.sh 2>\u002Fdev\u002Fnull | grep -E '^(status:|Summary total:|Finding shape:)' | head -20 || echo \"none\"`\n\n## Purpose\n\nTracked markdown (rules, skill bodies, `CLAUDE.md`, `AGENTS.md`, `docs\u002F`, READMEs) accumulates nine NOISE shapes, distinct from FLAVOR, which the sibling `\u002Fdocs-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.\n\nThree shapes, `plan-reference`, `conversational-antecedent`, and `ticket-pr-residue`, share names with the code-side sibling `\u002Fcode-tidying:remove-comments audit` 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.\n\n## Existence pre-check (before in-page noise)\n\nBefore classifying in-page noise, ask the whole-page admission question:\n**could a reader with repository search derive this page's content from the\ncode itself?** A failing page is a deletion candidate. Its finding recommends\nrelocate-then-delete (salvage anything admissible first), never a line-level\nnoise treatment, and never auto-delete (this skill stays read-only).\n\nFour categories always pass admission regardless of derivability: decisions,\ndomain language, thin navigation, and policy\u002Fwiring. For the four-factor\nscoring behind a contested call, reuse `\u002Fdocs-hygiene:audit-derivability`'s\nrubric by reference: invoke it via the Skill tool when available; otherwise\napply the admission question standalone.\n\n**Org override.** This pre-check is a portable-baseline default. When the\nconsuming repository declares its own documentation-existence convention,\ndefer to it, resolved via `\u002Fdiscipline:follow-our-standards`'s resolution\nladder (repo-declared source → repo's own conventions → this portable\nbaseline).\n\nOnly a page that passes admission proceeds to the nine in-page NOISE shapes below.\n\n## Noise shapes and treatments\n\n| Shape | What it looks like | Default tier | Treatment |\n|---|---|---|---|\n| `citation`, historical citations | Dated incident citations, inline **origin notes** (\"ported from X\", \"Merged 2026-07-24 from Y\"), migration\u002Frename narration (\"Empirically observed 2026-…\", \"was renamed to\", \"we pivoted from\") when the current form suffices | 1 | Relocate to a per-file `## Sources` \u002F `## 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 `\u002Fattribution:audit` 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 |\n| `ghost-ref`, refs into slice-scoped working paths | Concrete paths into a memory work slice (`.work\u002F\u003Cslug>\u002F`) and concrete children of the concern-scoped roots, cited from durable surfaces, plus any citation of the retired `.claude\u002Fnotes\u002F` location. The citing document outlives the slice, so slice retirement breaks the reference, whether or not the consumer's memory tier is gitignored | 2 | 3-way classify: promote the content to a durable home, replace with a durable pointer (a commit-SHA permalink or the carrying PR number), or strip. Exemptions apply per matched path, never per line: slot-variable forms (`\u003Cslug>` as a schema placeholder, not a literal name) and the bare concern-scoped roots (`.work\u002Fhandoffs\u002F`, `.work\u002Freviews\u002F`, `.work\u002Frunning-retros\u002F`, `.work\u002Foverengineering\u002F`, `.work\u002Fenforceability\u002F`, `.work\u002Fexports\u002F`, `.work\u002Flanes\u002F`, reserved first-level names under the memory root, with nothing concrete after) are NOT ghost refs. A concrete child under a concern root flags |\n| `preamble`, \"Why this file exists\" openers | Opening section explaining motivation\u002Fhistory\u002Frationale | 2 | Diataxis classify: KEEP on Explanation-quadrant files (rule bodies, ADRs, convention rationale); STRIP on Reference-quadrant files (data tables, registries, cheat-sheets), replacing with a 1-sentence orientation |\n| `enum-list`, hard-coupled consumer lists | Tables\u002Flists hardcoding N specific consumers that drift on every add\u002Fremove (\"the following five skills…\", bulleted `\u002Fskill — role` rosters) | 1 | Replace with a runtime derivation (a grep\u002Flist command cited inline) or a category citation; hardcode only when both fail |\n| `scope-meta`, scope\u002Floading meta-commentary | Body prose restating loading mechanics that config\u002Ffrontmatter already owns (\"Path-scoped to X\", \"Loads on Read of Y\", \"Auto-loads when…\") | 1 | Strip the clause; the frontmatter\u002Fconfig is the single source of truth. Keep a genuine cross-ref riding the same sentence. Files with no scoping frontmatter MAY state scope in one sentence |\n| `plan-reference`, plan\u002Fchangeset narration | Prose pointing at the work that produced the page instead of its subject: `replaces the old …`, `in this PR we …`, `Task 2 of the plan` | 1 | Delete the plan\u002Fchangeset frame and keep what the sentence asserts about the present subject, rewritten without it. A doc citing a plan artifact that still exists is a live cross-reference, not this shape. Matching requires a first-person actor behind `in this PR`, so `the files changed in this PR` is not flagged |\n| `conversational-antecedent`, asides to the requester | Prose addressed to the person who asked for the page or to the conversation that produced it: `As you asked, …`, `As requested, …`, `Per our discussion, …`, `per your request`, `like you said` | 1 | Delete the address. The conversation is invisible to every future reader, and the assertion survives verbatim once the clause is cut. Two follower classes stand the shape down, because both name something a future reader can still open: an anaphoric adverb (`as we discussed above`), and `in` \u002F `under` \u002F `at` \u002F `on` ahead of a **document locator**, meaning a `§` or `#anchor`, a section\u002Fchapter\u002Fstep\u002Ftable, a link or path, or a named durable document (`as we decided in §3`, `in the ADR`, `on the ADR's recommendation`). Those prepositions ahead of anything else are matched, so `as we discussed in yesterday's meeting`, `as we decided in favor of X`, `as we agreed on Tuesday`, and `as we decided at the standup` are residue. Tracker nouns are deliberately not locators: `decided in issue 88` is a back-reference that `ticket-pr-residue` owns. The actor-less `as requested` matches only as a clause-final adverbial, so the attribution `as requested by the client` is not matched |\n| `ticket-pr-residue`, tracker\u002FPR back-references | A bare back-reference offered as the reason the prose says what it says: `See PR #45 for the rationale`, `Tracked in JIRA-123`, `decided in issue 88`, `from the feature branch` | 2 | Review: delete a bare back-reference, or relocate it to the `## Sources` \u002F `## History` footer (an exempt section, so a relocated reference stops flagging). **Carve-out:** a markdown task-list item (`- [ ] … #123`, `- [x] … #123`) and a `TODO(#123)`-family marker are never flagged: both denote OUTSTANDING tracked work, where the reference is the actionable part of the line (the markdown form of the sibling's sanctioned-`TODO` exception). Nothing else is carved out: an inline parenthetical (`… (tracked in #482)`) stays Tier 2 so a reviewer rules on it, not the scanner. **Routed, not flagged:** in a `SKILL.md` this shape is `\u002Fskill-quality:check`'s, and in an `agents\u002F*.md` it is `\u002Fharness-config:audit-instructions`'s |\n| `negation`, imperative prohibition with no positive alternative | An **imperative** prohibition (`never`, `do not`, `don't`, `avoid`, `must not`, `should not`) opening the sentence, with no positive alternative stated in that sentence (\"Do not use markdown.\"). Soft-wrapped sentences are accumulated across paragraph lines before classification. Descriptive prose (\"Older versions do not support this flag\"), a mid-sentence cue (already-paired \"Prefer X; never Y\"), and a table row are out of scope | 2 | Rewrite to the positive target the prohibition implies (*\"Do not use markdown\"* → *\"Compose your response as smoothly flowing prose paragraphs\"*). Keep a negation only where the positive form genuinely loses the constraint, and then pair it with the positive in the same sentence. **Never a deletion**: the constraint survives; only its framing changes. This completes the write-side rule [`\u002Fdocs-hygiene:write-for-agents`](..\u002Fwrite-for-agents\u002FSKILL.md) \"Prompt the positive\". **A hard guardrail that cannot be phrased positively is not a finding** and is never flagged (carve-outs in Hard rules) |\n\nConsumers with their own ephemeral-path or noise conventions can refine these defaults in their repo's `CLAUDE.md` \u002F rules; the shapes and tiers above are the built-in baseline.\n\n## Action router\n\n| Action | Args | Behavior |\n|---|---|---|\n| `\u003Ctarget>` (default, no action keyword) | empty → uncommitted `.md` files from git; file path → single-file; dir path → batch | run `${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdetect.sh` on targets; map the emitted facts to the per-file tier table using the treatments above |\n| `audit [target]` | same target rules | explicit form of the default; same behavior |\n\nOne action; the author's hand-edits from audit output cover the sweep workflow.\n\n**`--persist-findings`** (off by default) additionally writes the run's `negation` findings as a\n`type: review-findings` file for `review:fanout`'s `fix` relay, per\n[context\u002Fpersist-findings.md](context\u002Fpersist-findings.md), which owns every mechanic (destination\nresolution, the fetch-and-refuse gate, the self-ignore guard, which findings enter the file, and\nwhat each cell says). A bare invocation reports and stops. `negation` is the only shape with a\nseverity-crosswalk row; every other shape `audit_noise_detect_shapes_into` in\n[`scripts\u002Flib\u002Fnoise-shapes.sh`](scripts\u002Flib\u002Fnoise-shapes.sh) appends stays in the human report and\nis counted as declined.\n\n## Auto-detect default\n\nShared clean-tree \u002F no-scope shape: [`..\u002F..\u002Fcontext\u002Fclean-tree-fallback.md`](..\u002F..\u002Fcontext\u002Fclean-tree-fallback.md).\nThe rules below are what this skill runs; open the shared file only when editing them, for the\nsibling divergences it owns.\n\n1. Empty arg AND clean tree → OFFER the repo-wide audit instead of silently no-opping; run only on\n   the user's confirmation. The offer carries prescribed defaults (overridable): corpus = all\n   tracked `.md` minus `**\u002Fevals\u002Ffixtures\u002F**` and `CHANGELOG.md`; slice-scoped files (contract and\n   memory tiers) sectioned separately in the report; scan via a chunked `detect.sh` pass\n   (`detect.sh --paths-file \u003Clist> --offset N --limit M`, one process per chunk, no\n   per-file shell loop); judge every scanner-flagged file AND a bounded sample of\n   scanner-negative files (enough that a fresh full-corpus judgment pass cannot find\n   real drift this report called clean). Never report a fully-clean result from\n   scanner-flagged files alone: the scanner is a structural matcher, not a complete\n   reading of the shape table, and judgment is required for the paraphrases it misses.\n   Size the judgment pass to the corpus. When every file fits one inline reading (tens of files,\n   not the hundreds that make a fan-out pay), read every file in the main session and skip both\n   the fan-out and the verification pass: a full reading already covers the scanner-negative\n   sample, and subagent verdicts would need re-reading anyway. Above that, fan out a small number\n   of concurrent subagents with one fresh-context verification pass over the merged verdicts.\n   The verification level changes that pass: resolve it once with\n   `bash \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fread-verification.sh\" --plugin docs-hygiene --skill audit-noise --file docs\u002Fconventions\u002Fdocs-hygiene.yaml`\n   and report its line ([levels](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fverification-level\u002FREADME.md)). This skill's `allowed-tools` does not grant the reader, so the call may prompt; a refused or denied call resolves `light`.\n   `strict` runs the pass at every corpus size, over the inline verdicts too. Under `light`, and\n   `off`, which acts as `light` here, dispatch no verification pass and never re-grade the\n   verdicts inline in its place: the report carries `verification: skipped (\u003Clevel>)`.\n   Report first. The skill stays read-only either way, and the author applies treatment edits only\n   after reviewing the report (report-vs-fix-as-you-go is the author's call; report-first is the\n   accuracy-preferred default because repeating shapes get one corpus-wide treatment decision).\n   Unattended (no human to confirm), surface the offer as blocked and stop. Never launch the\n   repo-wide run on silence.\n2. Empty arg AND uncommitted `.md` files → batch audit over those files\n3. Single file path → single-file audit\n4. Directory path → batch audit (filenames sorted lexically for deterministic output)\n5. First positional == `audit` → audit on rest (explicit form)\n\n## Hard rules\n\n- **Read-only on every audited target.** No `Edit`, no `Write`, no mutating `Bash` op against any\n  file this skill audits; the author owns every treatment edit. **Emitting the findings artifact is\n  the one write this skill performs, and it is not an exception**: \"read-only\" forbids **target\n  mutation**, not **artifact emission**. The artifact is a NEW file in the gitignored memory tier,\n  never an audited target, written only under `--persist-findings`, and a proposal for a\n  human-gated relay, not an applied edit. Describing it to an operator as a change that has been\n  made is wrong. No audited file becomes writable, and a bare invocation still writes nothing.\n- **Tier semantics.** Tier 1 = definite noise; Tier 2 = review needed; Tier 3 = likely legitimate (surfaced for awareness). Tier 3 carries NO treatment. A finding whose ruling includes an edit (\"strip\", \"relocate\", \"replace\") is Tier 2 or 1 by definition.\n- **Section EXEMPTIONS never flagged:** `## Recheck triggers`, `## Cross-references`, `## Sources` \u002F `## History` \u002F `## External authority` footers (any ATX heading level, so `### Sources` counts; a later non-exempt heading of any level ends the exemption), ADR amendment blocks, `CHANGELOG.md` entries and release notes (detect.sh skips `CHANGELOG.md` by basename), YAML frontmatter (`---` … `---`), and fenced code blocks. Inline `` `code` `` spans are stripped before every shape match EXCEPT ghost-ref, which still sees unwrapped path text. A shape-definition or worked example written in backticks does not self-match; one written in plain quotes does.\n- **Dismissal grounds the judgment pass may use** (recurring, sanctioned; the scanner cannot see them): a fictional slug instantiated by a worked example (nothing can dangle), a vendored-verbatim upstream baseline that is never hand-edited by policy, a delete\u002Fprune instruction whose target is the path being removed (a record, not a followable reference), and a shape-definition or output-schema example matching its own pattern.\n- **Negation carve-outs are evidence-gated, so an unresolved candidate is EMITTED.** Three\n  conditions suppress a `negation` candidate, each only with its evidence present on the\n  sentence: a **paired positive** (`instead`, `rather than`, `prefer`, `in place of`, `in favor\n  of`, or a bare imperative after a separator such as an em dash, semicolon, or colon, looking through a\n  leading adverb such as `just` \u002F `simply`), a **hard guardrail** whose constraint a positive form cannot carry (`secret`, `credential`,\n  `token`, `password`, `api key`, `force-push`, `--force`, `rm -rf`, `destructive`, `irreversible`,\n  `data loss`, `production`, `security`, `vulnerab`, `rewrite history`), or a **worked example**\n  (a `->` \u002F `→` demonstration). Absent evidence selects the finding: a judgment call can make a\n  run noisier but never silently withhold one. The carve-out lives in the shared scanner, so the\n  human report and any persisted findings file give one candidate one disposition. Every marker\n  matches as a **whole word**: a bare substring would let a longer word (`secretary` for\n  `secret`, `preferentially` for `prefer`) satisfy a *withholding* boundary and lose a real\n  finding silently.\n- **`negation` selects only an IMPERATIVE, and classifies the accumulated sentence.** Two scope\n  gates; without them the shape fires on most descriptive prose in an instruction corpus and buries\n  every real finding. (1) The cue must open the **sentence**, after list, blockquote,\n  task-list-checkbox and emphasis markers. \"Prompt the positive\" is a rule about *instructions*,\n  so descriptive prose is out of scope, and a mid-sentence cue is already the paired form\n  (\"Prefer X; never Y\"). The stated cost: a subject-led instruction (\"The agent must not emit a\n  bare summary\") is not selected. (2) Soft-wrapped sentences are accumulated across paragraph\n  lines before the classifier runs, so a wrapped prohibition is judged as one sentence. A finding\n  is attributed to the sentence's first physical line, where the cue opens, so the fix action\n  lands on the instruction's start, not its continuation. The other eight shapes stay\n  line-scoped. A table row still does not select: a row begins with `|`.\n- **Opt-out markers respected.** A well-formed HTML comment line `\u003C!-- markdown-discipline-ignore -->` covers the next paragraph, through the next blank line or heading. `\u003C!-- markdown-discipline-ignore-line -->` covers exactly the next physical line; a blank line consumes it, so place it directly above the content line. Both skip the wrapped content. A prose mention of the marker name is not a live marker.\n- **Convention-path exemptions apply per matched path, never per line.** An angle-bracket slot variable (`.work\u002F\u003Cslug>\u002F…`) is a schema placeholder, not a literal path; the reserved concern-scoped roots in the `ghost-ref` row are citable only bare or with a placeholder child, and a concrete child under them flags. A convention token on a line never exempts a concrete ghost ref sharing that line. Exception: the retired `.claude\u002Fnotes\u002F` location flags even in placeholder form.\n- **Output deterministic.** Filenames sort lexically; per-file tier rows sort by line number; no timestamps in output.\n- **Default action is the audit action**. `\u002Fdocs-hygiene:audit-noise \u003Cfile>` is identical to `\u002Fdocs-hygiene:audit-noise audit \u003Cfile>`.\n\n## Output schema\n\nTwo writers, one report. `detect.sh` emits `File:` \u002F `Finding *:` \u002F `Summary *:`\nlines only. It does **not** emit admission verdicts, and does **not** emit\nTier 3 for any of the nine named shapes (each has a fixed default tier in\n`audit_noise_shape_tier`); a scanner `T3=` count is reserved for an\nunrecognized shape name, which should not occur. Admission and any Tier 3\n\"likely legitimate\" row are **judgment-pass** rulings the operator writes after\nreading the scanner facts. Do not treat scanner stdout as if it contained\n`admission PASS` \u002F `admission FAIL`.\n\nA run that scanned nothing is distinct on stdout from one that scanned files\nand found nothing: `detect.sh` prints `status: no-targets` in the first case\n(even when stderr is discarded, as the pre-computed context above does). A\nclean audit prints `Summary total: files=\u003CN>` with `N>0` and zero findings.\n\nPer target file, the judgment-pass existence pre-check precedes the in-page findings:\n\n```text\n\u003Cfile>: admission PASS\n\u003Cfile>: admission FAIL — deletion candidate (relocate-then-delete recommended)\n```\n\nA FAIL skips the in-page tier table below; a PASS proceeds to it:\n\n```text\n\u003Cfile>: N finding(s) — T1=\u003Cn>, T2=\u003Cn>, T3=\u003Cn>\n\n| Tier | Shape | Line | Excerpt | Treatment |\n|------|-------|------|---------|-----------|\n| 1    | citation | 42 | \"Empirically observed 2026-...\" | Relocate to a ## Sources \u002F ## History footer |\n| 2    | ghost-ref | 87 | \".work\u002Ffoo-slice\u002FPLAN.md cites...\" | 3-way classify (promote \u002F SHA-permalink \u002F strip) |\n| 2    | preamble | 7  | \"## Why this file exists\" | Diataxis classify (KEEP if Explanation; STRIP if Reference) |\n| 3    | preamble | 1  | (top-of-file orientation paragraph) | Likely legitimate; surfaced for awareness |\n| 1    | conversational-antecedent | 9 | \"As you asked, this section...\" | Delete the address to the requester |\n| 2    | ticket-pr-residue | 55 | \"See PR #45 for the rationale\" | Review (delete a bare back-reference \u002F relocate to ## Sources) |\n```\n\nBatch aggregate at end:\n\n```text\nTotal: \u003CN> file(s) audited, \u003CT1> Tier 1, \u003CT2> Tier 2, \u003CT3> Tier 3 findings.\n```\n\n`shape` values: `citation`, `ghost-ref`, `preamble`, `enum-list`, `scope-meta`, `plan-reference`, `conversational-antecedent`, `ticket-pr-residue`, `negation`.\n\n## What this skill is NOT\n\n- **Not `\u002Fdocs-hygiene:compress`.** The sibling `\u002Fdocs-hygiene:compress` owns FLAVOR (filler, hedging, redundant restatement, and articles when `compress_articles` is `cut`); `\u002Fdocs-hygiene:audit-noise` owns NOISE (the nine shapes above). Both may apply to the same target iteratively.\n- **Not `\u002Fcode-tidying:remove-comments audit`.** The boundary is the FILE TYPE, not the shape vocabulary (see Purpose): each file type keeps exactly one owner, so no dedup or precedence rule is needed. The code skill is not simply widened to `.md` because on markdown its `history-narration` and `origin-note` would fire on the same lines as this skill's `citation` with the opposite treatment (delete vs. relocate to a `## Sources` footer), and a conflict between two treatments is resolved by ownership, not by scope.\n- **Not a markdown linter.** Structural GFM conventions belong to the repo's markdown linter (e.g. markdownlint-cli2); `\u002Fdocs-hygiene:audit-noise` is semantic noise classification.\n- **Not an Edit operation.** Read-only: it surfaces findings; the author applies treatments.\n- **Not a content deduplicator.** The same concept repeated across files is the sibling `\u002Fdocs-hygiene:extract-ssot`'s territory at any multiplicity. Sub-three repetition lands in its non-abstracting buckets, and only minting a new SSOT artifact waits for 3+.\n\n## Next\n\n- Findings are persisted with `--persist-findings`: `\u002Freview:fanout fix`.\n- A page failed the existence pre-check and needs the four-factor ruling:\n  `\u002Fdocs-hygiene:audit-derivability`.\n- What is left is flavor rather than noise: `\u002Fdocs-hygiene:compress`.\n\n## Sources\n\n- [Diataxis Explanation](https:\u002F\u002Fdiataxis.fr\u002Fexplanation\u002F), the Diataxis classifier behind the preamble treatment\n- [Prompting best practices, Control the format of responses](https:\u002F\u002Fplatform.claude.com\u002Fdocs\u002Fen\u002Fbuild-with-claude\u002Fprompt-engineering\u002Fclaude-prompting-best-practices#control-the-format-of-responses), source of the negation rule's worked example (\"Do not use markdown\" rewritten to the positive form), read 2026-11-10; recheck when that page drops or rewords the example\n- [markdownlint configuration](https:\u002F\u002Fgithub.com\u002FDavidAnson\u002Fmarkdownlint?tab=readme-ov-file#configuration), opt-out marker HTML-comment form precedent\n","## Repository context. Gather first\n\nCollect these with **individual** Bash calls, one command per call, never combined into a single\ninvocation:\n\n- Current branch, `git branch --show-current`\n- Uncommitted .md files (empty = none matched or the probe returned nothing), `git status --porcelain | grep -E '\\.md\"?$' | head -10`\n\nThe pipe is the bound and belongs in the command. A read-time cap (\"read only the first 10 entries\")\nlimits only what is read after the command returns, never what it returns.\n\n- **Pointer**: when deciding how much command output reaches context, fetch\n  [Output limits](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Ftools-reference#output-limits) live.\n\nTreat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as\nseparate body Bash calls, not pre-compute lines ([gather-block convention](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fconventions\u002Fgather-block\u002FREADME.md#the-pre-compute-block-runs-as-one-shell-invocation),\n\"The pre-compute block runs as one shell invocation\").\n\n## Pre-computed context\n\nNoise findings (sample): !`${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdetect.sh 2>\u002Fdev\u002Fnull | grep -E '^(status:|Summary total:|Finding shape:)' | head -20 || echo \"none\"`\n\n## Purpose\n\nTracked markdown (rules, skill bodies, `CLAUDE.md`, `AGENTS.md`, `docs\u002F`, READMEs) accumulates nine NOISE shapes, distinct from FLAVOR, which the sibling `\u002Fdocs-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.\n\nThree shapes, `plan-reference`, `conversational-antecedent`, and `ticket-pr-residue`, share names with the code-side sibling `\u002Fcode-tidying:remove-comments audit` 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.\n\n## Existence pre-check (before in-page noise)\n\nBefore classifying in-page noise, ask the whole-page admission question:\n**could a reader with repository search derive this page's content from the\ncode itself?** A failing page is a deletion candidate. Its finding recommends\nrelocate-then-delete (salvage anything admissible first), never a line-level\nnoise treatment, and never auto-delete (this skill stays read-only).\n\nFour categories always pass admission regardless of derivability: decisions,\ndomain language, thin navigation, and policy\u002Fwiring. For the four-factor\nscoring behind a contested call, reuse `\u002Fdocs-hygiene:audit-derivability`'s\nrubric by reference: invoke it via the Skill tool when available; otherwise\napply the admission question standalone.\n\n**Org override.** This pre-check is a portable-baseline default. When the\nconsuming repository declares its own documentation-existence convention,\ndefer to it, resolved via `\u002Fdiscipline:follow-our-standards`'s resolution\nladder (repo-declared source → repo's own conventions → this portable\nbaseline).\n\nOnly a page that passes admission proceeds to the nine in-page NOISE shapes below.\n\n## Noise shapes and treatments\n\n| Shape | What it looks like | Default tier | Treatment |\n|---|---|---|---|\n| `citation`, historical citations | Dated incident citations, inline **origin notes** (\"ported from X\", \"Merged 2026-07-24 from Y\"), migration\u002Frename narration (\"Empirically observed 2026-…\", \"was renamed to\", \"we pivoted from\") when the current form suffices | 1 | Relocate to a per-file `## Sources` \u002F `## 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 `\u002Fattribution:audit` 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 |\n| `ghost-ref`, refs into slice-scoped working paths | Concrete paths into a memory work slice (`.work\u002F\u003Cslug>\u002F`) and concrete children of the concern-scoped roots, cited from durable surfaces, plus any citation of the retired `.claude\u002Fnotes\u002F` location. The citing document outlives the slice, so slice retirement breaks the reference, whether or not the consumer's memory tier is gitignored | 2 | 3-way classify: promote the content to a durable home, replace with a durable pointer (a commit-SHA permalink or the carrying PR number), or strip. Exemptions apply per matched path, never per line: slot-variable forms (`\u003Cslug>` as a schema placeholder, not a literal name) and the bare concern-scoped roots (`.work\u002Fhandoffs\u002F`, `.work\u002Freviews\u002F`, `.work\u002Frunning-retros\u002F`, `.work\u002Foverengineering\u002F`, `.work\u002Fenforceability\u002F`, `.work\u002Fexports\u002F`, `.work\u002Flanes\u002F`, reserved first-level names under the memory root, with nothing concrete after) are NOT ghost refs. A concrete child under a concern root flags |\n| `preamble`, \"Why this file exists\" openers | Opening section explaining motivation\u002Fhistory\u002Frationale | 2 | Diataxis classify: KEEP on Explanation-quadrant files (rule bodies, ADRs, convention rationale); STRIP on Reference-quadrant files (data tables, registries, cheat-sheets), replacing with a 1-sentence orientation |\n| `enum-list`, hard-coupled consumer lists | Tables\u002Flists hardcoding N specific consumers that drift on every add\u002Fremove (\"the following five skills…\", bulleted `\u002Fskill — role` rosters) | 1 | Replace with a runtime derivation (a grep\u002Flist command cited inline) or a category citation; hardcode only when both fail |\n| `scope-meta`, scope\u002Floading meta-commentary | Body prose restating loading mechanics that config\u002Ffrontmatter already owns (\"Path-scoped to X\", \"Loads on Read of Y\", \"Auto-loads when…\") | 1 | Strip the clause; the frontmatter\u002Fconfig is the single source of truth. Keep a genuine cross-ref riding the same sentence. Files with no scoping frontmatter MAY state scope in one sentence |\n| `plan-reference`, plan\u002Fchangeset narration | Prose pointing at the work that produced the page instead of its subject: `replaces the old …`, `in this PR we …`, `Task 2 of the plan` | 1 | Delete the plan\u002Fchangeset frame and keep what the sentence asserts about the present subject, rewritten without it. A doc citing a plan artifact that still exists is a live cross-reference, not this shape. Matching requires a first-person actor behind `in this PR`, so `the files changed in this PR` is not flagged |\n| `conversational-antecedent`, asides to the requester | Prose addressed to the person who asked for the page or to the conversation that produced it: `As you asked, …`, `As requested, …`, `Per our discussion, …`, `per your request`, `like you said` | 1 | Delete the address. The conversation is invisible to every future reader, and the assertion survives verbatim once the clause is cut. Two follower classes stand the shape down, because both name something a future reader can still open: an anaphoric adverb (`as we discussed above`), and `in` \u002F `under` \u002F `at` \u002F `on` ahead of a **document locator**, meaning a `§` or `#anchor`, a section\u002Fchapter\u002Fstep\u002Ftable, a link or path, or a named durable document (`as we decided in §3`, `in the ADR`, `on the ADR's recommendation`). Those prepositions ahead of anything else are matched, so `as we discussed in yesterday's meeting`, `as we decided in favor of X`, `as we agreed on Tuesday`, and `as we decided at the standup` are residue. Tracker nouns are deliberately not locators: `decided in issue 88` is a back-reference that `ticket-pr-residue` owns. The actor-less `as requested` matches only as a clause-final adverbial, so the attribution `as requested by the client` is not matched |\n| `ticket-pr-residue`, tracker\u002FPR back-references | A bare back-reference offered as the reason the prose says what it says: `See PR #45 for the rationale`, `Tracked in JIRA-123`, `decided in issue 88`, `from the feature branch` | 2 | Review: delete a bare back-reference, or relocate it to the `## Sources` \u002F `## History` footer (an exempt section, so a relocated reference stops flagging). **Carve-out:** a markdown task-list item (`- [ ] … #123`, `- [x] … #123`) and a `TODO(#123)`-family marker are never flagged: both denote OUTSTANDING tracked work, where the reference is the actionable part of the line (the markdown form of the sibling's sanctioned-`TODO` exception). Nothing else is carved out: an inline parenthetical (`… (tracked in #482)`) stays Tier 2 so a reviewer rules on it, not the scanner. **Routed, not flagged:** in a `SKILL.md` this shape is `\u002Fskill-quality:check`'s, and in an `agents\u002F*.md` it is `\u002Fharness-config:audit-instructions`'s |\n| `negation`, imperative prohibition with no positive alternative | An **imperative** prohibition (`never`, `do not`, `don't`, `avoid`, `must not`, `should not`) opening the sentence, with no positive alternative stated in that sentence (\"Do not use markdown.\"). Soft-wrapped sentences are accumulated across paragraph lines before classification. Descriptive prose (\"Older versions do not support this flag\"), a mid-sentence cue (already-paired \"Prefer X; never Y\"), and a table row are out of scope | 2 | Rewrite to the positive target the prohibition implies (*\"Do not use markdown\"* → *\"Compose your response as smoothly flowing prose paragraphs\"*). Keep a negation only where the positive form genuinely loses the constraint, and then pair it with the positive in the same sentence. **Never a deletion**: the constraint survives; only its framing changes. This completes the write-side rule [`\u002Fdocs-hygiene:write-for-agents`](..\u002Fwrite-for-agents\u002FSKILL.md) \"Prompt the positive\". **A hard guardrail that cannot be phrased positively is not a finding** and is never flagged (carve-outs in Hard rules) |\n\nConsumers with their own ephemeral-path or noise conventions can refine these defaults in their repo's `CLAUDE.md` \u002F rules; the shapes and tiers above are the built-in baseline.\n\n## Action router\n\n| Action | Args | Behavior |\n|---|---|---|\n| `\u003Ctarget>` (default, no action keyword) | empty → uncommitted `.md` files from git; file path → single-file; dir path → batch | run `${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdetect.sh` on targets; map the emitted facts to the per-file tier table using the treatments above |\n| `audit [target]` | same target rules | explicit form of the default; same behavior |\n\nOne action; the author's hand-edits from audit output cover the sweep workflow.\n\n**`--persist-findings`** (off by default) additionally writes the run's `negation` findings as a\n`type: review-findings` file for `review:fanout`'s `fix` relay, per\n[context\u002Fpersist-findings.md](context\u002Fpersist-findings.md), which owns every mechanic (destination\nresolution, the fetch-and-refuse gate, the self-ignore guard, which findings enter the file, and\nwhat each cell says). A bare invocation reports and stops. `negation` is the only shape with a\nseverity-crosswalk row; every other shape `audit_noise_detect_shapes_into` in\n[`scripts\u002Flib\u002Fnoise-shapes.sh`](scripts\u002Flib\u002Fnoise-shapes.sh) appends stays in the human report and\nis counted as declined.\n\n## Auto-detect default\n\nShared clean-tree \u002F no-scope shape: [`..\u002F..\u002Fcontext\u002Fclean-tree-fallback.md`](..\u002F..\u002Fcontext\u002Fclean-tree-fallback.md).\nThe rules below are what this skill runs; open the shared file only when editing them, for the\nsibling divergences it owns.\n\n1. Empty arg AND clean tree → OFFER the repo-wide audit instead of silently no-opping; run only on\n   the user's confirmation. The offer carries prescribed defaults (overridable): corpus = all\n   tracked `.md` minus `**\u002Fevals\u002Ffixtures\u002F**` and `CHANGELOG.md`; slice-scoped files (contract and\n   memory tiers) sectioned separately in the report; scan via a chunked `detect.sh` pass\n   (`detect.sh --paths-file \u003Clist> --offset N --limit M`, one process per chunk, no\n   per-file shell loop); judge every scanner-flagged file AND a bounded sample of\n   scanner-negative files (enough that a fresh full-corpus judgment pass cannot find\n   real drift this report called clean). Never report a fully-clean result from\n   scanner-flagged files alone: the scanner is a structural matcher, not a complete\n   reading of the shape table, and judgment is required for the paraphrases it misses.\n   Size the judgment pass to the corpus. When every file fits one inline reading (tens of files,\n   not the hundreds that make a fan-out pay), read every file in the main session and skip both\n   the fan-out and the verification pass: a full reading already covers the scanner-negative\n   sample, and subagent verdicts would need re-reading anyway. Above that, fan out a small number\n   of concurrent subagents with one fresh-context verification pass over the merged verdicts.\n   The verification level changes that pass: resolve it once with\n   `bash \"${CLAUDE_PLUGIN_ROOT}\u002Flib\u002Fread-verification.sh\" --plugin docs-hygiene --skill audit-noise --file docs\u002Fconventions\u002Fdocs-hygiene.yaml`\n   and report its line ([levels](https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fdocs\u002Fcontracts\u002Fverification-level\u002FREADME.md)). This skill's `allowed-tools` does not grant the reader, so the call may prompt; a refused or denied call resolves `light`.\n   `strict` runs the pass at every corpus size, over the inline verdicts too. Under `light`, and\n   `off`, which acts as `light` here, dispatch no verification pass and never re-grade the\n   verdicts inline in its place: the report carries `verification: skipped (\u003Clevel>)`.\n   Report first. The skill stays read-only either way, and the author applies treatment edits only\n   after reviewing the report (report-vs-fix-as-you-go is the author's call; report-first is the\n   accuracy-preferred default because repeating shapes get one corpus-wide treatment decision).\n   Unattended (no human to confirm), surface the offer as blocked and stop. Never launch the\n   repo-wide run on silence.\n2. Empty arg AND uncommitted `.md` files → batch audit over those files\n3. Single file path → single-file audit\n4. Directory path → batch audit (filenames sorted lexically for deterministic output)\n5. First positional == `audit` → audit on rest (explicit form)\n\n## Hard rules\n\n- **Read-only on every audited target.** No `Edit`, no `Write`, no mutating `Bash` op against any\n  file this skill audits; the author owns every treatment edit. **Emitting the findings artifact is\n  the one write this skill performs, and it is not an exception**: \"read-only\" forbids **target\n  mutation**, not **artifact emission**. The artifact is a NEW file in the gitignored memory tier,\n  never an audited target, written only under `--persist-findings`, and a proposal for a\n  human-gated relay, not an applied edit. Describing it to an operator as a change that has been\n  made is wrong. No audited file becomes writable, and a bare invocation still writes nothing.\n- **Tier semantics.** Tier 1 = definite noise; Tier 2 = review needed; Tier 3 = likely legitimate (surfaced for awareness). Tier 3 carries NO treatment. A finding whose ruling includes an edit (\"strip\", \"relocate\", \"replace\") is Tier 2 or 1 by definition.\n- **Section EXEMPTIONS never flagged:** `## Recheck triggers`, `## Cross-references`, `## Sources` \u002F `## History` \u002F `## External authority` footers (any ATX heading level, so `### Sources` counts; a later non-exempt heading of any level ends the exemption), ADR amendment blocks, `CHANGELOG.md` entries and release notes (detect.sh skips `CHANGELOG.md` by basename), YAML frontmatter (`---` … `---`), and fenced code blocks. Inline `` `code` `` spans are stripped before every shape match EXCEPT ghost-ref, which still sees unwrapped path text. A shape-definition or worked example written in backticks does not self-match; one written in plain quotes does.\n- **Dismissal grounds the judgment pass may use** (recurring, sanctioned; the scanner cannot see them): a fictional slug instantiated by a worked example (nothing can dangle), a vendored-verbatim upstream baseline that is never hand-edited by policy, a delete\u002Fprune instruction whose target is the path being removed (a record, not a followable reference), and a shape-definition or output-schema example matching its own pattern.\n- **Negation carve-outs are evidence-gated, so an unresolved candidate is EMITTED.** Three\n  conditions suppress a `negation` candidate, each only with its evidence present on the\n  sentence: a **paired positive** (`instead`, `rather than`, `prefer`, `in place of`, `in favor\n  of`, or a bare imperative after a separator such as an em dash, semicolon, or colon, looking through a\n  leading adverb such as `just` \u002F `simply`), a **hard guardrail** whose constraint a positive form cannot carry (`secret`, `credential`,\n  `token`, `password`, `api key`, `force-push`, `--force`, `rm -rf`, `destructive`, `irreversible`,\n  `data loss`, `production`, `security`, `vulnerab`, `rewrite history`), or a **worked example**\n  (a `->` \u002F `→` demonstration). Absent evidence selects the finding: a judgment call can make a\n  run noisier but never silently withhold one. The carve-out lives in the shared scanner, so the\n  human report and any persisted findings file give one candidate one disposition. Every marker\n  matches as a **whole word**: a bare substring would let a longer word (`secretary` for\n  `secret`, `preferentially` for `prefer`) satisfy a *withholding* boundary and lose a real\n  finding silently.\n- **`negation` selects only an IMPERATIVE, and classifies the accumulated sentence.** Two scope\n  gates; without them the shape fires on most descriptive prose in an instruction corpus and buries\n  every real finding. (1) The cue must open the **sentence**, after list, blockquote,\n  task-list-checkbox and emphasis markers. \"Prompt the positive\" is a rule about *instructions*,\n  so descriptive prose is out of scope, and a mid-sentence cue is already the paired form\n  (\"Prefer X; never Y\"). The stated cost: a subject-led instruction (\"The agent must not emit a\n  bare summary\") is not selected. (2) Soft-wrapped sentences are accumulated across paragraph\n  lines before the classifier runs, so a wrapped prohibition is judged as one sentence. A finding\n  is attributed to the sentence's first physical line, where the cue opens, so the fix action\n  lands on the instruction's start, not its continuation. The other eight shapes stay\n  line-scoped. A table row still does not select: a row begins with `|`.\n- **Opt-out markers respected.** A well-formed HTML comment line `\u003C!-- markdown-discipline-ignore -->` covers the next paragraph, through the next blank line or heading. `\u003C!-- markdown-discipline-ignore-line -->` covers exactly the next physical line; a blank line consumes it, so place it directly above the content line. Both skip the wrapped content. A prose mention of the marker name is not a live marker.\n- **Convention-path exemptions apply per matched path, never per line.** An angle-bracket slot variable (`.work\u002F\u003Cslug>\u002F…`) is a schema placeholder, not a literal path; the reserved concern-scoped roots in the `ghost-ref` row are citable only bare or with a placeholder child, and a concrete child under them flags. A convention token on a line never exempts a concrete ghost ref sharing that line. Exception: the retired `.claude\u002Fnotes\u002F` location flags even in placeholder form.\n- **Output deterministic.** Filenames sort lexically; per-file tier rows sort by line number; no timestamps in output.\n- **Default action is the audit action**. `\u002Fdocs-hygiene:audit-noise \u003Cfile>` is identical to `\u002Fdocs-hygiene:audit-noise audit \u003Cfile>`.\n\n## Output schema\n\nTwo writers, one report. `detect.sh` emits `File:` \u002F `Finding *:` \u002F `Summary *:`\nlines only. It does **not** emit admission verdicts, and does **not** emit\nTier 3 for any of the nine named shapes (each has a fixed default tier in\n`audit_noise_shape_tier`); a scanner `T3=` count is reserved for an\nunrecognized shape name, which should not occur. Admission and any Tier 3\n\"likely legitimate\" row are **judgment-pass** rulings the operator writes after\nreading the scanner facts. Do not treat scanner stdout as if it contained\n`admission PASS` \u002F `admission FAIL`.\n\nA run that scanned nothing is distinct on stdout from one that scanned files\nand found nothing: `detect.sh` prints `status: no-targets` in the first case\n(even when stderr is discarded, as the pre-computed context above does). A\nclean audit prints `Summary total: files=\u003CN>` with `N>0` and zero findings.\n\nPer target file, the judgment-pass existence pre-check precedes the in-page findings:\n\n```text\n\u003Cfile>: admission PASS\n\u003Cfile>: admission FAIL — deletion candidate (relocate-then-delete recommended)\n```\n\nA FAIL skips the in-page tier table below; a PASS proceeds to it:\n\n```text\n\u003Cfile>: N finding(s) — T1=\u003Cn>, T2=\u003Cn>, T3=\u003Cn>\n\n| Tier | Shape | Line | Excerpt | Treatment |\n|------|-------|------|---------|-----------|\n| 1    | citation | 42 | \"Empirically observed 2026-...\" | Relocate to a ## Sources \u002F ## History footer |\n| 2    | ghost-ref | 87 | \".work\u002Ffoo-slice\u002FPLAN.md cites...\" | 3-way classify (promote \u002F SHA-permalink \u002F strip) |\n| 2    | preamble | 7  | \"## Why this file exists\" | Diataxis classify (KEEP if Explanation; STRIP if Reference) |\n| 3    | preamble | 1  | (top-of-file orientation paragraph) | Likely legitimate; surfaced for awareness |\n| 1    | conversational-antecedent | 9 | \"As you asked, this section...\" | Delete the address to the requester |\n| 2    | ticket-pr-residue | 55 | \"See PR #45 for the rationale\" | Review (delete a bare back-reference \u002F relocate to ## Sources) |\n```\n\nBatch aggregate at end:\n\n```text\nTotal: \u003CN> file(s) audited, \u003CT1> Tier 1, \u003CT2> Tier 2, \u003CT3> Tier 3 findings.\n```\n\n`shape` values: `citation`, `ghost-ref`, `preamble`, `enum-list`, `scope-meta`, `plan-reference`, `conversational-antecedent`, `ticket-pr-residue`, `negation`.\n\n## What this skill is NOT\n\n- **Not `\u002Fdocs-hygiene:compress`.** The sibling `\u002Fdocs-hygiene:compress` owns FLAVOR (filler, hedging, redundant restatement, and articles when `compress_articles` is `cut`); `\u002Fdocs-hygiene:audit-noise` owns NOISE (the nine shapes above). Both may apply to the same target iteratively.\n- **Not `\u002Fcode-tidying:remove-comments audit`.** The boundary is the FILE TYPE, not the shape vocabulary (see Purpose): each file type keeps exactly one owner, so no dedup or precedence rule is needed. The code skill is not simply widened to `.md` because on markdown its `history-narration` and `origin-note` would fire on the same lines as this skill's `citation` with the opposite treatment (delete vs. relocate to a `## Sources` footer), and a conflict between two treatments is resolved by ownership, not by scope.\n- **Not a markdown linter.** Structural GFM conventions belong to the repo's markdown linter (e.g. markdownlint-cli2); `\u002Fdocs-hygiene:audit-noise` is semantic noise classification.\n- **Not an Edit operation.** Read-only: it surfaces findings; the author applies treatments.\n- **Not a content deduplicator.** The same concept repeated across files is the sibling `\u002Fdocs-hygiene:extract-ssot`'s territory at any multiplicity. Sub-three repetition lands in its non-abstracting buckets, and only minting a new SSOT artifact waits for 3+.\n\n## Next\n\n- Findings are persisted with `--persist-findings`: `\u002Freview:fanout fix`.\n- A page failed the existence pre-check and needs the four-factor ruling:\n  `\u002Fdocs-hygiene:audit-derivability`.\n- What is left is flavor rather than noise: `\u002Fdocs-hygiene:compress`.\n\n## Sources\n\n- [Diataxis Explanation](https:\u002F\u002Fdiataxis.fr\u002Fexplanation\u002F), the Diataxis classifier behind the preamble treatment\n- [Prompting best practices, Control the format of responses](https:\u002F\u002Fplatform.claude.com\u002Fdocs\u002Fen\u002Fbuild-with-claude\u002Fprompt-engineering\u002Fclaude-prompting-best-practices#control-the-format-of-responses), source of the negation rule's worked example (\"Do not use markdown\" rewritten to the positive form), read 2026-11-10; recheck when that page drops or rewords the example\n- [markdownlint configuration](https:\u002F\u002Fgithub.com\u002FDavidAnson\u002Fmarkdownlint?tab=readme-ov-file#configuration), opt-out marker HTML-comment form precedent\n",{"shell":24,"metadata":25,"description":7,"allowed-tools":28,"argument-hint":36,"user-invocable":37,"disable-model-invocation":20},"bash",{"summary":26,"workflow-stage":27},"Classify markdown for citations, ghost refs, meta-commentary, plan\u002Fconversational\u002Ftracker residue","anytime",[29,30,31,32,33,34,35],"Bash(${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fdetect.sh:*)","Bash(${CLAUDE_SKILL_DIR}\u002Fscripts\u002Femit-findings.sh:*)","Bash(git branch --show-current:*)","Bash(git rev-parse --show-toplevel:*)","Bash(grep:*)","Bash(head:*)","Bash(echo:*)","[audit] [target] [--persist-findings]",true,"main","5aff8ba54896bc54fd0eb46e4a954099449cf67d","plugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise",7,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins","https:\u002F\u002Fgithub.com\u002Fmelodic-software","https:\u002F\u002Fmelodicsoftware.com","Independent software studio building developer tools, automation, and application services, with roots in music.","2026-11-15 05:15:06",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":37},[49,52,55],{"tool":50,"command":51},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill audit-noise",{"tool":53,"command":54},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill audit-noise",{"tool":56,"command":57},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill audit-noise","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002FSKILL.md",[60,66,70,74,78,82,86,90,94,100,104,108,112,116,120,124],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"context\u002Fpersist-findings.md","REFERENCE","参考文档",7686,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fcontext\u002Fpersist-findings.md",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"evals\u002Fevals.json",19075,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fevals\u002Fevals.json",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"evals\u002Ffixtures\u002Flegit-optouts.md",2443,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fevals\u002Ffixtures\u002Flegit-optouts.md",{"path":75,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":76,"sourceHtmlUrl":77},"evals\u002Ffixtures\u002Fnegation-shapes.md",802,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fevals\u002Ffixtures\u002Fnegation-shapes.md",{"path":79,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":80,"sourceHtmlUrl":81},"evals\u002Ffixtures\u002Fnegation-trigger-fence.md",607,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fevals\u002Ffixtures\u002Fnegation-trigger-fence.md",{"path":83,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":84,"sourceHtmlUrl":85},"evals\u002Ffixtures\u002Fnoisy-rule-snippet.md",898,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fevals\u002Ffixtures\u002Fnoisy-rule-snippet.md",{"path":87,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":88,"sourceHtmlUrl":89},"evals\u002Ffixtures\u002Forigin-notes.md",648,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fevals\u002Ffixtures\u002Forigin-notes.md",{"path":91,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":92,"sourceHtmlUrl":93},"evals\u002Ffixtures\u002Frecall-paraphrases.md",674,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fevals\u002Ffixtures\u002Frecall-paraphrases.md",{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fdetect.sh","SCRIPT","脚本",15643,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fscripts\u002Fdetect.sh",{"path":101,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Fdetect.test.sh",74705,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fscripts\u002Fdetect.test.sh",{"path":105,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Femit-findings.sh",19633,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fscripts\u002Femit-findings.sh",{"path":109,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Femit-findings.test.sh",10527,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fscripts\u002Femit-findings.test.sh",{"path":113,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Flib\u002Fnoise-shapes.sh",36222,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fscripts\u002Flib\u002Fnoise-shapes.sh",{"path":117,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":118,"sourceHtmlUrl":119},"scripts\u002Flib\u002Fopt-value.sh",576,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fscripts\u002Flib\u002Fopt-value.sh",{"path":121,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":122,"sourceHtmlUrl":123},"scripts\u002Flib\u002Fparse-concern-value.sh",5082,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fscripts\u002Flib\u002Fparse-concern-value.sh",{"path":125,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":126,"sourceHtmlUrl":127},"scripts\u002Flib\u002Fyaml-subset.awk",9901,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdocs-hygiene\u002Fskills\u002Faudit-noise\u002Fscripts\u002Flib\u002Fyaml-subset.awk",[129,136,143,150,155,162],{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":19},"01M7DYYDG31B9YX7N9MB9QW2GW","track","Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fsession-flow\u002Fevals\u002Frecall-still-reports-reopened-bug\u002Fwork-items-stub\u002Fskills\u002Ftrack\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":19},"01M7DYXVBAVG3NV30PA7GKW9Q6","reviewer-media","Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from \u002Freview:explain-change's digest, has \u002Fexplainer-video:produce render it and hands the manifest to \u002Fsource-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Freview\u002Fskills\u002Freviewer-media\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M7DYRZ5YD44AMYH26YR25GZ8","route","Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-pin-without-override\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":151,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":19},"01M7DYRTVT4FWTGDJY0HCCFJMZ","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fdiscovery\u002Fevals\u002Fex-model-override-from-route\u002Fmulti-agent-stub\u002Fskills\u002Froute\u002FSKILL.md",[],[],{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":19},"01M7DYNZC8PNW3T27V2ADKECKJ","principles","Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is \u002Farchitecture:improve.","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":19},"01M7DYNMCZNEWBFHV9KTSS6H60","write","Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').","https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Farchitecture\u002Fevals\u002Fdeepening-defect-goes-to-bugs-write\u002Fbugs-stub\u002Fskills\u002Fwrite\u002FSKILL.md",[],[]]