Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By melodic-software Verified Orgv2.7.9MITIn 1 marketplace
Strips comments that add nothing and makes small structure-only tidyings, shipped as focused PRs. Edits are checked for behavior preservation, and comment-residue audits report without editing.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
TypeScript, JavaScript, Python, Go, C#, Knip
refactoring, dead-code, comment-cleanup, code-hygiene, boy-scout-refactoring, tidy-first, code-tidying, tidy ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Comment posturecomment_posture
Which comments remove-comments keeps. auto (default): necessary. none: only directives, license headers, TODO(#issue), paired records and public doc comments. necessary: those plus the keep list (comment_keep_list). explanatory: whatever passes the earn-its-keep test.
One of auto, none, necessary, explanatory
stringdefault auto
Hard path exclusionshard_exclusions
How tidy, remove-comments, and batch-simplify treat the GLOBAL HARD path list. enforce (default) drops a listed path before triage; advisory reports it per path and never blocks, so a run may edit lint config, agent config, CI workflows, and hook chains.
One of enforce, advisory
stringdefault enforce
Kept-comment length (lines)class_c_max_lines
Lines a kept (class-C) comment may run before remove-comments rewrites it terser, staging any removed narrative for the commit message. A genuinely load-bearing multi-line contract may exceed it when the report says why.
number1–40default 2
Comment keep listcomment_keep_list
What the necessary posture keeps above the floor. default: the shipped list (public-API doc comments, verified outside-constraint comments, one-line ADR pointers, a script header's exit-code list). A repository-relative path: that file's criteria replace the shipped list; the floor always stays.
stringdefault default
Comment edit scopecomment_edit_scope
Which comments remove-comments triages on the uncommitted and branch scope rungs. diff (default): only comments on the lines the change adds. files: every comment in each changed file. An explicit target and the repository rung are always whole files.
One of diff, files
stringdefault diff
Local renames without a test netapply_local_renames
When true (default), a function-local Rename Variable whose edit change-shape.py certifies as RENAME-ONLY is applied and reported with its identifier mapping even when no test net is discovered. When false, such renames are proposed.
booleandefault true
Encode constraints unattendedencode_constraints_unattended
When true, an unattended remove-comments run may encode a constraint comment as a test, assertion or lint rule without asking, behind its tier's gate. When false (default), it offers the encoding in its report.
booleandefault false
A Claude Code plugin for structure-only codebase improvement, applying Kent
Beck's Tidy First? discipline agentically: small named tidyings, separated
from behavioral changes by commit and by PR, under the shared PR scope budget
shipped as reference/pr-scope-budget.md.
Seven skills, one capability:
/code-tidying:remove-comments. Removes the comments in a diff or target
that do not earn their keep (a clean tree widens to the branch diff, then to
the whole repository in safe mode, ranked by exposure and comment
payload), under a posture: necessary (the default) keeps only machine-read
directives, license headers, TODO(#issue) markers, paired comment-and-test
records and a
keep list
(shipped: public-API doc comments, verified
outside-constraint comments, one-line ADR pointers and a script header's
exit-code list; a repository can
supply its own), turning every other warning into a reshape flag;
explanatory (opt-in) keeps every terse,
load-bearing comment code cannot express; none (opt-in) keeps only the
first four and public-API doc comments.
Zero-information comments are deleted, code-expressible ones dissolve into
names and structure via behavior-preserving refactoring first. Deletions and
function-local renames apply behind a token-level proof (change-shape.py, so
they act on a repository with no test suite); additive refactors need a
discovered test net; interface-creating ones are proposal-first. safe
restricts applied edits to removals, report applies nothing, and no
posture loosens a gate. The triage and the comment-only edits run in the
code-tidying:comment-reviewer agent, a fresh reader; the skill checks its
diff and applies any code moves. Its audit action is the read-only
classifier for out-of-context comment residue (history narration, plan and
session references, conversational antecedents, ticket and PR
back-references, origin notes, workarounds with no link or removal
condition). Ships a comment census with a token estimate and a
cross-language commented-out-code detector, and probes its reading layers
(scc, pygments, tree-sitter, pwsh, ruff, ast-grep) at run time,
naming what each absent one costs./code-tidying:audit-comment-residue. Flags out-of-context comment residue
and edits nothing, by running remove-comments' audit action./code-tidying:tidy. Proactively hunts a rotated, glob-scoped focus area of
the codebase for safe structural improvements (Beck's 15 tidyings + a Fowler
subset + prose tidyings), applies scope-budgeted edits, and ships one tight
structure-only PR. Scope is a rotated focus area or an ad hoc glob
(tidy [dry-run] <glob>...). in-place skips the branch and PR and leaves the
edits staged; in-place=commit makes one commit. Overflow is filed as deferred work items, never silently
dropped./code-tidying:batch-simplify. Sweeps files through grouped,
dependency-ordered simplification waves in one of three scope modes:
a time window (48h default, 7d, ...), the current branch, or repo.
Per-group verification and a fix-first deferral contract throughout:
deferrals are resolved in the same run rather than filed as issues, and only
items needing a human decision or a genuinely huge refactor survive to the
report. The whole-repository mode is explicit-entry only, gates on a
confirmed inventory, runs a mandatory per-group refutation verifier, and
delivers one feature branch and one PR for the whole run, with per-group
commits. Use it when you forgot to run /simplify after each task, or to
sweep a repository that never had one. in-place (repo mode) runs on the
current branch with no new branch or PR and leaves the edits staged, or
in-place=commit makes one commit./code-tidying:tidy-diff. Tidies one change's own lines before its
commit, scoped by a file-and-line list the caller writes (no branch or base
ref, so it runs on a detached head): a behavior-preserving simplify pass,
proven class-A comment deletions and a generated-code residue pass (swallowed
errors, silent fallbacks, silencing casts, debug logs; a fix that changes
behavior comes back as a proposal) on code, then /docs-hygiene:write-for-agents
or write-for-humans and /ai-slop:audit fix on markdown, within an
optional turn budget. It stages and commits nothing. The issue lane runs it
on a small single-area change before its one push./code-tidying:audit-dead-code, a read-only, whole-repo hunt for code
nothing reaches any more, across four labeled analyzers of deliberately unequal
confidence (knip for TS/JS, vulture for Python, gopls for Go's unexported
symbols, and a portable grep analyzer for shell and PowerShell symbols, JS/TS7-day copy clicks
npx claudepluginhub melodic-software/claude-code-plugins --plugin code-tidyingBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground