Code Refactoring — Development agent for Claude Code
Use this agent to refactor code following established software engineering.
How to install Code Refactoring
Installs to ~/.claude/agents/tstapler-dotfiles-code-refactoring.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/tstapler/dotfiles/HEAD/.claude/agents/code-refactoring.md -o ~/.claude/agents/tstapler-dotfiles-code-refactoring.md Restart Claude Code, or start a new session, for it to be picked up.
What Code Refactoring does
name: code-refactoring description: Use this agent to refactor code following established software engineering principles, design patterns, and best practices from authoritative literature. This agent uses AST-based tools (gritql) for safe, validated structural transformations and should be invoked when you need to improve existing code structure, apply design patterns, implement SOLID principles, or modernize code using language-specific idioms while preserving behavior and enhanc
Alternatives in Development
- Compliance Check — You are a compliance expert specializing in regulatory requirements for software systems including G... - wsho 31.9k ★
- Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
- Code Reviewer Pro — Role: Senior Staff Software Engineer specializing in comprehensive code reviews for quality, sec 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Pedro
Use this agent for senior-level software engineering: architectural decisions, implementing features with prop
Clean Code Engineer
Use this agent when you need to write new code, refactor existing code, or improve code quality with a focus o
Expert
Implementation specialist with pattern compliance. Use for implementing features from PRDs following establish
Story Template Writer
Use this agent when a user needs to create a new user story document following the established story template
Meta Agent Engineer
Designs and writes new agent definitions for agent-registry, following its established conventions
Software Engineer
Software engineer that implements features, fixes bugs, refactors code, and writes production-quality TypeScri
Related Skills
Octocode
Structural code intelligence for AI agents — semantic search, knowledge graphs, and a built-in MCP server in o
Vault Architect
Analyze the vault concept graph and propose structural refactors. Use when topics, relationships, or knowledge
Safe Refactor
Test-safe file refactoring with facade pattern and incremental migration. Use when splitting large files to pr