Claude Skill

jlevy/repren

功能强大的 Python 命令行工具,使用正则表达式模式进行批量重命名和重构。现已集成 Claude Skill,可实现智能代码转换和自动化搜索替换操作。

概览

Stars372
Forks39
语言Python
最后更新2026-06-10
最近同步2026-06-13
前往 GitHub

仓库信息

拥有者jlevy
仓库repren
完整名称jlevy/repren
Repo ID21,711,622

安装这个 Skill

uv tool install repren

Registry 信息

类型mcp_server
质量分80/100
验证状态readme_parsed
最近验证2026-06-13
平台
ClaudeMCPCodex
能力
pdfmemorysearchimageterminalworkflowcommand-linepythonrefactoringregular-expression
识别文件
README.mddocspyproject.tomltests
安装方式
  • uv tool install repren
  • uvx repren@latest --help
  • uvx repren@3.1.0 --help
  • uvx repren@latest --install-skill --project
  • uvx repren@latest --install-skill --global

项目简介

Repren 是一个强大的命令行工具,可使用正则表达式批量重命名和重构文件及内容,现已支持 Claude Skill,可实现智能代码转换。

英文描述

Power rename/refactor tool (now with agent skill support!)

要点

  • 使用正则表达式模式批量重命名文件和内容
  • 支持自动化和脚本编写的命令行界面
  • 支持复杂的搜索替换操作
  • 集成 Claude Skill 实现 AI 辅助重构
  • 使用 Python 编写,具有跨平台兼容性

使用场景

  • 使用一致的命名约定重构代码库
  • 批量重命名多个文件和目录
  • 更新配置文件和文档
  • 通过系统化文本替换迁移项目
  • 自动化重复的文本转换任务

README 摘要

# repren ![But call me repren for short](https://github.com/jlevy/repren/blob/master/images/awkward-150.jpg) * * * > [!TIP] > **Coding agents:** tell your agent to run `uvx repren@latest --help` and follow the > instructions to install repren as a skill. Once installed, it uses repren automatically > for bulk refactors and renames. See [Agent Use](#agent-use). > [!NOTE] > **Zero runtime dependencies.** repren is a single file that imports only the Python > standard library, so there is no transitive dependency tree to audit or be compromised: > the only code `uvx repren@latest` runs is repren itself. * * * ## Rename Anything `repren` is a powerful CLI string replacement and file renaming tool for use by agents or humans for almost any search-and-replace or renaming task. It is small, self-contained, self-documenting, and works on Python 3.10-3.14 with **zero runtime dependencies**. Essentially, it is a general-purpose, brute-force text file refactoring tool. **Coding agents:** point your agent at repren and it installs itself as a skill: > **Run `uvx repren@latest --help` and follow the instructions to install repren as a skill.** repren’s `--help` ends with the exact install commands. Once installed, the agent uses repren automatically for bulk refactors and renames. (See [Agent Use](#agent-use).) **Zero runtime dependencies.** Installing repren (or running `uvx repren@latest`) pulls in nothing but repren itself and the Python standard library, so there is no transitive dependency tree to audit or be compromised. It is a single file you can read end to end before trusting it. The dev-only tooling used to build and test repren (pytest, ruff, and so on) is never installed when you use it. For example, repren could rename occurrences of certain names in a set

话题

探索更多

数据来自 GitHub,同步时间:2026-06-13