/code-tidying:tidy [<area>|<glob>...|dry-run|self-update|help] [override] [in-place[=commit]] [--repo <repo> ...]from code-tidying
Proactively hunts one rotated focus area for safe structural tidyings and ships a single structure-only PR. Use when saying 'tidy up', 'boy scout', or 'small refactors'.
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.
Read when SKILL.md points to them; scripts run unread.
Run each command below as its own Bash call, all sent together in one message (worktree isolation).
Keep any bound in the command's own pipe (output limits).
Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).
git branch --show-currentgit log --oneline -5git status --porcelain | head -20Open chore/tidy-* PRs: !${CLAUDE_SKILL_DIR}/scripts/open-pr-count.sh 2>/dev/null | grep -E '^(Open tidy|Throttle)' || echo unknown
Comment settings (team then personal layer, one line per key): !${CLAUDE_SKILL_DIR}/scripts/comment-settings.sh 2>/dev/null | grep -E '^comment_(posture|keep_list)' || echo "(settings unavailable)"
Arguments: $ARGUMENTS
HARD path exclusions: ${user_config.hard_exclusions} (unexpanded, empty, or any value outside enforce and advisory means enforce).
Comment posture: comment_posture resolves through four layers, lowest first, a later one winning:
the default auto, userConfig (${user_config.comment_posture}), the team file
<home>/comment-policy.yaml over the org baseline <home>/comment-policy.org.yaml (tighten-only)
and the personal override <home>/comment-policy.local.yaml (<home> the
repository's bound convention home, else docs/conventions), the files from the settings line
above (${CLAUDE_SKILL_DIR}/scripts/comment-settings.sh). auto means necessary; strict, balanced and conservative read as explanatory, aggressive as
necessary. An unexpanded or empty userConfig value is unset, and any other value outside auto,
none, necessary, explanatory is named with its layer and dropped. The posture decides what
tidyings Beck 14 and P-5 may add (reference/tidyings.md).
Tidy is the proactive Boy Scout loop: what small structural improvements can one slice of the codebase safely take today, shipped as one tight PR that never mixes structural and behavioral change? It applies Kent Beck's Tidy First? tidyings, separated from behavioral changes by commit and by PR ("Always one or the other, never both at the same time."), under the Boy Scout Rule, and keeps to structure-only work because autonomous agents introduce defects measurably more often in unhealthy code (Tornhill / CodeScene). Its value is rotated focus area discipline, a scope budget, structure-only commits, and research before editing.
Not: /simplify, which tightens the conversation's recent diff, while tidy hunts a focus area independent of recent activity; batch-simplify, which sweeps a time window, a branch, or the repository in waves (on docs it owns factual staleness across the whole doc set in one pass, while tidy's docs-prose focus area owns incremental structural prose work under a scope budget); issue-tracker work, since tidy never starts from a filed item and files its overflow as deferred items; a docs fact-checker, since tidy improves structure, not factual accuracy.
Parse $ARGUMENTS to determine the action. The argument hint shows dry-run without its
[<area>|<glob>...] to stay within its length budget; the table below lists every form.
| Argument | Action | Use case |
|---|---|---|
| (empty) | Smart default | Infer the most appropriate focus area from current branch / recent commits / git status. If the inference is ambiguous, pause and ask the user. Otherwise proceed as if <area> was passed. |
<area> (from the catalog below) | Targeted focus area run | Load the focus area file, run the full Workflow on that focus area's scope. |
<glob>... | Ad hoc scope | No focus area covers the files. Run the full Workflow on those globs per Ad hoc scope when no focus area fits below. Combines with dry-run. |
dry-run [<area>] | Plan + present, no edits | Run Phases A-D (triage, explore, research, hunt). Present the prioritized findings table and the proposed PR scope. No edits, no branch, no push, no tracker items. The user reviews and decides whether to proceed. |
self-update | Maintainer focus area | Shorthand for <area>=self-update. Operates on this plugin's own files. Valid only in a working-tree checkout of the plugin (marketplace clone or --plugin-dir), never an installed copy. Manual-merge always. |
help | Print this Action Router + focus area catalog | Diagnostic / orientation. |
override (flag, combines with any row above) | Lift the GLOBAL HARD path list for this run, behind an enumeration gate | The user wants this focus area's tidyings to reach a path the HARD list would otherwise drop (agent config, a CI workflow, lint config). Strip the token before reading the rest of $ARGUMENTS; match it whole, never as a substring, and treat ./override as a path. Because a focus area is a glob set rather than a named file, Phase D enumerates the specific HARD paths it intends to touch and takes a go-ahead on that list before Phase E edits any of them; non-interactive, the run reports the list and proceeds without those edits (reference/exclusions.md section 4). dry-run override produces the enumeration alone. Path entries only: the behavioral guards, the work-tracking entries, SELF-UPDATE EXTRA HARD, and the override machinery itself hold regardless. Every lifted path is named in Phase H's report with the channel that lifted it. |
in-place or in-place=commit (flag, combines with the smart default, <area>, and override) | Run on the current branch, no branch, no PR | A caller already holds the branch and PR (a repo-sweep playbook, a feature branch). Strip the token before reading the rest of $ARGUMENTS, matched whole like override. Phase B stays on the current branch and refuses the default branch; Phase E stages tidyings without committing; Phase H opens no PR and posts no comment, and prints its report to the user instead. in-place leaves the changes staged; in-place=commit makes one commit of them. The backlog throttle does not apply; every other gate (exclusions, scope budget, verification, self-review) still runs, measured on the staged diff. |
--repo <repo> (and the other target forms; combines with any row above but in-place and help) | The run once per repository | Strip the target-form tokens before reading the rest of $ARGUMENTS, then run per Over several repositories below. |
With no target form, the run covers this checkout. A target form (--repo,
--repos-from, --owner, --fleet, --skip, or the same request in words) selects several
repositories, which resolve, count, fan out and merge as
${CLAUDE_PLUGIN_ROOT}/reference/target-scope.md "Target
forms", "Resolving repositories", "Fan-out" and "Merging findings" say. Each repository runs the
whole Workflow, Phases A to H, with its root anchored. What differs here:
.claude/tidy-areas/ over the bundled focus area. A named focus area neither layer defines there is reported
skipped. With no focus area, the smart default infers it from that repository's recent commits at
origin/HEAD; where the inference is ambiguous, ask once with every such repository listed, or,
non-interactive, report that repository skipped. self-update runs only in a repository that is
this plugin's working-tree checkout; every other is reported skipped.chore/tidy-<area>- PR in that repository, and the backlog throttle counts that repository's
open chore/tidy-* PRs, so one repository's backlog never stops another's run. The pre-computed
lines describe this checkout only: the per-repository subagent runs open-pr-count.sh and
comment-settings.sh with that repository's root as its working directory, and reads that
repository's .claude/code-tidying/exclusion-overrides.md.in-place names the session's current branch, so it does not combine with a target
form.dry-run merges the findings tables, each row carrying its repository; a run
that ships lists each repository's PR, or the reason it opened none.A focus area is a glob-scoped slice of the repo, defined in a focus area file that specifies scope globs, watch-for tidyings, area-specific exclusions, verification commands, default Conventional Commits type, and preferred research sources.
Focus area resolution. A focus area named <area> has up to two layers:
${CLAUDE_PROJECT_DIR}/.claude/tidy-areas/<area>.md, the consuming project's own focus area definition, if present${CLAUDE_PLUGIN_ROOT}/skills/tidy/areas/<area>.md, the bundled generic focus areaWith no project layer, the bundled focus area resolves alone. With one, the project layer's own ## Merge semantics section governs (per the config-cascade contract):
Scope and most sections override per section, watch-for patterns additive). A section absent from the project layer keeps the bundled value. The bundled docs-prose and shell-tooling focus areas each publish a recommended declaration a project layer adopts by reference or restates; the project layer's declaration governs.Bundled focus areas cover surfaces that look the same in most repos; templates scaffold the ones that do not. To define a project focus area, copy the closest template from ${CLAUDE_PLUGIN_ROOT}/skills/tidy/templates/ into .claude/tidy-areas/<area>.md and fill in the scope globs and watch-for patterns. The catalog is the union of both locations: list .claude/tidy-areas/*.md (if the directory exists) plus the bundled focus areas when printing help.
Declared deviation: no user-global layer or *.local.* personal override. Unlike the config-cascade contract, this surface resolves only the team layer (.claude/tidy-areas/<area>.md) over the bundled focus area, because focus area globs, verification commands, and watch-for patterns are anchored to this repo's layout, CI, and stack, and the bundled focus area is already the portable baseline. Personal variation is limited to focus area names the team does not track: keep an uncommitted .claude/tidy-areas/<area>.md (never added to the index), not a *.local.* sibling, so rotation and catalog discovery stay on one filename per focus area. Gitignoring a path the team already tracks does not make it personal; setup documents that escape hatch and its limits. Merge granularity within the team+bundled pair is unchanged.
Bundled focus areas:
| Focus area | File | Covers |
|---|---|---|
shell-tooling | areas/shell-tooling.md | Shell/PowerShell scripts under the project's tooling directories |
docs-prose | areas/docs-prose.md | Markdown prose: skill bodies, docs |
self-update | areas/self-update.md | This plugin's own files (maintainer checkout only) |
Bundled templates (copy + adapt into .claude/tidy-areas/):
| Universal pattern | Template |
|---|---|
| Framework/library core that downstream code depends on | templates/dependency-root-area.template.md |
| Hosting infrastructure, logging, registration, service defaults | templates/host-wiring-area.template.md |
| User-facing applications + their tests | templates/apps-area.template.md |
| Non-primary-language services / MCP servers / sidecars | templates/polyglot-services-area.template.md |
Read the resolved focus area file in full at Phase A entry; do not infer scope from this table.
When no bundled or project focus area covers the target files, pass globs in place of a focus area name: dry-run <glob>... to plan, <glob>... to run. An argument that names no catalog focus area and contains / or a glob character is ad hoc scope. The run then:
templates/polyglot-services-area.template.md for source code, the docs-prose focus area for markdown), filling each template <placeholder> from the scoped files or dropping just that placeholder's clause when nothing in scope fills it;chore/tidy-adhoc-<slug>-YYYY-MM-DD, where <slug> is the first glob's literal directory prefix in kebab case (github-scripts for .github/scripts/*.mjs), or root when the glob has no directory;.claude/tidy-areas/ file, so Phase H's body facts name the globs in place of the focus area and none (ad hoc) in place of the anchor commit.Run in order. Each phase has one job, and every phase runs whatever the tidying's size.
$ARGUMENTS per the Action Router.## Merge semantics. The resolved focus area owns scope globs, watch-for list, area-specific exclusions, verification commands, Conventional Commits type, and preferred research sources.reference/exclusions.md section 4 (the override argument, .claude/code-tidying/exclusion-overrides.md, then hard_exclusions) and write down the lifted set with the channel that lifted each entry. Empty is the normal answer.in-place): if the pre-computed context above reports Throttle active: yes (open chore/tidy-* PRs at the upkeep_max_open limit, reference/config.md), stop, surface a one-line note, and exit cleanly. It is a stop signal, not a warning: reviews are backed up, so do not queue one more.chore/tidy-<area>- PR for this focus area (or git log --grep if none merged yet), the "what has drifted since the last sweep" baseline.Create chore/tidy-<area>-YYYY-MM-DD from origin/<default-branch> the way the consuming project's instructions say. When they keep feature work in worktrees, use that route instead of switching the current checkout, for example /source-control:worktree create (if enabled); otherwise run git checkout --no-track -b chore/tidy-<area>-YYYY-MM-DD origin/<default-branch>. --no-track leaves the branch without an upstream until its first git push -u, so it never tracks the default branch. The date suffix disambiguates daily reruns. Never commit tidyings directly on the default branch; a feature-prefixed branch keeps the structure-only PR reviewable and revertable.
in-place: create no branch; stay on the current one. If it is the default branch, or the index already holds staged changes, stop and tell the user: the staged set this run hands back (or commits under in-place=commit) must be the tidyings alone.
Understand before changing; this holds even for a one-line tidying, since rework from skipped research costs more than the research.
discovery plugin is enabled, invoke /discovery:explore (if enabled) via the Skill tool on the focus area scope; otherwise read 5-10 representative files in the focus area to understand current patterns, conventions, and existing tidyings.discovery plugin is enabled, invoke /discovery:research (if enabled) via the Skill tool using the focus area file's preferred-source list; otherwise do a focused inline research pass (official docs + the focus area's preferred sources) before editing.reference/tidyings.md for the full taxonomy (Beck 15 + Fowler 5 + prose tidyings P-1..P-6 = 26 entries).Basis:, verified with the file:line, tool output, or Phase C source URL it rests on, or judgment (never for a consequential change: cross-repo, shared infrastructure, irreversible, or security; one that cannot be verified is withheld and routed to the overflow list as an open question naming the evidence that would settle it). Contract: ${CLAUDE_PLUGIN_ROOT}/context/recommendation-basis.md; full convention: recommendation-basis.${CLAUDE_PLUGIN_ROOT}/reference/pr-scope-budget.md, with tidy's priority order and greedy selection in reference/scope-budget.md (spokes write the plugin directory as <plugin-root>, which is ${CLAUDE_PLUGIN_ROOT}). Take the highest-priority subset that fits.override argument. List those specific HARD paths the surviving candidates would touch, each with its tidying, and take a go-ahead on that list before Phase E. Interactive: the user answers. Non-interactive: report the list and continue with those argument-lifted candidates dropped, since a blanket token is not a decision about paths nobody has seen yet. Paths lifted by hard_exclusions=advisory or by .claude/code-tidying/exclusion-overrides.md skip this gate: those channels already are a standing decision, and a non-interactive run must honor them. A dry-run presents the argument-lifted enumeration and stops there. An argument-lifted path that no candidate touches never reaches this gate.reference/scope-budget.md: invoke /work-items:track add (if enabled) via the Skill tool, else read the house style (${CLAUDE_PLUGIN_ROOT}/reference/issue-house-style.md), apply it, and run gh issue create (or present the list to the user when no tracker is reachable). In dry-run mode, present the overflow list instead. Dry-run never files tracker items or causes any other external side effect.Zero applicable improvements: clean exit with a one-line note and no PR. Do not produce empty-PR churn.
sed -i: a tidying must be structure-only, and an Edit replaces one exact string in a file you have read, where a sed pattern can rewrite a match you never looked at.git add <path> only, never -A or .: WIP from a parallel session can sneak in, even on a tidy branch.git diff <path> before staging. After staging, use git diff --cached <path> to confirm only the tidying went in.refactor: for code focus areas, docs: for prose focus areas, chore: for tooling).in-place: stage each tidying per steps 3-4 but do not commit; Phase H handles it.Tidying is behavior-preserving, so verification confirms exactly that: run the project's build + tests + linters for the affected ecosystem (the focus area file's verification commands; the consuming project's own CLAUDE.md / rules may name canonical commands). Red branch → fix or abort cleanly. Never push red. A tidying that broke a test or build was secretly behavioral: back it out; it belongs in a different PR with proper test coverage.
git diff origin/<default-branch>...HEAD; under in-place, git diff --cached) hunting for accidental behavior change, scope creep, and convention violations. Drive real findings to zero before push./simplify (see "Mutation gate" below). Rebuild and re-verify after these edits. Under in-place, stage what changed and re-review git diff --cached so Phase H ships it.Self-review by the producing context is enough here: a fresh-context verifier is the rule where a verdict is subjective, and Phase F is an objective build/test/lint pass/fail. A change that turns out behavioral fails Phase F and is backed out, never verdict-reviewed into acceptance.
in-place: open no PR and post no comment. in-place leaves the tidyings staged; in-place=commit makes one commit of them, titled per the format below (via /source-control:commit (if enabled)). Print to the user the title, the body content /source-control:pull-request create (if enabled) would write, and the audit-trail sections below that would have gone to the PR, then stop.
Otherwise, never call git commit or gh pr create directly. Phase E already committed the tidyings, so what is left is PR creation, and that has a canonical gate (issue-linkage resolution, injection-safe body assembly, a pre-create check for a valid closing keyword or explicit opt-out) that a bare gh pr create skips.
If the source-control plugin is enabled, invoke /source-control:pull-request create (if enabled) via the Skill tool. Its stage-and-commit step is a no-op here (the tree is clean from Phase E), so it goes straight to rebase-check, issue-linkage resolution, and gated PR creation. Supply it this PR's title and the facts the body needs (focus area, tidyings, anchor commit, verification commands run and their results); it writes the body from the repo's configured sections. Tidy's own audit trail goes in a follow-up comment (below), not the PR body:
Title:
<area-default-type>(<area-scope>): <what was tidied>
Examples:
refactor(core): rename result helpers for reading orderdocs(skills): repair stale cross-referencesBody facts to supply:
# (Beck 8, Explaining Variables), so the number is not autolinked as an issue or PR reference./source-control:pull-request create (if enabled) reports the created <pr_number>. Immediately post one follow-up comment on that PR with tidy's audit trail:
gh pr comment <pr_number> --body-file - <<'EOF'
## Tidyings applied
<table: tidying type, no bare `#` → file → line range → LOC delta>
## Deferred items
<links to filed issue numbers, if the scope budget capped the run>
## Lifted HARD exclusions
<table: path → channel that lifted it (override argument | overrides file | hard_exclusions=advisory)>
EOF
The comment is never optional when a PR was created, and "Tidyings applied" is never empty then (no PR is created when there is nothing to tidy). Omit "Deferred items" when nothing was deferred and "Lifted HARD exclusions" when nothing was lifted; never post either as an empty table. A run that lifted a path and cannot post that table has not met the override contract; back the lifted edits out rather than shipping them unnamed.
If source-control is not enabled, apply the same invariants inline: resolve issue-linkage before writing a closing keyword (Closes #N only after confirming issue #N exists in this repo, e.g. gh issue view N; otherwise state No related issue: <reason>), assemble the body via a quoted heredoc (<<'EOF') plus parameter-expansion concat rather than an unquoted <<EOF (which would execute any $(...) embedded in prompt-derived text), and refuse to call gh pr create until the assembled body contains a valid closing keyword or the opt-out marker. In this fallback path only, the Tidyings-applied / Deferred-items / Lifted-HARD-exclusions sections stay in the PR body itself.
Then wait for checks to go green with /source-control:pull-request monitor (if enabled); otherwise poll gh pr checks <n> in the background (the Bash tool's run_in_background, or the Monitor tool) every 90 s or longer, never with --watch. Address review-bot findings: verify each against the current code, fix the correct ones, rebut the incorrect ones with evidence. This skill never merges: the repository's merge lane, where it has one, or a person does.
Three exclusion tiers gate every focus area. The full lists live in reference/exclusions.md; read it at the start of every run. This summary is orientation only.
.claude/** in full, any script wired as a hook command in .claude/settings.json or .claude/settings.local.json wherever it lives, .github/workflows/**, git-hook manager config, .mcp.json, lint configs like .editorconfig) plus every path the consuming project's own rules declare protected.<area>=self-update. Protects the skill's contract surface: frontmatter, the Action Router / Workflow / Focus area catalog sections, focus area file ## Scope / ## Watch-for patterns / ## Area-specific extra exclusions blocks, and ${CLAUDE_PLUGIN_ROOT}/reference/pr-scope-budget.md, a generated copy of the shared convention whose numbers change only there. It is the only thing between an autonomous self-update run and this skill's own contract surface.Behavioral exclusions apply whatever path an edit targets: DB migrations against real instances (safe only against an ephemeral test DB), breaking API changes, HTTP route signature changes, MCP tool schema changes, branch-protection or security-workflow rule changes, and work-tracking exclusions (items another agent claimed, items with an open linked PR, items labeled blocked/deferred). A candidate that would alter any of these is behavioral: file an issue instead.
Overriding the HARD path list. Every tier-1 path entry is overridable through three channels: the override argument (this run), the hard_exclusions userConfig option (this operator), and a tracked .claude/code-tidying/exclusion-overrides.md of root-relative globs (this repository). Precedence per path: argument, then repository file, then userConfig, then enforced. Full contract, file shape, and collision rules: reference/exclusions.md section 4. Nothing outside the tier-1 path entries is reachable: the behavioral guards, the work-tracking entries, tier 2 SOFT, and tier 3 EXTRA HARD hold at every setting. Lifting is not silent: a run that lifted anything names every lifted path and its channel in the Phase H report; a run that cannot produce that line enforces instead.
Enforcement across phases: Phase A seeds path-validation from the HARD list and resolves the three override channels into a lifted set. Phase D classifies candidates against HARD (drop unless lifted) and SOFT (defer). Phase E validates every Edit / Write target path against the HARD list minus the lifted set. The self-update focus area additionally applies the EXTRA HARD list during Phases D and E, and the override channels do not reach it.
Full template: reference/scope-budget.md. Every item the scope budget cuts becomes one filed work item, titled per the house style, whose body carries rationale, file list, scope estimate (LOC + files), and a link to the parent tidy PR (under in-place, the branch name). Phase H's "Deferred items" follow-up comment (or, without source-control, the PR body's own section; under in-place, the printed report) links every filed item by number.
simplify skillsimplify cleans up code and applies its fixes; for what it reviews and the targets it takes, read the /simplify row in All commands. This skill hunts unfiled structural drift across a rotated, glob-scoped focus area regardless of recent activity, under a scope budget, and ships one structure-only PR. When simplify resolves, prefer it for refining a diff that exists (what you just wrote, a path, a PR); prefer this skill when nothing has changed yet and the question is what small structural improvement one slice can take today. batch-simplify owns the same cleanup at sweep scale.
Mutation gate. simplify edits the working tree. This skill makes its own scope-budgeted edits and commits them as tidyings, so never chain into a simplify run on this skill's behalf; the two anchors differ and their diffs would mix.
Bundled surfaces are gated by settings, environment, plan, and host; this section states what to do when one resolves, never that it is present. The four-part records live in reference/bundled-simplify.md.
/source-control:babysit-prs
It carries the opened tidy PR through CI and review findings; the merge is the repository's merge lane's or a person's.
areas/docs-prose.md (opens in a new tab)areas/self-update.md (opens in a new tab)areas/shell-tooling.md (opens in a new tab)evals/evals.json (opens in a new tab)reference/bundled-simplify.md (opens in a new tab)reference/exclusions.md (opens in a new tab)reference/scope-budget.md (opens in a new tab)reference/tidyings.md (opens in a new tab)scripts/comment-settings.sh (opens in a new tab)scripts/open-pr-count.sh (opens in a new tab)scripts/open-pr-count.test.sh (opens in a new tab)scripts/upkeep-setting.sh (opens in a new tab)templates/apps-area.template.md (opens in a new tab)templates/dependency-root-area.template.md (opens in a new tab)templates/host-wiring-area.template.md (opens in a new tab)templates/polyglot-services-area.template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
bashThree short reads, in order
7 skills in this plugin
/audit-comment-residueAudit comment residueRead-only classifier: flags residue in code comments (history narration, plan or session references, conversational asides, ticket/PR back-references, origin notes, workarounds with no link or removal condition). No edits. Use when: 'audit code comments' or report chat/ticket comments on commit/review. Not for edits: /code-tidying:remove-comments./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./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.npx claudepluginhub melodic-software/claude-code-plugins --plugin code-tidyingOther plugins' skills for the same job