tstapler

Code Refactoring — Development agent for Claude Code

Development community

Use this agent to refactor code following established software engineering.

How to install Code Refactoring

Installs to ~/.claude/agents/tstapler-dotfiles-code-refactoring.md

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