dagster-io

Libcst Refactor — Development agent for Claude Code

Development community

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

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