Help us improve
Share bugs, ideas, or general feedback.
From tidyup
Use when you have identified cleanup candidates and are ready to safely remove dead code, consolidate duplicates, and archive stale files
npx claudepluginhub jugrajsingh/skillgarden --plugin tidyupHow this skill is triggered — by the user, by Claude, or both
Slash command
/tidyup:cleaning-upThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute codebase cleanup with mandatory safety gates. Zero information loss — archive, never delete.
Creates p5.js generative art with seeded randomness, noise fields, and interactive parameter exploration. Use for algorithmic art, flow fields, or particle systems.
Share bugs, ideas, or general feedback.
Execute codebase cleanup with mandatory safety gates. Zero information loss — archive, never delete.
$ARGUMENTS = scope or path to previous assessment output.
If empty, ask via AskUserQuestion:
If no assessment exists:
tidyup:assessing skill to generate oneIf assessment provided:
Group candidates by action type:
| Action | Applies To |
|---|---|
| Remove | Dead code (unused imports, unreferenced functions, commented-out code) |
| Consolidate | Duplicate code blocks |
| Archive | Stale documentation, obsolete files |
Present each candidate via AskUserQuestion with multiSelect: true.
Format each option as: [severity] action: file:line — description
Example options:
[major] Remove: src/utils.py:45 — unreferenced function parse_legacy()[minor] Remove: src/api.py:3 — unused import os[major] Consolidate: src/a.py:20 + src/b.py:30 — duplicate validation logic[minor] Archive: docs/old-api.md — not modified in 80 commitsCRITICAL: Never auto-execute cleanup. Always get explicit user approval for every item.
Remove unused imports, unreferenced functions/classes, and commented-out code. Verify with grep after each removal — revert if references found.
Identify canonical location (prefer more complete, closer to shared/utils, or older). Extract to shared utility, update all call sites.
CRITICAL: Never delete files. Always archive to .archive/ with mirrored directory structure. Update .archive/MANIFEST.md.
Full step-by-step procedures for phases 3-5: references/cleanup-phases.md
Run detected test suite, revert any change that causes failures, and generate cleanup report.
Full verification procedure, test runner detection, and report template: references/verification.md