What problem does it solve?
Repren solves the need for scalable codebase refactoring by enabling simultaneous multi-pattern search-and-replace, file and directory renaming, and case-preserving transformations across large codebases.
Core Features & Use Cases
- Perform multiple simultaneous pattern replacements across many files to refactor identifiers, API names, or constants.
- Rename files and directories based on content patterns while preserving directory structure and minimizing conflicts.
- Case-preserving transformations to handle camelCase, PascalCase, snake_case, and UPPER_CASE updates consistently across the project.
Quick Start
Use the repren skill to perform a safe dry-run across your project before applying changes, for example:
uvx repren@latest --patterns=patterns.txt --full src/