Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Code Cleanup

Scans a repo for nine kinds of technical debt and produces a prioritized, effort-estimated cleanup report with optional safe auto-fixes.

Dev & CodingIntermediate★ 419⑂ 44AI score 9/10Last updated: Sep 9, 2026

What it does

  • Scans for nine technical-debt categories: stale TODO/FIXME/HACK comments, unused imports, dead code, missing type hints, deprecated functions, naming inconsistencies, high complexity, duplicate code, and missing docstrings.
  • Uses git blame to age every TODO, so 90+ day items surface above yesterday's notes.
  • Buckets findings into Quick Wins / Important / Polish, with per-item and per-tier time estimates.
  • Emits a Markdown report with exact file:line references, three lines of context, and ready-to-run fix commands.
  • Defaults to read-only; only with explicit approval does it run safe fixes (ruff check --fix, goimports -w, gofmt), validate with the test suite, and roll back via git checkout . on failure.

Who it's for

  • Python and Go developers who want a repeatable technical-debt audit.
  • Tech leads sizing a refactor sprint who need concrete hour estimates.
  • Anyone inheriting a legacy repo and needing a fast quality snapshot.

Examples

  1. Focused cleanup — "Clean up the API handlers in src/api/" → scoped scan reporting 5 auto-fixable unused imports and 2 TODOs older than 90 days.
  2. Broad debt scan — "What's the state of technical debt here?" → 47 findings grouped into 12 Quick Wins (2h), 8 Important (6h), 27 Polish (4h).
  3. Auto-fix run — "Remove all unused imports and sort them" → checks ruff availability, scans F401/I001 only, reports 23 hits across 8 files, applies fixes after confirmation, runs tests, shows the diff.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/notque/vexjoy-agent/HEAD/skills/code-quality/code-cleanup/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/code-quality/code-cleanup folder from the GitHub repo notque/vexjoy-agent into my ~/.claude/skills/code-cleanup/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/notque/vexjoy-agent.git /tmp/vexjoy-agent && mkdir -p ~/.claude/skills && cp -r /tmp/vexjoy-agent/skills/code-quality/code-cleanup ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/notque/vexjoy-agent.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r vexjoy-agent/skills/code-quality/code-cleanup ~/.claude/skills/
  5. (Recommended) Install the analyzers: pip install ruff vulture radon; for Go, go install github.com/fzipp/gocyclo/cmd/gocyclo@latest and go install golang.org/x/tools/cmd/goimports@latest
  6. Restart Claude Code and ask something like "clean up the code in src/" to trigger the skill.
  7. Commit or branch your work before approving any auto-fix phase so changes are easy to revert.