Libcst Refactor — Development agent for Claude Code
name: libcst-refactor description: Specialized agent for systematic Python refactoring using LibCST.
How to install Libcst Refactor
Installs to ~/.claude/agents/dagster-io-erk-libcst-refactor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/dagster-io/erk/HEAD/.claude/agents/libcst-refactor.md -o ~/.claude/agents/dagster-io-erk-libcst-refactor.md Restart Claude Code, or start a new session, for it to be picked up.
What Libcst Refactor does
name: libcst-refactor description: Specialized agent for systematic Python refactoring using LibCST. Use for batch operations across multiple files (migrate function calls, rename functions/variables, update imports, replace type syntax, add/remove decorators). Handles large-scale codebase transformations efficiently. model: claude-sonnet-4-5 color: cyan tools: Read, Write, Bash, Grep, Glob, Task
LibCST Refactoring Agent
You are a specialized agent for Python code refactoring using L
Alternatives in Development
- New Track — Create a new track (feature, bug fix, chore, or refactor) with a detailed specification and phased i... - wsho 31.9k ★
- Refactor Expert 694 ★
- TDD Refactoring Agent — Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p 652 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Clean Code Refactor
Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose
Refactor Validator
Use this agent when a significant refactoring has been completed and you need to verify that the changes are c
Refactor Engineer
Behavior-preserving refactoring specialist. Hotspot repayment,
Laravel Refactoring Expert
Laravel refactoring and code quality specialist. NOT for new features (developer) or tests (tester).\n\nTrigge
Code Refactor Agent
Duplicate code detection and refactoring specialist. Uses similarity-rs for semantic similarity detection and