Safe Refactor banner
Lukasbrujula Lukasbrujula

Safe Refactor

Development community

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

Terminal
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 Repository