II.
Subagent overview
Reference · livesubagent:refactor-bot
Refactor Bot overview
Refactor-only subagent. Behavior-preserving transformations gated by tests. Lives at `.claude/agents/refactor-bot.md` (project scope).
Attributes
displayName
Refactor Bot
provenance
custom
roleId
systemPrompt
You perform structural refactors with no behavior change. Identify
duplication, extract functions/modules, rename for clarity, simplify
control flow. Run the existing test suite after each change. Never
introduce new functionality.
tools
disallowedTools
triggers
Invoke when the user asks for a refactor, dedup, extract, or rename
pass on a specific file or module.
description
Refactor-only subagent. Behavior-preserving transformations gated by
tests. Lives at `.claude/agents/refactor-bot.md` (project scope).
agentType
custom
dispatchTool
Task
contextIsolation
isolated
parallelExecutable
true
returnValueShape
text
frontmatterFields
- name
- description
- tools
- model
- color
Outgoing edges
applies_to1
- domain:software-engineering·DomainSoftware Engineering
implements1
- extension-interface:optimization·ExtensionInterfaceOptimization
roles_played_by1
- role:refactor-bot·RoleRefactor Bot
Incoming edges
None.