go-module-renamer

Official

Automates Go module renaming with safe checks.

Authorfsyyft-go
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Go modules often carry long paths which must be updated when migrating to a new repository, leading to tedious manual edits and potential inconsistencies.

Core Features & Use Cases

  • Automatic detection of current module path and rename type (full vs partial).
  • Deterministic text replacement across go.mod, imports, proto go_package, and documentation to update module references.
  • Built-in validation and rollback support, plus a dry-run option to preview changes before applying.

Quick Start

在 dry-run 模式下执行以预览所有替换,然后再进行正式的重命名。

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: go-module-renamer
Download link: https://github.com/fsyyft-go/kratos-layout/archive/main.zip#go-module-renamer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.