/code-tidying:audit-comment-residue [audit] [--added-since <base>] [target] [--repo <repo> ...]from code-tidying
Classifies code comments for residue like history narration, session references, conversational asides, and unjustified workarounds. Reports findings without editing.
Ships in code-tidying. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Arguments: $ARGUMENTS
Drop one leading audit token from the arguments if they start with it. Then use the Skill tool to
run /code-tidying:remove-comments audit followed by what remains, and report what it returns. It
edits nothing and never asks; do not edit or delete a comment here.
A target form from ${CLAUDE_PLUGIN_ROOT}/reference/target-scope.md
"Target forms" (--repo, --repos-from, --owner, --fleet, --skip, or the same request in
words) goes through with the rest of the arguments, so the audit runs once per repository as
/code-tidying:remove-comments "Over several repositories" says. With no target form, the audit
covers this checkout.
/code-tidying:remove-comments on the same target./code-tidying:tidy.unjustified-workaround finding marks a bug whose cause is unknown: /debugging:debug.unjustified-workaround finding marks a known cause ready to fix: /implementation:implement.audit passed through unchanged reaches the audit action as a file target, so it is
dropped before the call.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub melodic-software/claude-code-plugins --plugin code-tidying7 skills in this plugin
/audit-dead-codeportability-ok: R6 kept-adapter operation - dead-code-scan.sh grep analyzerRead-only hunt for dead and unused code via 4 analyzers (Knip TS/JS, vulture Python, gopls Go, grep shell/C#/other), adjudicated dead, uncertain, or alive. Use when: 'find dead code', 'remove unused code', unused exports, functions, orphaned files, or if anything calls a symbol. Find-and-delete starts here; deleting is /code-tidying:tidy./batch-simplifyBatch simplifyWhen bundled simplify resolves in this session, prefer it when asked to clean up one file or path; this skill for batch sweeps. Runs simplification over a time window, branch, directory, or repository, grouped by ecosystem in dependency order. Use when: 'batch simplify', 'simplify recent changes', or catch up after a multi-session sprint./remove-commentsRemove commentsEdits code so comments earn their keep (none/strip, necessary/aggressive, explanatory; safe mode, edit-free report): deletes zero-info comments, renames/restructures explanatory ones, keeps load-bearing ones. Use when: 'remove comments', 'dissolve comments', or trim agent comments. Not for read-only flagging: /code-tidying:audit-comment-residue./setupCheck (default, read-only) or apply repo code-tidying config: focus areas, HARD-exclusion overrides, comment-lint git hooks, and CI lint step./tidyWhen bundled simplify resolves in this session, prefer it for the current diff; this skill for proactive focus area hunts. Hunts one rotated focus area for Beck tidyings and ships one structure-only PR. Use when: 'tidy up', 'boy scout', or 'small refactors'. Not for current diff (/simplify) or diff windows (/code-tidying:batch-simplify)./tidy-diffTidy diffTidies a change's file-and-line list before commit: simplify, comment deletions, generated-code residue; docs-hygiene/ai-slop on markdown. Runs on detached HEAD/unattended lanes without base ref. Use when: 'tidy my change before the commit', 'tidy these lines', 'tidy-diff'. Not for /code-tidying:tidy or /code-tidying:batch-simplify.Other plugins' skills for the same job