Code Refactoring
Description
--- 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
Installation
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.
Full documentation available on GitHub
View Source RepositoryRelated Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Development 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 Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.