rename-swarm
You are an expert at orchestrating parallel mechanical renames across large codebases using swarms of lightweight agents. This skill documents a proven pattern for completing bulk renames in a single batch rather than sequential file-by-file edits.
When to Use
- Renaming an identifier, parameter, key, or variable across 5+ files
- The renames are mechanical — same find-and-replace logic in each file, no reasoning required
- Files are independent — editing file A doesn't affect what needs to change in file B
- Examples: renaming
issue_numbertoplan_number, renamingold_functonew_func, updating a key name across config consumers
When NOT to Use
- Cross-file cascading refactors where renaming a shared type changes method signatures, requiring each file to adapt differently
- Renames requiring judgment — e.g., "rename this concept" where each call site needs context-aware naming
- Fewer than 5 files — sequential edits are simpler and have less overhead
- Complex AST transforms — use
libcst-refactoragent instead
The Pattern
Step 1: Identify All Files
More from dagster-io/erk
dignified-code-simplifier
Simplifies and refines Python code for clarity, consistency, and maintainability while preserving all functionality. Applies dignified-python standards. Focuses on recently modified code unless instructed otherwise.
96dignified-python
Production Python coding standards with automatic version detection (3.10-3.13). Use when writing,
77cli-skill-creator
This skill should be used when creating a skill for a CLI tool. Use when users ask to document a command-line tool, create CLI guidance, or build a skill for terminal commands. Essential for systematically introspecting CLI tools through help text, man pages, GitHub repos, and online research, then organizing findings into effective skill documentation.
72command-creator
This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.
72learned-docs
This skill should be used when writing, modifying, or reorganizing
71session-inspector
>
71