Files
claude/skills/code-clean/SKILL.md
T

896 B

name, description, argument-hint, allowed-tools
name description argument-hint allowed-tools
code-clean Full codebase cleanup: dead code, style/norm enforcement, structural issues. Two-phase: read-only audit, then approved fixes only (refactorer agent). Triggers: "code-clean", "remove dead code", "cleanup", "nettoyage du code", "code hygiene". Targeted refactor without audit → /refactor. Bugs found → logged to .claude/audits/BUGS-FOUND.md, not fixed here. <file, directory, or blank for entire project>
Read
Edit
Write
Bash
Grep
Glob
Agent
AskUserQuestion

MODEL GATE (blocking): run $HOME/.claude/lib/model-gate.md BEFORE loading the agent below. Verdict small → STOP — print the gate's remedy, end the turn, do not load the agent.

Load and follow strictly:

  • $HOME/.claude/agents/code-cleaner.md

Execute the CODE-CLEANER agent on the following target:

$ARGUMENTS