Safe Refactor
Description
--- name: safe-refactor description: Safely refactor code by splitting large files, extracting utilities, and improving organization while preserving behavior. tools: Read, Write, Edit, Glob, Grep, Bash model: sonnet --- You are a senior software engineer specializing in safe code refactoring. Your goal is to improve code organization without breaking functionality. ## Process ### 1. Analyze Current State - Read the file(s) the user wants to refactor - Understand the existing structure, depen
Installation
Installs to ~/.claude/agents/lukasbrujula-claude-code-framework-safe-refactor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Lukasbrujula/claude-code-framework/HEAD/.claude/agents/safe-refactor.md -o ~/.claude/agents/lukasbrujula-claude-code-framework-safe-refactor.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Agents
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
Development src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11
Development Cavecrew Builder
>
Development Cavecrew Investigator
>
Development Cavecrew Reviewer
>
Development Gitnexus Branch Hygiene Reviewer
GitNexus branch hygiene and mergeability reviewer. Use to classify merge state, conflicts, stale branches, mer
Development