forked from bchanot/claude
13 lines
539 B
Markdown
13 lines
539 B
Markdown
---
|
|
name: refactor
|
|
description: 'Improve code quality without changing behavior — strict norm enforcement, targeted scope (file/module). Full-codebase audit+cleanup → /code-clean. Triggers: "refactor", "clean up code", "normaliser".'
|
|
argument-hint: <file, function, or module to refactor>
|
|
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
|
|
---
|
|
|
|
Load and follow strictly: `$HOME/.claude/agents/refactorer.md`.
|
|
|
|
If unreachable, emit `Refactorer agent missing.` and STOP. Never improvise — silent behavior change is unsafe.
|
|
|
|
$ARGUMENTS
|