[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77K7A93DCX7RKBJF1FKNBT4":3,"skill-same:01M77K7A93DCX7RKBJF1FKNBT4":76},{"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":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":55},"01M77K7A93DCX7RKBJF1FKNBT4","audit-suppressions",null,"List every lint and type-checker suppression in a change, a path, or the tree (`--all`): eslint-disable, @ts-expect-error, noqa, type: ignore, pylint, pyright, shellcheck disable, C# pragmas and SuppressMessage, nolint, PowerShell SuppressMessageAttribute, markdownlint, rubocop, @SuppressWarnings; and the directives that switch off the evidence a quality bar relies on: coverage exclusions (istanbul, c8, coverage.py), mutation-testing exclusions (Stryker), security-scanner suppressions (bandit nosec, nosemgrep, gitleaks allow). Each row names its rule ids, its reason, and whether it is justified; listed correctness rules are marked. Reports, never gates. Use when: 'how many suppressions', 'find eslint-disable comments', 'which noqa have no reason', 'suppressions added in this change', 'audit lint suppressions', 'count suppressions to ratchet'. Complexity: \u002Fcode-metrics:audit complexity.","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\u002Fcode-metrics\u002Fskills\u002Faudit-suppressions\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"List every lint and type-checker suppression in a change, a path, or the tree (`--all`): eslint-disable, @ts-expect-error, noqa, type: ignore, pylint, pyright, shellcheck disable, C# pragmas and SuppressMessage, nolint, PowerShell SuppressMessageAttribute, markdownlint, rubocop, @SuppressWarnings; and the directives that switch off the evidence a quality bar relies on: coverage exclusions (istanbul, c8, coverage.py), mutation-testing exclusions (Stryker), security-scanner suppressions (bandit nosec, nosemgrep, gitleaks allow). Each row names its rule ids, its reason, and whether it is justified; listed correctness rules are marked. Reports, never gates. Use when: 'how many suppressions', 'find eslint-disable comments', 'which noqa have no reason', 'suppressions added in this change', 'audit lint suppressions', 'count suppressions to ratchet'. Complexity: \u002Fcode-metrics:audit complexity.\"\nargument-hint: \"[--json|--findings [--memory-dir \u003Cdir>]] [--all] [--base \u003Cref>] [\u003Cpath>...]\"\nuser-invocable: true\ndisable-model-invocation: false\nallowed-tools: [\"Bash(${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh:*)\", \"Bash(python3 ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsuppression-scan.py:*)\", \"Bash(git branch --show-current:*)\"]\nshell: bash\nmetadata:\n  workflow-stage: anytime\n  summary: Suppressions with their rule ids and reasons, no verdict\n---\n\n## Pre-computed context\n\nCurrent branch: !`git branch --show-current 2>\u002Fdev\u002Fnull || echo \"unknown\"`\n\n## Purpose\n\nA suppression turns a linter or type checker off for one line, one block or one file. Three further\nclasses switch off the evidence a quality bar rests on, and the scanner lists them the same way:\ncoverage exclusions (istanbul, c8 and coverage.py), mutation-testing exclusions (Stryker) and\nsecurity-scanner suppressions (Bandit, Semgrep and Gitleaks). This skill lists all of them so a reader can see how many there are, which explain themselves, and which switch off\na rule the team counts as correctness rather than style.\nIt reports and stops: no pass or fail, and the report carries no severity (a `--findings` file\ncarries the tier its rule's row sets, below). Whether a suppression should go is the reader's call.\n\nA suppression is **justified** when its line carries a reason and, for a tool whose syntax can name\na rule, at least one rule id. TypeScript's `@ts-ignore`, `@ts-expect-error` and `@ts-nocheck`\ncannot name an error, so a reason alone justifies them. Where a tool has a reason slot of its own,\nthe text there is the reason (ESLint and RuboCop after `--`, a `Justification` argument in C# and\nPowerShell); otherwise a further comment on the same line is (a TypeScript directive's trailing\ntext, a second `\u003C!-- -->` after a markdownlint directive, a `\u002F\u002F` comment after `@SuppressWarnings`,\na second `#` comment after a Python or shell pragma).\n\nOnly real comments, pragmas and attributes count. A marker inside a string literal, a Markdown code\nspan or a fenced code block in a Markdown file is not a suppression.\n\n## Run it\n\n```bash\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\"                    # lines the commits since the merge-base add\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" --base release\u002F2.0  # the merge-base with another branch\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" --all              # every suppression in the tree\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" src\u002F tools\u002Fbuild.sh # explicit paths, whole files\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" --json --all        # the document instead of markdown\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" --findings          # the report plus a findings file for \u002Freview:fanout fix\n```\n\nThe change scope reads committed lines only: a suppression in an uncommitted edit is not in it until\nit is committed, so name the file or use `--all` to see the working tree. `scope.exclude` and lane\nopt-outs apply as in the other audits.\n\nPresent the markdown report as printed: the scope, the counts, the correctness list with the layer\nthat set it, then one row per suppression (correctness rules first, then lines without a reason),\ncapped at 200 rows with the kept document named for the rest, then a `Not read` line naming each\ntext file in scope whose language the scanner has no kind for. The `--json` document\n(`code-metrics\u002Fsuppressions\u002Fv1`) carries `scope`, `counts` (`suppressions`, `unjustified`,\n`correctness`), `correctness_rules` (`rules`, `layer`), `suppressions`, one object per row with\n`file`, `line`, `tool`, `rules`, `justified`, `reason` and `correctness`, and `unread`, the paths of\nthose files.\n\n## Findings for the review relay (`--findings`)\n\n`--findings` runs the same scan in the same scope, prints the same report, then writes one findings\nfile in the shape `\u002Freview:fanout fix` reads and prints its path. It asks nothing, so a pipeline or\nanother skill can run it. Bare invocation and `--json` write no findings file.\n\n- **Where it goes.** `\u003Cmemory root>\u002Freviews\u002F\u003Cbranch-slug>\u002F\u003CUTC stamp>-suppressions.md`, the\n  directory `\u002Freview:fanout` \"Shared inputs\" names. The memory root is `.work` under the repository\n  root; when the project's instructions name another memory root, pass it with `--memory-dir`. A\n  memory root with no `.gitignore` gets one holding `*`, and the run says so. An existing file is\n  never overwritten: a second run in the same second takes a `-2` suffix.\n- **No branch, no file.** On a detached HEAD or outside a git repository the run stops with exit 2\n  before scanning and says no findings file was written: the relay reads only a file whose\n  `branch:` matches the current branch.\n- **What becomes a row.** A justified suppression is no finding. An unjustified one is a row under\n  one of two rules: `code-metrics\u002Faudit-suppressions\u002Frule-no-reason` when the line carries no\n  reason, and `code-metrics\u002Faudit-suppressions\u002Frule-no-rule-id` when it carries a reason but no rule\n  id and the tool can name one. Each `Finding` cell leads with the rule id and what fired (the tool,\n  its rule ids, and the missing part); `Location` is the repo-relative `file:line`. `Tier`\n  (`IMPORTANT`), `Confidence` (`high`) and the fact that neither rule is auto-applicable come from\n  the two rules' rows in the detector-findings convention\n  (\u003Chttps:\u002F\u002Fraw.githubusercontent.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fmain\u002Fdocs\u002Fcontracts\u002Fdetector-findings\u002FREADME.md>,\n  \"The severity crosswalk\"), never from the finding. The `Action` names where this tool keeps its\n  reason, and asks for a rule id only where the tool can name one and the line names none.\n- **Coverage.** `## Surfaces` names the scope and how many suppressions were examined, and counts\n  each rule's declined candidates by the evidence that declined them: a reason on the line, a rule\n  id on the line, or a TypeScript directive, which cannot name an error. A run whose scope holds no\n  file writes no findings file.\n\nWhether a suppression goes or gets its reason is a human's call, so no row is auto-applicable: the\nfix pass surfaces the rows rather than applying them.\n\n## Correctness rules\n\n`suppressions.correctness_rules` lists the rule ids whose suppression the team wants to see first,\nsuch as `no-floating-promises`, `SC2086` or `CA2000`. The plugin ships the list empty, because which\nrules guard correctness is the repository's call. Set it in `docs\u002Fconventions\u002Fcode-metrics.yaml`\n(keys in `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`):\n\n```yaml\nsuppressions:\n  correctness_rules: [no-floating-promises, SC2086, CA2000]\n```\n\nA row is marked when one of its rule ids is listed, compared case-insensitively. A suppression that\nnames no rule is not matched; for a tool that can name one, it is already unjustified. An invalid\nvalue (a scalar, a number in the list) is named with its file and key, and the key falls back to a\nvalid higher layer or the empty default; the run continues.\n\n## Freezing the count\n\nThe scanner behind this skill, `scripts\u002Fsuppression-scan.py`, prints the count on its own:\n\n```bash\npython3 \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsuppression-scan.py\" --count\n# suppressions=\u003Cn>\n# unjustified=\u003Cn>\n```\n\nWhen `\u002Ftoolchain:ratchet` is among the available skills, it can hold that count as a CI ceiling: it\nvendors a copy of the scanner into the repository and ratchets the `suppressions` or `unjustified`\nfield. Without it, keep the `--json` document and compare counts by hand.\n\nThe scanner reads no configuration: with no path it scans every tracked and untracked,\nnot-ignored file in the repository, and `suppressions.correctness_rules` marks nothing. The caller\npasses the audit's resolved scope, so the frozen count and the report count the same files: name\nthe paths to count and give each `scope.exclude` glob with `--exclude \u003Cglob>` (repeatable), or\nlist the globs one per line in a file for `--exclude-from \u003Cfile>`:\n\n```bash\npython3 \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsuppression-scan.py\" --count \\\n  --exclude 'vendor\u002F' --exclude '**\u002Fgenerated\u002F**' src\u002F tools\u002F\n```\n\nA glob matches the repository-relative path in the same gitignore dialect `scope.exclude` uses. With\nno `--exclude` the count is unchanged and includes any path `scope.exclude` would drop.\n\n## Upstream syntax\n\nThe marker catalog follows each tool's own directive syntax, read from these pages:\n\n- **Pointer:** [ESLint, disabling rules](https:\u002F\u002Feslint.org\u002Fdocs\u002Flatest\u002Fuse\u002Fconfigure\u002Frules#disable-rules);\n  [TypeScript 3.9, `@ts-expect-error`](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Frelease-notes\u002Ftypescript-3-9.html);\n  [flake8, in-line ignoring](https:\u002F\u002Fflake8.pycqa.org\u002Fen\u002Flatest\u002Fuser\u002Fviolations.html);\n  [Ruff, error suppression](https:\u002F\u002Fdocs.astral.sh\u002Fruff\u002Flinter\u002F#error-suppression);\n  [mypy, silencing the checker](https:\u002F\u002Fmypy.readthedocs.io\u002Fen\u002Fstable\u002Fcommon_issues.html);\n  [pylint, message control](https:\u002F\u002Fpylint.readthedocs.io\u002Fen\u002Fstable\u002Fuser_guide\u002Fmessages\u002Fmessage_control.html);\n  [Pyright, comments](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Fblob\u002Fmain\u002Fdocs\u002Fcomments.md);\n  [ShellCheck, directives](https:\u002F\u002Fwww.shellcheck.net\u002Fwiki\u002FDirective);\n  [C# `#pragma warning`](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Fcsharp\u002Flanguage-reference\u002Fpreprocessor-directives);\n  [.NET, suppressing code analysis warnings](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Ffundamentals\u002Fcode-analysis\u002Fsuppress-warnings);\n  [golangci-lint, false positives](https:\u002F\u002Fgolangci-lint.run\u002Fdocs\u002Flinters\u002Ffalse-positives\u002F);\n  [PSScriptAnalyzer, suppressing rules](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpowershell\u002Futility-modules\u002Fpsscriptanalyzer\u002Fusing-scriptanalyzer);\n  [markdownlint, configuration](https:\u002F\u002Fgithub.com\u002FDavidAnson\u002Fmarkdownlint#configuration);\n  [RuboCop, source code directives](https:\u002F\u002Fdocs.rubocop.org\u002Frubocop\u002Flatest\u002Fusage\u002Fsource_code_directives.html);\n  [Java `SuppressWarnings`](https:\u002F\u002Fdocs.oracle.com\u002Fen\u002Fjava\u002Fjavase\u002F21\u002Fdocs\u002Fapi\u002Fjava.base\u002Fjava\u002Flang\u002FSuppressWarnings.html);\n  [istanbul, ignoring code for coverage](https:\u002F\u002Fgithub.com\u002Fistanbuljs\u002Fnyc#parsing-hints-ignoring-lines);\n  [c8, ignoring lines](https:\u002F\u002Fgithub.com\u002Fbcoe\u002Fc8#ignoring-uncovered-lines-functions-and-blocks);\n  [coverage.py, excluding code](https:\u002F\u002Fcoverage.readthedocs.io\u002Fen\u002Flatest\u002Fexcluding.html);\n  [Stryker, disable mutants](https:\u002F\u002Fstryker-mutator.io\u002Fdocs\u002Fstryker-js\u002Fdisable-mutants\u002F);\n  [Bandit, suppressing individual lines](https:\u002F\u002Fbandit.readthedocs.io\u002Fen\u002Flatest\u002Fconfig.html#suppressing-individual-lines);\n  [Semgrep, ignore code through `nosemgrep`](https:\u002F\u002Fdocs.semgrep.dev\u002Fignoring-files-folders-code);\n  [Gitleaks, inline allow](https:\u002F\u002Fgithub.com\u002Fgitleaks\u002Fgitleaks#gitleaksallow).\n- **As of:** 2026-11-03.\n- **Recheck trigger:** a tool on the list adds a suppression form, a reason syntax, or a way to name\n  a rule; or a team reports a real suppression the report missed.\n\n## What this skill does not do\n\n- It does not remove, rewrite or approve a suppression, and it runs no linter.\n- It is not the finding-suppression record in `docs\u002Fcontracts\u002Ffinding-suppression\u002F`, which holds\n  review findings a team chose to dismiss; this skill reads source comments and attributes.\n- It does not judge: no count here is a bar. `\u002Fcode-metrics:principles` explains what each number\n  in this plugin can and cannot tell you.\n\n## Next\n\n- Hold the count in CI so it only falls: \u002Ftoolchain:ratchet.\n- Work through the rows a `--findings` run wrote: \u002Freview:fanout fix.\n- A count needs reading before anyone acts on it: \u002Fcode-metrics:principles.\n\n## Gotchas\n\n- The change scope needs a merge-base with the default branch; outside a git repository, or with no\n  default-branch ancestor, pass paths or `--all` (the usage error says which).\n- A multi-line C#, PowerShell or Java attribute is read up to ten lines past its opening line; a\n  longer one is reported with the rule ids and reason it showed in that span.\n- A coverage, Stryker or Gitleaks directive is read only in the comment forms of the languages the\n  scanner knows; a coverage exclusion kept in a tool's configuration file (a path list, an exclusion\n  regex) is not reported. Bandit rule ids are read as test ids (`B` and digits); a test name after\n  `nosec` reads as the reason.\n- A tool not on the list (Stylelint, Clippy, SwiftLint) is not reported; nothing in the report says\n  a file had none of its markers.\n- The scanner needs Python 3.11 or later, above the plugin's 3.9 floor; below it the scanner\n  exits 2 with a one-line message.\n- File type comes from the extension, or the shebang for a file without one; a shell script named\n  `*.txt` is not read as shell. A text file with no known type is named on the `Not read` line, and\n  a `--findings` file counts it under `Not examined`; a binary file is passed over quietly.\n","## Pre-computed context\n\nCurrent branch: !`git branch --show-current 2>\u002Fdev\u002Fnull || echo \"unknown\"`\n\n## Purpose\n\nA suppression turns a linter or type checker off for one line, one block or one file. Three further\nclasses switch off the evidence a quality bar rests on, and the scanner lists them the same way:\ncoverage exclusions (istanbul, c8 and coverage.py), mutation-testing exclusions (Stryker) and\nsecurity-scanner suppressions (Bandit, Semgrep and Gitleaks). This skill lists all of them so a reader can see how many there are, which explain themselves, and which switch off\na rule the team counts as correctness rather than style.\nIt reports and stops: no pass or fail, and the report carries no severity (a `--findings` file\ncarries the tier its rule's row sets, below). Whether a suppression should go is the reader's call.\n\nA suppression is **justified** when its line carries a reason and, for a tool whose syntax can name\na rule, at least one rule id. TypeScript's `@ts-ignore`, `@ts-expect-error` and `@ts-nocheck`\ncannot name an error, so a reason alone justifies them. Where a tool has a reason slot of its own,\nthe text there is the reason (ESLint and RuboCop after `--`, a `Justification` argument in C# and\nPowerShell); otherwise a further comment on the same line is (a TypeScript directive's trailing\ntext, a second `\u003C!-- -->` after a markdownlint directive, a `\u002F\u002F` comment after `@SuppressWarnings`,\na second `#` comment after a Python or shell pragma).\n\nOnly real comments, pragmas and attributes count. A marker inside a string literal, a Markdown code\nspan or a fenced code block in a Markdown file is not a suppression.\n\n## Run it\n\n```bash\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\"                    # lines the commits since the merge-base add\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" --base release\u002F2.0  # the merge-base with another branch\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" --all              # every suppression in the tree\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" src\u002F tools\u002Fbuild.sh # explicit paths, whole files\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" --json --all        # the document instead of markdown\n\"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh\" --findings          # the report plus a findings file for \u002Freview:fanout fix\n```\n\nThe change scope reads committed lines only: a suppression in an uncommitted edit is not in it until\nit is committed, so name the file or use `--all` to see the working tree. `scope.exclude` and lane\nopt-outs apply as in the other audits.\n\nPresent the markdown report as printed: the scope, the counts, the correctness list with the layer\nthat set it, then one row per suppression (correctness rules first, then lines without a reason),\ncapped at 200 rows with the kept document named for the rest, then a `Not read` line naming each\ntext file in scope whose language the scanner has no kind for. The `--json` document\n(`code-metrics\u002Fsuppressions\u002Fv1`) carries `scope`, `counts` (`suppressions`, `unjustified`,\n`correctness`), `correctness_rules` (`rules`, `layer`), `suppressions`, one object per row with\n`file`, `line`, `tool`, `rules`, `justified`, `reason` and `correctness`, and `unread`, the paths of\nthose files.\n\n## Findings for the review relay (`--findings`)\n\n`--findings` runs the same scan in the same scope, prints the same report, then writes one findings\nfile in the shape `\u002Freview:fanout fix` reads and prints its path. It asks nothing, so a pipeline or\nanother skill can run it. Bare invocation and `--json` write no findings file.\n\n- **Where it goes.** `\u003Cmemory root>\u002Freviews\u002F\u003Cbranch-slug>\u002F\u003CUTC stamp>-suppressions.md`, the\n  directory `\u002Freview:fanout` \"Shared inputs\" names. The memory root is `.work` under the repository\n  root; when the project's instructions name another memory root, pass it with `--memory-dir`. A\n  memory root with no `.gitignore` gets one holding `*`, and the run says so. An existing file is\n  never overwritten: a second run in the same second takes a `-2` suffix.\n- **No branch, no file.** On a detached HEAD or outside a git repository the run stops with exit 2\n  before scanning and says no findings file was written: the relay reads only a file whose\n  `branch:` matches the current branch.\n- **What becomes a row.** A justified suppression is no finding. An unjustified one is a row under\n  one of two rules: `code-metrics\u002Faudit-suppressions\u002Frule-no-reason` when the line carries no\n  reason, and `code-metrics\u002Faudit-suppressions\u002Frule-no-rule-id` when it carries a reason but no rule\n  id and the tool can name one. Each `Finding` cell leads with the rule id and what fired (the tool,\n  its rule ids, and the missing part); `Location` is the repo-relative `file:line`. `Tier`\n  (`IMPORTANT`), `Confidence` (`high`) and the fact that neither rule is auto-applicable come from\n  the two rules' rows in the detector-findings convention\n  (\u003Chttps:\u002F\u002Fraw.githubusercontent.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fmain\u002Fdocs\u002Fcontracts\u002Fdetector-findings\u002FREADME.md>,\n  \"The severity crosswalk\"), never from the finding. The `Action` names where this tool keeps its\n  reason, and asks for a rule id only where the tool can name one and the line names none.\n- **Coverage.** `## Surfaces` names the scope and how many suppressions were examined, and counts\n  each rule's declined candidates by the evidence that declined them: a reason on the line, a rule\n  id on the line, or a TypeScript directive, which cannot name an error. A run whose scope holds no\n  file writes no findings file.\n\nWhether a suppression goes or gets its reason is a human's call, so no row is auto-applicable: the\nfix pass surfaces the rows rather than applying them.\n\n## Correctness rules\n\n`suppressions.correctness_rules` lists the rule ids whose suppression the team wants to see first,\nsuch as `no-floating-promises`, `SC2086` or `CA2000`. The plugin ships the list empty, because which\nrules guard correctness is the repository's call. Set it in `docs\u002Fconventions\u002Fcode-metrics.yaml`\n(keys in `${CLAUDE_PLUGIN_ROOT}\u002Freference\u002Fconfig.md`):\n\n```yaml\nsuppressions:\n  correctness_rules: [no-floating-promises, SC2086, CA2000]\n```\n\nA row is marked when one of its rule ids is listed, compared case-insensitively. A suppression that\nnames no rule is not matched; for a tool that can name one, it is already unjustified. An invalid\nvalue (a scalar, a number in the list) is named with its file and key, and the key falls back to a\nvalid higher layer or the empty default; the run continues.\n\n## Freezing the count\n\nThe scanner behind this skill, `scripts\u002Fsuppression-scan.py`, prints the count on its own:\n\n```bash\npython3 \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsuppression-scan.py\" --count\n# suppressions=\u003Cn>\n# unjustified=\u003Cn>\n```\n\nWhen `\u002Ftoolchain:ratchet` is among the available skills, it can hold that count as a CI ceiling: it\nvendors a copy of the scanner into the repository and ratchets the `suppressions` or `unjustified`\nfield. Without it, keep the `--json` document and compare counts by hand.\n\nThe scanner reads no configuration: with no path it scans every tracked and untracked,\nnot-ignored file in the repository, and `suppressions.correctness_rules` marks nothing. The caller\npasses the audit's resolved scope, so the frozen count and the report count the same files: name\nthe paths to count and give each `scope.exclude` glob with `--exclude \u003Cglob>` (repeatable), or\nlist the globs one per line in a file for `--exclude-from \u003Cfile>`:\n\n```bash\npython3 \"${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsuppression-scan.py\" --count \\\n  --exclude 'vendor\u002F' --exclude '**\u002Fgenerated\u002F**' src\u002F tools\u002F\n```\n\nA glob matches the repository-relative path in the same gitignore dialect `scope.exclude` uses. With\nno `--exclude` the count is unchanged and includes any path `scope.exclude` would drop.\n\n## Upstream syntax\n\nThe marker catalog follows each tool's own directive syntax, read from these pages:\n\n- **Pointer:** [ESLint, disabling rules](https:\u002F\u002Feslint.org\u002Fdocs\u002Flatest\u002Fuse\u002Fconfigure\u002Frules#disable-rules);\n  [TypeScript 3.9, `@ts-expect-error`](https:\u002F\u002Fwww.typescriptlang.org\u002Fdocs\u002Fhandbook\u002Frelease-notes\u002Ftypescript-3-9.html);\n  [flake8, in-line ignoring](https:\u002F\u002Fflake8.pycqa.org\u002Fen\u002Flatest\u002Fuser\u002Fviolations.html);\n  [Ruff, error suppression](https:\u002F\u002Fdocs.astral.sh\u002Fruff\u002Flinter\u002F#error-suppression);\n  [mypy, silencing the checker](https:\u002F\u002Fmypy.readthedocs.io\u002Fen\u002Fstable\u002Fcommon_issues.html);\n  [pylint, message control](https:\u002F\u002Fpylint.readthedocs.io\u002Fen\u002Fstable\u002Fuser_guide\u002Fmessages\u002Fmessage_control.html);\n  [Pyright, comments](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fpyright\u002Fblob\u002Fmain\u002Fdocs\u002Fcomments.md);\n  [ShellCheck, directives](https:\u002F\u002Fwww.shellcheck.net\u002Fwiki\u002FDirective);\n  [C# `#pragma warning`](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Fcsharp\u002Flanguage-reference\u002Fpreprocessor-directives);\n  [.NET, suppressing code analysis warnings](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fdotnet\u002Ffundamentals\u002Fcode-analysis\u002Fsuppress-warnings);\n  [golangci-lint, false positives](https:\u002F\u002Fgolangci-lint.run\u002Fdocs\u002Flinters\u002Ffalse-positives\u002F);\n  [PSScriptAnalyzer, suppressing rules](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fpowershell\u002Futility-modules\u002Fpsscriptanalyzer\u002Fusing-scriptanalyzer);\n  [markdownlint, configuration](https:\u002F\u002Fgithub.com\u002FDavidAnson\u002Fmarkdownlint#configuration);\n  [RuboCop, source code directives](https:\u002F\u002Fdocs.rubocop.org\u002Frubocop\u002Flatest\u002Fusage\u002Fsource_code_directives.html);\n  [Java `SuppressWarnings`](https:\u002F\u002Fdocs.oracle.com\u002Fen\u002Fjava\u002Fjavase\u002F21\u002Fdocs\u002Fapi\u002Fjava.base\u002Fjava\u002Flang\u002FSuppressWarnings.html);\n  [istanbul, ignoring code for coverage](https:\u002F\u002Fgithub.com\u002Fistanbuljs\u002Fnyc#parsing-hints-ignoring-lines);\n  [c8, ignoring lines](https:\u002F\u002Fgithub.com\u002Fbcoe\u002Fc8#ignoring-uncovered-lines-functions-and-blocks);\n  [coverage.py, excluding code](https:\u002F\u002Fcoverage.readthedocs.io\u002Fen\u002Flatest\u002Fexcluding.html);\n  [Stryker, disable mutants](https:\u002F\u002Fstryker-mutator.io\u002Fdocs\u002Fstryker-js\u002Fdisable-mutants\u002F);\n  [Bandit, suppressing individual lines](https:\u002F\u002Fbandit.readthedocs.io\u002Fen\u002Flatest\u002Fconfig.html#suppressing-individual-lines);\n  [Semgrep, ignore code through `nosemgrep`](https:\u002F\u002Fdocs.semgrep.dev\u002Fignoring-files-folders-code);\n  [Gitleaks, inline allow](https:\u002F\u002Fgithub.com\u002Fgitleaks\u002Fgitleaks#gitleaksallow).\n- **As of:** 2026-11-03.\n- **Recheck trigger:** a tool on the list adds a suppression form, a reason syntax, or a way to name\n  a rule; or a team reports a real suppression the report missed.\n\n## What this skill does not do\n\n- It does not remove, rewrite or approve a suppression, and it runs no linter.\n- It is not the finding-suppression record in `docs\u002Fcontracts\u002Ffinding-suppression\u002F`, which holds\n  review findings a team chose to dismiss; this skill reads source comments and attributes.\n- It does not judge: no count here is a bar. `\u002Fcode-metrics:principles` explains what each number\n  in this plugin can and cannot tell you.\n\n## Next\n\n- Hold the count in CI so it only falls: \u002Ftoolchain:ratchet.\n- Work through the rows a `--findings` run wrote: \u002Freview:fanout fix.\n- A count needs reading before anyone acts on it: \u002Fcode-metrics:principles.\n\n## Gotchas\n\n- The change scope needs a merge-base with the default branch; outside a git repository, or with no\n  default-branch ancestor, pass paths or `--all` (the usage error says which).\n- A multi-line C#, PowerShell or Java attribute is read up to ten lines past its opening line; a\n  longer one is reported with the rule ids and reason it showed in that span.\n- A coverage, Stryker or Gitleaks directive is read only in the comment forms of the languages the\n  scanner knows; a coverage exclusion kept in a tool's configuration file (a path list, an exclusion\n  regex) is not reported. Bandit rule ids are read as test ids (`B` and digits); a test name after\n  `nosec` reads as the reason.\n- A tool not on the list (Stylelint, Clippy, SwiftLint) is not reported; nothing in the report says\n  a file had none of its markers.\n- The scanner needs Python 3.11 or later, above the plugin's 3.9 floor; below it the scanner\n  exits 2 with a one-line message.\n- File type comes from the extension, or the shebang for a file without one; a shell script named\n  `*.txt` is not read as shell. A text file with no known type is named on the `Not read` line, and\n  a `--findings` file counts it under `Not examined`; a binary file is passed over quietly.\n",{"shell":24,"metadata":25,"description":7,"allowed-tools":28,"argument-hint":32,"user-invocable":33,"disable-model-invocation":20},"bash",{"summary":26,"workflow-stage":27},"Suppressions with their rule ids and reasons, no verdict","anytime",[29,30,31],"Bash(${CLAUDE_SKILL_DIR}\u002Fscripts\u002Faudit-suppressions.sh:*)","Bash(python3 ${CLAUDE_SKILL_DIR}\u002Fscripts\u002Fsuppression-scan.py:*)","Bash(git branch --show-current:*)","[--json|--findings [--memory-dir \u003Cdir>]] [--all] [--base \u003Cref>] [\u003Cpath>...]",true,"main","4f2dcaaff35e8f9fccc6a9f4d82a5830ab17a5c5","plugins\u002Fcode-metrics\u002Fskills\u002Faudit-suppressions",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":44,"prompt":54,"zipAvailable":33},[45,48,51],{"tool":46,"command":47},"npx","npx skills add melodic-software\u002Fclaude-code-plugins --skill audit-suppressions",{"tool":49,"command":50},"bunx","bunx skills add melodic-software\u002Fclaude-code-plugins --skill audit-suppressions",{"tool":52,"command":53},"pnpm","pnpm dlx skills add melodic-software\u002Fclaude-code-plugins --skill audit-suppressions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-metrics\u002Fskills\u002Faudit-suppressions\u002FSKILL.md",[56,62,68,72],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"evals\u002Fevals.json","REFERENCE","参考文档",7707,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-metrics\u002Fskills\u002Faudit-suppressions\u002Fevals\u002Fevals.json",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Faudit-suppressions.sh","SCRIPT","脚本",17316,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-metrics\u002Fskills\u002Faudit-suppressions\u002Fscripts\u002Faudit-suppressions.sh",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"scripts\u002Faudit-suppressions.test.sh",21390,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-metrics\u002Fskills\u002Faudit-suppressions\u002Fscripts\u002Faudit-suppressions.test.sh",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"scripts\u002Fsuppression-scan.py",35240,"https:\u002F\u002Fgithub.com\u002Fmelodic-software\u002Fclaude-code-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcode-metrics\u002Fskills\u002Faudit-suppressions\u002Fscripts\u002Fsuppression-scan.py",[77,84,91,98,103,110],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"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":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"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":99,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"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":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"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":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"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",[],[]]